feat(v2): add Plex V2 command wrappers
Wrap all 18 Plex commands with V2 RuntimeError handling: - Network: ping, get_music_sections, get_section_tracks, get_track_metadata - Auth: auth_pin_start, auth_pin_check, open_auth_url - Cache: get_sections, save_sections, get_tracks, get_albums, get_album_tracks, search_tracks, save_tracks, update_track_quality, get_tracks_needing_hydration, clear - Playback: play_track Completes the Plex category of V2 migration.
This commit is contained in:
1 parent
e565b964a5
commit
5dbd383bab
2 files changed
+214
No files matched your search
@@ -1374,6 +1374,25 @@ pub fn run() {
|
||||
commands_v2::v2_get_vector_store_stats,
|
||||
commands_v2::v2_clear_offline_cache,
|
||||
commands_v2::v2_clear_saved_credentials,
|
||||
// Plex V2
|
||||
commands_v2::v2_plex_ping,
|
||||
commands_v2::v2_plex_get_music_sections,
|
||||
commands_v2::v2_plex_get_section_tracks,
|
||||
commands_v2::v2_plex_get_track_metadata,
|
||||
commands_v2::v2_plex_auth_pin_start,
|
||||
commands_v2::v2_plex_auth_pin_check,
|
||||
commands_v2::v2_plex_open_auth_url,
|
||||
commands_v2::v2_plex_cache_get_sections,
|
||||
commands_v2::v2_plex_cache_save_sections,
|
||||
commands_v2::v2_plex_cache_get_tracks,
|
||||
commands_v2::v2_plex_cache_get_albums,
|
||||
commands_v2::v2_plex_cache_get_album_tracks,
|
||||
commands_v2::v2_plex_cache_search_tracks,
|
||||
commands_v2::v2_plex_cache_save_tracks,
|
||||
commands_v2::v2_plex_cache_update_track_quality,
|
||||
commands_v2::v2_plex_cache_get_tracks_needing_hydration,
|
||||
commands_v2::v2_plex_cache_clear,
|
||||
commands_v2::v2_plex_play_track,
|
||||
])
|
||||
.run(tauri::generate_context!())
|
||||
.expect("error while running tauri application");
|
||||
|
||||
Reference in new issue
Block a user