chore(legacy): drop 15 unused legacy command registrations from invoke_handler

These commands had v2_* equivalents registered alongside them; the
frontend has been migrated and no longer invokes them. The legacy
function definitions remain in their respective modules - they will
be removed in subsequent steps once we verify nothing internally
calls them.

cc
This commit is contained in:
vicrodh committed 2026-04-26 17:00:51 -06:00
1 parent fd545eccaa
commit 49df57675a
1 file changed
-22
-22
View File
@@ -1376,33 +1376,11 @@ pub fn run() {
commands_v2::v2_get_user_info, commands_v2::v2_get_user_info,
commands_v2::v2_save_credentials, commands_v2::v2_save_credentials,
commands_v2::v2_clear_saved_credentials, commands_v2::v2_clear_saved_credentials,
// Temporary compatibility commands still invoked by frontend during migration
offline_cache::commands::check_album_fully_cached,
network::commands::check_network_path,
offline::commands::create_pending_playlist,
offline::commands::get_pending_playlist_count,
offline::commands::queue_scrobble,
offline::commands::get_queued_scrobbles,
offline::commands::get_queued_scrobble_count,
offline::commands::cleanup_sent_scrobbles,
library::commands::discogs_has_credentials,
library::commands::discogs_search_artwork,
library::commands::discogs_download_artwork,
library::commands::library_update_folder_settings,
library::commands::get_track_by_path,
commands::search::get_artist_basic,
commands::search::get_artist_detail,
commands::search::get_artist_tracks,
commands::search::get_artist_albums,
commands::search::get_releases_grid,
commands::playback::get_pipewire_sinks,
commands::playback::get_audio_output_status,
flatpak::get_flatpak_help_text, flatpak::get_flatpak_help_text,
commands_v2::v2_get_flatpak_help_text, commands_v2::v2_get_flatpak_help_text,
config::legal_settings::get_qobuz_tos_accepted, config::legal_settings::get_qobuz_tos_accepted,
updates::has_flatpak_welcome_been_shown, updates::has_flatpak_welcome_been_shown,
updates::has_snap_welcome_been_shown, updates::has_snap_welcome_been_shown,
lyrics::commands::lyrics_get,
config::favorites_cache::is_track_favorite, config::favorites_cache::is_track_favorite,
commands_v2::v2_set_api_locale, commands_v2::v2_set_api_locale,
commands_v2::v2_set_use_system_titlebar, commands_v2::v2_set_use_system_titlebar,