fix(card): a total's left-out videos are "without length", not "live"

The count holds archives and upcoming streams too, which a card names a stream or upcoming.
This commit is contained in:
2026-11-07 21:58:36 +01:00
parent 90931b4750
commit 872b583f06
7 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ export interface ManagedChannel {
* subscribe made here. */
added_at: string;
total_duration_seconds: number;
/** Live videos the total cannot hold (no length): the "+N live" beside it. */
/** Live videos the total cannot hold (no length): the "+N without length" beside it. */
live_without_length: number;
priority: number;
hidden: boolean;
+1 -1
View File
@@ -17,7 +17,7 @@ export interface Playlist {
dirty: boolean; // linked local playlist has edits not yet pushed to YouTube
item_count: number;
total_duration_seconds: number;
/** Live videos the total cannot hold (no length): the "+N live" beside it. */
/** Live videos the total cannot hold (no length): the "+N without length" beside it. */
live_without_length: number;
cover_thumbnail: string | null;
updated_at: string; // ISO; when the list last CHANGED (rename, add/remove/move/reorder)