mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-09-12 17:16:20 -07:00
feat(anime): append queued episodes to mpv playlist
- Resolve queued streams immediately and cache subtitles in the background - Attach prepared tracks as mpv advances through the playlist
This commit is contained in:
@@ -79,10 +79,7 @@ export function registerAnimeBrowserIpcHandlers(deps: AnimeBrowserIpcDeps): void
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Coerce a play (or queue) request. A queued request is held until its turn
|
||||
* comes, so a bad field would surface long after the click that sent it.
|
||||
*/
|
||||
/** Coerce a play (or queue) request at the renderer trust boundary. */
|
||||
function toPlayRequest(value: unknown): AnimeBrowserPlayRequest {
|
||||
const request = (value ?? {}) as Partial<AnimeBrowserPlayRequest>;
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user