Add a library page: seasons, race weekends and sessions as Plex shows them
The operator wants to browse the posters the way a Plex or Emby Formula 1 library shows them. The page reads the whole library from the one Kometa file (rounds, race names in the race posters' addresses, sessions in the episodes'), waits through a fresh server's minutes-long first answer instead of failing, and loads each picture only when it is on screen, two at a time, dropping the queue when the reader leaves a level: every poster is a render of about 10 s that pulls map tiles. Each level has its own address and back/forward work; a picture the server has none for is a plain card with its name. The session order per weekend format moves into site.js, so the posters page and the library read the same list. Claude-Session: https://claude.ai/code/session_01NcbgfJAa38xFpzy69BWrqh
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
<a href="grand-prix.html">Grand prix lookup</a>
|
||||
<a href="posters.html">Posters</a>
|
||||
<a href="kometa.html">Kometa</a>
|
||||
<a href="library.html">Library</a>
|
||||
</nav>
|
||||
<div id="api-base"></div>
|
||||
</header>
|
||||
@@ -88,6 +89,16 @@
|
||||
<li><code>/kometa/formula-1-metadata.yml</code></li>
|
||||
</ul>
|
||||
</a>
|
||||
<a class="page" href="library.html">
|
||||
<h3>Library</h3>
|
||||
<p>Browse a Formula 1 library as Plex or Emby shows it: seasons, race weekends and sessions, from the Kometa file and the posters.</p>
|
||||
<ul>
|
||||
<li><code>/kometa/formula-1-metadata.yml</code></li>
|
||||
<li><code>/posters/season/{season}.png</code></li>
|
||||
<li><code>/posters/race/{race name}/{season}.png</code></li>
|
||||
<li><code>/posters/session/{race name}/{season}/{session}.png</code></li>
|
||||
</ul>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<h2>Choosing which API a page calls</h2>
|
||||
|
||||
Reference in New Issue
Block a user