mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-07-28 04:49:49 -07:00
33d9a7890d
- Add history-art.ts: materializeCoverArt extracts cover blobs from stats DB to ~/.cache/subminer/covers - Query cover_blob_hash in history-db with fallback via shared anime_id - Backfill cover hash from older rows of the same series in groupHistoryBySeries - Pass icons to rofi via null-separator protocol (\0icon\x1f<path>)
24 lines
501 B
TypeScript
24 lines
501 B
TypeScript
export interface HistoryVideoRow {
|
|
videoId: number;
|
|
sourcePath: string;
|
|
parsedTitle: string | null;
|
|
parsedSeason: number | null;
|
|
parsedEpisode: number | null;
|
|
animeTitle: string | null;
|
|
lastWatchedMs: number;
|
|
coverBlobHash: string | null;
|
|
}
|
|
|
|
export interface HistorySeriesEntry {
|
|
seriesRoot: string;
|
|
displayName: string;
|
|
lastWatched: HistoryVideoRow;
|
|
coverBlobHash: string | null;
|
|
}
|
|
|
|
export interface SeasonDirEntry {
|
|
name: string;
|
|
path: string;
|
|
season: number | null;
|
|
}
|