fix: start next track at beginning (or A point) instead of resuming, and store A-B per playlist
When auto-advancing through a queue or playlist — or stepping with next/prev — the next video previously jumped to its saved resume timestamp. A freshly selected track now starts at the beginning, or at the A marker when an A-B loop is set for it. Resuming still applies when you reopen a single video directly. A-B markers set while playing from a playlist are now stored on that playlist's own copy of the video (entry.ab), so each playlist keeps its own loop and the markers sync to the database alongside the playlist. Non-playlist playback keeps using the global per-video marker map. Bumps service worker to v1.0.3 to bust the client cache.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
* 5. SW calls skipWaiting() → takes over → client reloads.
|
||||
* ========================================================================== */
|
||||
|
||||
const VERSION = 'v1.0.2'; // ← bump this on every deploy to bust the cache
|
||||
const VERSION = 'v1.0.3'; // ← bump this on every deploy to bust the cache
|
||||
const CACHE = 'ytplayer-' + VERSION;
|
||||
|
||||
// Files that form the installable app shell.
|
||||
|
||||
Reference in New Issue
Block a user