feat(offline): add playlist local content detection

- Add LocalContentStatus enum (unknown, no, some_local, all_local)
- Add has_local_content column to playlist_settings with migration
- Implement local track matching by Qobuz ID and by metadata (title+artist+album)
- Add commands: playlist_analyze_local_content, playlist_get_local_content_status,
  playlist_track_is_local, playlist_get_local_track_id, playlist_get_offline_available
- Add database functions for local content filtering and status updates

cc
This commit is contained in:
vicrodh committed 2026-01-15 22:11:08 -06:00
1 parent 21354f9b64
commit 02240f41ac
3 files changed
+364 -10

No files matched your search

+6
View File
@@ -404,6 +404,12 @@ pub fn run() {
library::commands::library_get_artist_images,
library::commands::library_cache_artist_image,
library::commands::library_set_custom_artist_image,
// Playlist local content analysis commands (offline mode)
library::commands::playlist_analyze_local_content,
library::commands::playlist_get_local_content_status,
library::commands::playlist_track_is_local,
library::commands::playlist_get_local_track_id,
library::commands::playlist_get_offline_available,
// Chromecast casting commands
cast::commands::cast_start_discovery,
cast::commands::cast_stop_discovery,