feat(qbzd): guard all stores/services for remote mode override

When controlling a qbzd daemon, QBZ Desktop becomes a pure remote
control. 119 invoke() call sites across 16 files now check
skipIfRemote() before executing local operations.

Local-only (skipped entirely): castStore, offlineStore,
offlineCacheState, updatesStore, titleBarStore, qobuzLegalStore,
sessionService.

Daemon-routable (guarded, daemon API routing in follow-up):
favoritesStore, albumFavoritesStore, artistFavoritesStore,
artistBlacklistStore, playlistFoldersStore, playbackPreferencesStore,
playbackContextStore.

playbackService: scrobbling, MPRIS metadata, and notifications
all skipped (daemon handles its own).

cc
This commit is contained in:
vicrodh committed 2026-04-09 14:20:09 -06:00
1 parent b49fce7662
commit ca4480239b
1 file changed
+2
+2
View File
@@ -3035,6 +3035,7 @@ dependencies = [
"qbz-player",
"qbz-qobuz",
"qconnect-app",
"qconnect-core",
"qconnect-transport-ws",
"ratatui",
"reqwest",
@@ -3048,6 +3049,7 @@ dependencies = [
"toml",
"tower-http",
"urlencoding",
"uuid",
]
[[package]]