Skip to main content

set_show_server_catalog

Function set_show_server_catalog 

Source
pub fn set_show_server_catalog(show: bool)
Expand description

Control whether offline library queries reveal the full synced catalog (greyed-out, non-downloaded media) or only downloaded/local media.

The frontend calls this from the “Show all server media” toggle: pass true when online, or when offline with the toggle on; pass false when offline with the toggle off so library pages show downloaded media only. Fixes the bug where offline library pages showed every server item regardless of the toggle.