feat(domain): add library types, LibrarySyncAdapter, ILibraryRepository, IAppSettingsRepository; extend MediaItem with thumbnail_url and collection_id

This commit is contained in:
2026-03-20 00:08:10 +01:00
parent 666b1f2753
commit e101b44fa5
8 changed files with 185 additions and 0 deletions

View File

@@ -346,6 +346,10 @@ pub struct MediaItem {
pub season_number: Option<u32>,
/// For episodes: episode number within the season (1-based).
pub episode_number: Option<u32>,
/// Provider-served thumbnail image URL, populated if available.
pub thumbnail_url: Option<String>,
/// Provider-specific collection this item belongs to.
pub collection_id: Option<String>,
}
/// A fully resolved 7-day broadcast program for one channel.