feat: merge duplicate items across roots with combined releases

- Add root_id to Torrent type for per-torrent root tracking
- Merge movies: combine all torrents, keep best metadata, sort by quality
- Merge series: combine seasons/episodes/torrents across roots
- Torrents are quality-sorted (resolution, HDR, DV, Atmos) across all roots
- App.vue play/openFolder use torrent-specific root_id when available
This commit is contained in:
2026-05-24 02:37:09 +00:00
parent 06565f688c
commit 36fc2a77d9
3 changed files with 135 additions and 44 deletions
+1
View File
@@ -56,6 +56,7 @@ export interface Torrent {
encoder: string | null;
size: number | null;
added_at: number | null;
root_id?: string | null;
}
export interface Movie {