Rename the Arrs tab to Media Stack, now that it is one

It covers the pipeline rather than only acquisition: the arrs, the jobs that run
over the same files, and the servers that play them. The label moves; the tab id,
file and URL do not, so bookmarks and the cache key keep working.

The settings card widens with it — Play State Sync, Media Permissions, Media
Cleaner, Emby and Jellyfin were reachable only through the Settings catch-all,
which is a long way to go for a setting named after the page you are on. Match
is whole-word, so "Intermediate Sync" is not caught by "media"; section count is
unchanged at 126 with the same 5 gaps, so nothing was taken from another tab.
This commit is contained in:
Gmer4Lfe
2026-08-14 21:47:33 -04:00
parent 00328cbd0a
commit 5ad5c0df7e
4 changed files with 38 additions and 19 deletions
+7 -3
View File
@@ -116,8 +116,12 @@ const VV_UI_SECTION_SURFACES = [
'route' => 'Rsync tab → Rsync settings'],
['match' => 'fallback|tier', 'tab' => 'Fallback',
'route' => 'Fallback tab → Fallback settings'],
['match' => 'arr|sonarr|radarr|lidarr', 'tab' => 'Arrs',
'route' => 'Arrs tab → Arr settings'],
// The tab covers the whole media pipeline now, not only acquisition: the arrs, the jobs that
// run over the same files (play state, permissions, the cleaner), and the servers that play
// them. These sections were reachable only through the Settings catch-all, which is a long way
// to go for a setting named after the page you are already looking at.
['match' => 'arr|sonarr|radarr|lidarr|media|play state|emby|jellyfin|plex', 'tab' => 'Media Stack',
'route' => 'Media Stack tab → Media settings'],
['match' => 'docker', 'tab' => 'Docker',
'route' => 'Docker tab → Docker settings'],
@@ -179,7 +183,7 @@ const VV_UI_PAGE_ROUTES = [
'also' => ['HOSTN_DISCORD_WEBHOOK', 'HOSTN_STORAGE_MODE_INTERNAL']],
'fallback.php' => ['route' => 'Fallback tab'],
'rsync.php' => ['route' => 'Rsync tab'],
'arrs.php' => ['route' => 'Arrs tab'],
'arrs.php' => ['route' => 'Media Stack tab'],
'watchdog.php' => ['route' => 'Watchdog tab'],
'docker.php' => ['route' => 'Docker tab'],
];