seerr: fix mediaServerType to numeric 2 (JELLYFIN enum value)

Seerr's scheduler compares mediaServerType against numeric enum values
(PLEX=1, JELLYFIN=2, EMBY=3). restore.js was setting the string 'JELLYFIN'
which never matched, so Jellyfin scan jobs were never registered in the
scheduler — causing 'Watch on Jellyfin' buttons to never appear.
This commit is contained in:
Will Anderson
2026-04-11 02:52:15 -05:00
parent ba339ee5c9
commit d59af5b6aa
+4 -4
View File
@@ -44,9 +44,9 @@ data:
if (!settings.main) { if (!settings.main) {
settings.main = {}; settings.main = {};
} }
if (!settings.main.mediaServerType) { if (settings.main.mediaServerType !== 2) {
settings.main.mediaServerType = 'JELLYFIN'; settings.main.mediaServerType = 2; // 2 = JELLYFIN (numeric enum, not the string)
console.log('Set main.mediaServerType = JELLYFIN'); console.log('Set main.mediaServerType = 2 (JELLYFIN)');
} }
if (!settings.main.applicationUrl) { if (!settings.main.applicationUrl) {
settings.main.applicationUrl = 'https://watch.nook.family'; settings.main.applicationUrl = 'https://watch.nook.family';
@@ -95,7 +95,7 @@ spec:
labels: labels:
app: overseerr app: overseerr
annotations: annotations:
restartedAt: "2026-04-11T07:45:00Z" restartedAt: "2026-04-11T08:00:00Z"
spec: spec:
initContainers: initContainers:
# Restore Jellyfin connection config if it was cleared (e.g. after pod restart with bad key) # Restore Jellyfin connection config if it was cleared (e.g. after pod restart with bad key)