From 7c8f06f4274d1b27309ec2a614b9bdde913b6e7e Mon Sep 17 00:00:00 2001 From: BoulderBadgeDad Date: Sun, 14 Jun 2026 00:31:02 -0700 Subject: [PATCH] video settings: hide the music-library picker on the video side MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Video side was showing both the Music Library selector and the new Movies/TV selectors. The music-library picker is irrelevant there (the Movies/TV mapping replaces it), so hide it on the video side — music side is unchanged. --- tests/test_video_side_shell.py | 4 +++- webui/static/video/video-side.css | 7 +++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/tests/test_video_side_shell.py b/tests/test_video_side_shell.py index 2725751b..45292cdf 100644 --- a/tests/test_video_side_shell.py +++ b/tests/test_video_side_shell.py @@ -202,7 +202,9 @@ def test_video_library_mapping_ui_present_and_video_only(): assert 'data-video-lib-select="tv"' in _INDEX assert "data-video-only" in _INDEX css = _CSS_PATH.read_text(encoding="utf-8") - assert 'body[data-side="music"] [data-video-only]' in css # hidden on music side + assert 'body[data-side="music"] [data-video-only]' in css # video bits hidden on music side + # ...and the music-library picker is hidden on the video side. + assert 'body[data-side="video"] #plex-library-selector-container' in css def test_video_settings_module_referenced_and_isolated(): diff --git a/webui/static/video/video-side.css b/webui/static/video/video-side.css index 43260e68..a9f6766c 100644 --- a/webui/static/video/video-side.css +++ b/webui/static/video/video-side.css @@ -122,6 +122,13 @@ body[data-side="video"][data-video-page="video-settings"] #video-page-host { body[data-side="music"] [data-video-only] { display: none !important; } +/* Conversely, the music-library picker is irrelevant on the video side — hide + it there (the Movies/TV mapping is its replacement). */ +body[data-side="video"] #plex-library-selector-container, +body[data-side="video"] #jellyfin-library-selector-container, +body[data-side="video"] #navidrome-folder-selector-container { + display: none !important; +} /* ── Dashboard header: match music, minus the sweep animation ──────────── */ /* The header reuses music's .dashboard-header markup/CSS for an identical look;