Release Kaleido Desktop 0.1.0-beta.13
All checks were successful
Validate Kaleido Desktop / validate (push) Successful in 1m24s
All checks were successful
Validate Kaleido Desktop / validate (push) Successful in 1m24s
- Automatic intro/credits skip waits a configurable delay (default 5 s) with a filling "Skipping intro" button; pausing, seeking or pressing a key cancels it, and seeking into an intro never auto-skips it. - Watch-state queries refetch on window focus, and Continue Watching / next episode poll every minute while visible, so progress from other Plex apps shows up. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
9729755dc9
commit
328a93695a
15 changed files with 139 additions and 24 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { useEffect, useMemo, useState, type ReactNode } from 'react';
|
||||
import * as api from '../plex/api';
|
||||
import type { Item } from '../plex/types';
|
||||
import { useChildren, useItem, useRelated, useServerQuery } from '../app/queries';
|
||||
import { PROGRESS, useChildren, useItem, useRelated, useServerQuery } from '../app/queries';
|
||||
import { useServer } from '../app/session';
|
||||
import { useSettings } from '../app/settings';
|
||||
import { goBack, navigate, useRouter } from '../app/router';
|
||||
|
|
@ -401,7 +401,7 @@ function Episodes({ seasons, initialSeason, showPicker = true }: { seasons: Item
|
|||
function ShowDetail({ item }: { item: Item }) {
|
||||
const seasons = useChildren(item.id);
|
||||
const server = useServer();
|
||||
const next = useServerQuery(['onDeck', item.id], (s) => api.onDeckFor(s, item), { staleTime: 15_000 });
|
||||
const next = useServerQuery(['onDeck', item.id], (s) => api.onDeckFor(s, item), PROGRESS);
|
||||
const nextEp = next.data;
|
||||
const seasonList = (seasons.data ?? []).filter((s) => s.type === 'season');
|
||||
const percent = useSettings((s) => s.watchedPercent);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue