diff --git a/server/job/schedule.ts b/server/job/schedule.ts index bb56ea82e..e6883569e 100644 --- a/server/job/schedule.ts +++ b/server/job/schedule.ts @@ -71,13 +71,13 @@ export const startJobs = (): void => { ) { // Run recently added jellyfin sync every 5 minutes scheduledJobs.push({ - id: 'jellyfin-recently-added-sync', + id: 'jellyfin-recently-added-scan', name: 'Jellyfin Recently Added Sync', type: 'process', interval: 'minutes', - cronSchedule: jobs['jellyfin-recently-added-sync'].schedule, + cronSchedule: jobs['jellyfin-recently-added-scan'].schedule, job: schedule.scheduleJob( - jobs['jellyfin-recently-added-sync'].schedule, + jobs['jellyfin-recently-added-scan'].schedule, () => { logger.info('Starting scheduled job: Jellyfin Recently Added Sync', { label: 'Jobs', @@ -91,12 +91,12 @@ export const startJobs = (): void => { // Run full jellyfin sync every 24 hours scheduledJobs.push({ - id: 'jellyfin-full-sync', + id: 'jellyfin-full-scan', name: 'Jellyfin Full Library Sync', type: 'process', interval: 'hours', - cronSchedule: jobs['jellyfin-full-sync'].schedule, - job: schedule.scheduleJob(jobs['jellyfin-full-sync'].schedule, () => { + cronSchedule: jobs['jellyfin-full-scan'].schedule, + job: schedule.scheduleJob(jobs['jellyfin-full-scan'].schedule, () => { logger.info('Starting scheduled job: Jellyfin Full Sync', { label: 'Jobs', }); diff --git a/server/lib/settings.ts b/server/lib/settings.ts index b1d105773..a25a044c9 100644 --- a/server/lib/settings.ts +++ b/server/lib/settings.ts @@ -263,8 +263,8 @@ export type JobId = | 'sonarr-scan' | 'download-sync' | 'download-sync-reset' - | 'jellyfin-recently-added-sync' - | 'jellyfin-full-sync' + | 'jellyfin-recently-added-scan' + | 'jellyfin-full-scan' | 'image-cache-cleanup' | 'availability-sync'; @@ -446,10 +446,10 @@ class Settings { 'download-sync-reset': { schedule: '0 0 1 * * *', }, - 'jellyfin-recently-added-sync': { + 'jellyfin-recently-added-scan': { schedule: '0 */5 * * * *', }, - 'jellyfin-full-sync': { + 'jellyfin-full-scan': { schedule: '0 0 3 * * *', }, 'image-cache-cleanup': { diff --git a/src/components/Settings/SettingsJobsCache/index.tsx b/src/components/Settings/SettingsJobsCache/index.tsx index 1f35b916e..ae0f7ee4d 100644 --- a/src/components/Settings/SettingsJobsCache/index.tsx +++ b/src/components/Settings/SettingsJobsCache/index.tsx @@ -55,8 +55,8 @@ const messages: { [messageName: string]: MessageDescriptor } = defineMessages({ 'plex-recently-added-scan': 'Plex Recently Added Scan', 'plex-full-scan': 'Plex Full Library Scan', 'plex-watchlist-sync': 'Plex Watchlist Sync', - 'jellyfin-recently-added-sync': 'Jellyfin Recently Added Scan', - 'jellyfin-full-sync': 'Jellyfin Full Library Scan', + 'jellyfin-recently-added-scan': 'Jellyfin Recently Added Scan', + 'jellyfin-full-scan': 'Jellyfin Full Library Scan', 'availability-sync': 'Media Availability Sync', 'radarr-scan': 'Radarr Scan', 'sonarr-scan': 'Sonarr Scan', diff --git a/src/i18n/locale/ca.json b/src/i18n/locale/ca.json index 71e278147..c740091cc 100644 --- a/src/i18n/locale/ca.json +++ b/src/i18n/locale/ca.json @@ -551,7 +551,7 @@ "components.Settings.SettingsJobsCache.runnow": "Executa-ho ara", "components.Settings.SettingsJobsCache.plex-full-scan": "Exploració completa de la biblioteca plex", "components.Settings.SettingsJobsCache.jellyfin-full-scan": "Exploració completa de la biblioteca Jellyfin", - "components.Settings.SettingsJobsCache.jelly-recently-added-scan": "Exploració d'elements de Jellyfin afegits recentment", + "components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Exploració d'elements de Jellyfin afegits recentment", "components.Settings.SettingsJobsCache.nextexecution": "Pròxima execució", "components.Settings.SettingsJobsCache.jobstarted": "S'ha iniciat {jobname}.", "components.Settings.SettingsJobsCache.jobcancelled": "{jobname} s'ha cancel·lat.", diff --git a/src/i18n/locale/de.json b/src/i18n/locale/de.json index 88561b487..b1dd33797 100644 --- a/src/i18n/locale/de.json +++ b/src/i18n/locale/de.json @@ -655,7 +655,7 @@ "components.Settings.SettingsJobsCache.imagecacheDescription": "Wenn diese Funktion in den Einstellungen aktiviert ist, wird Jellyseerr Bilder aus vorkonfigurierten externen Quellen cachen und ausliefern. Bilder im Cache werden in deinem Config Ordner abgelegt. Die findest die Dateien unter {appDataPath}/cache/images.", "components.Settings.SettingsJobsCache.imagecachecount": "Bilder im Cache", "components.Settings.SettingsJobsCache.imagecachesize": "Gesamtgröße des Cache", - "components.Settings.SettingsJobsCache.jelly-recently-added-scan": "Scan der zuletzt hinzugefügten Jellyfin Medien", + "components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Scan der zuletzt hinzugefügten Jellyfin Medien", "components.Settings.SettingsJobsCache.jellyfin-full-scan": "Vollständiger Jellyfin Bibliotheken Scan", "components.Settings.SettingsJobsCache.jobScheduleEditFailed": "Beim Speichern des Auftrags ging etwas schief.", "components.Settings.SettingsJobsCache.jobScheduleEditSaved": "Auftrag erfolgreich bearbeitet!", diff --git a/src/i18n/locale/el.json b/src/i18n/locale/el.json index 493300a4b..cf742415c 100644 --- a/src/i18n/locale/el.json +++ b/src/i18n/locale/el.json @@ -373,7 +373,7 @@ "components.Settings.SettingsJobsCache.plex-recently-added-scan": "Σάρωση Plex για μέσα που προστέθηκαν πρόσφατα", "components.Settings.SettingsJobsCache.plex-full-scan": "Σάρωση πλήρους βιβλιοθήκης Plex", "components.Settings.SettingsJobsCache.jellyfin-full-scan": "Σάρωση πλήρους βιβλιοθήκης Jellyfin", - "components.Settings.SettingsJobsCache.jelly-recently-added-scan": "Σάρωση Jellyfin για μέσα που προστέθηκαν πρόσφατα", + "components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Σάρωση Jellyfin για μέσα που προστέθηκαν πρόσφατα", "components.Settings.SettingsJobsCache.nextexecution": "Επόμενη εκτέλεση", "components.Settings.SettingsJobsCache.jobtype": "Είδος", "components.Settings.SettingsJobsCache.jobstarted": "{jobname} ξεκίνησε.", diff --git a/src/i18n/locale/en.json b/src/i18n/locale/en.json index 5dc30620e..e65f82b79 100644 --- a/src/i18n/locale/en.json +++ b/src/i18n/locale/en.json @@ -782,8 +782,8 @@ "components.Settings.SettingsJobsCache.imagecacheDescription": "When enabled in settings, Jellyseerr will proxy and cache images from pre-configured external sources. Cached images are saved into your config folder. You can find the files in {appDataPath}/cache/images.", "components.Settings.SettingsJobsCache.imagecachecount": "Images Cached", "components.Settings.SettingsJobsCache.imagecachesize": "Total Cache Size", - "components.Settings.SettingsJobsCache.jellyfin-full-sync": "Jellyfin Full Library Scan", - "components.Settings.SettingsJobsCache.jellyfin-recently-added-sync": "Jellyfin Recently Added Scan", + "components.Settings.SettingsJobsCache.jellyfin-full-scan": "Jellyfin Full Library Scan", + "components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Jellyfin Recently Added Scan", "components.Settings.SettingsJobsCache.jobScheduleEditFailed": "Something went wrong while saving the job.", "components.Settings.SettingsJobsCache.jobScheduleEditSaved": "Job edited successfully!", "components.Settings.SettingsJobsCache.jobcancelled": "{jobname} canceled.", diff --git a/src/i18n/locale/es.json b/src/i18n/locale/es.json index 50ba6a770..492b2b115 100644 --- a/src/i18n/locale/es.json +++ b/src/i18n/locale/es.json @@ -560,7 +560,7 @@ "components.Settings.SettingsJobsCache.editJobScheduleSelectorHours": "Cada {jobScheduleHours, plural, one {hora} other {{jobScheduleHours} horas}}", "components.Settings.SettingsJobsCache.editJobScheduleSelectorMinutes": "Cada {jobScheduleMinutes, plural, one {minuto} other {{jobScheduleMinutes} minutos}}", "components.Settings.SettingsJobsCache.flushcache": "Vaciar Caché", - "components.Settings.SettingsJobsCache.jelly-recently-added-scan": "Escaneo de Recien Añadidos de Jellyfin", + "components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Escaneo de Recien Añadidos de Jellyfin", "components.Settings.SettingsJobsCache.jellyfin-full-scan": "Escaneo Completo de la Biblioteca de Jellyfin", "components.Settings.SettingsJobsCache.jobScheduleEditFailed": "Algo fue mal al guardar la tarea programada.", "components.Settings.SettingsJobsCache.jobScheduleEditSaved": "¡Tarea programada modificada con éxito!", diff --git a/src/i18n/locale/fr.json b/src/i18n/locale/fr.json index c31b77e60..7330393e3 100644 --- a/src/i18n/locale/fr.json +++ b/src/i18n/locale/fr.json @@ -650,7 +650,7 @@ "components.Settings.SettingsJobsCache.editJobScheduleSelectorHours": "Toutes les {jobScheduleHours, plural, one {heure} other {{jobScheduleHours} heures}}", "components.Settings.SettingsJobsCache.editJobScheduleSelectorMinutes": "Toutes les {jobScheduleMinutes, plural, one {minute} other {{jobScheduleMinutes} minutes}}", "components.Settings.SettingsJobsCache.flushcache": "Vider le cache", - "components.Settings.SettingsJobsCache.jelly-recently-added-scan": "Scanner les récents ajoutés sur Jellyfin", + "components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Scanner les récents ajoutés sur Jellyfin", "components.Settings.SettingsJobsCache.jellyfin-full-scan": "Scanner toute la bibliothèque Jellyfin", "components.Settings.SettingsJobsCache.image-cache-cleanup": "Vider le cache des images", "components.Settings.SettingsJobsCache.imagecache": "Cache des images", diff --git a/src/i18n/locale/hu.json b/src/i18n/locale/hu.json index 46bbb76d8..bb43e92cd 100644 --- a/src/i18n/locale/hu.json +++ b/src/i18n/locale/hu.json @@ -447,7 +447,7 @@ "components.Settings.SettingsJobsCache.plex-recently-added-scan": "Plex \"nemrégiben hozzáadott\" beolvasása", "components.Settings.SettingsJobsCache.plex-full-scan": "Plex összes könyvtárának beolvasása", "components.Settings.SettingsJobsCache.jellyfin-full-scan": "Jellyfin összes könyvtárának beolvasása", - "components.Settings.SettingsJobsCache.jelly-recently-added-scan": "Jellyfin \"nemrégiben hozzáadott\" beolvasása", + "components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Jellyfin \"nemrégiben hozzáadott\" beolvasása", "components.Settings.SettingsJobsCache.nextexecution": "Következő végrehajtás", "components.Settings.SettingsJobsCache.jobtype": "Típus", "components.Settings.SettingsJobsCache.jobstarted": "{jobname} elindult.", diff --git a/src/i18n/locale/nl.json b/src/i18n/locale/nl.json index 0fb7207c6..e99f68a27 100644 --- a/src/i18n/locale/nl.json +++ b/src/i18n/locale/nl.json @@ -565,7 +565,7 @@ "components.Settings.SettingsJobsCache.plex-recently-added-scan": "Plex recent toegevoegde scan", "components.Settings.SettingsJobsCache.plex-full-scan": "Plex volledige bibliotheekscan", "components.Settings.SettingsJobsCache.jellyfin-full-scan": "volledige bibliotheekscan Jellyfin", - "components.Settings.SettingsJobsCache.jelly-recently-added-scan": "Jellyfin recent toegevoegde scan", + "components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Jellyfin recent toegevoegde scan", "components.Settings.Notifications.validationUrl": "Je moet een geldige URL opgeven", "components.Settings.Notifications.botAvatarUrl": "URL bot-avatar", "components.RequestList.RequestItem.requested": "Aangevraagd", diff --git a/src/i18n/locale/pt_PT.json b/src/i18n/locale/pt_PT.json index 88b2a8a17..137362dd4 100644 --- a/src/i18n/locale/pt_PT.json +++ b/src/i18n/locale/pt_PT.json @@ -565,7 +565,7 @@ "components.Settings.SettingsJobsCache.plex-recently-added-scan": "Sincronizar Adicionado Recentemente do Plex", "components.Settings.SettingsJobsCache.plex-full-scan": "Sincronização Completa da Biblioteca Plex", "components.Settings.SettingsJobsCache.jellyfin-full-scan": "Sincronização Completa da Biblioteca Jellyfin", - "components.Settings.SettingsJobsCache.jelly-recently-added-scan": "Sincronizar Adicionado Recentemente do Jellyfin", + "components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Sincronizar Adicionado Recentemente do Jellyfin", "components.RequestList.RequestItem.requested": "Pedido", "components.RequestList.RequestItem.modifieduserdate": "{date} por {user}", "components.RequestList.RequestItem.modified": "Modificado", diff --git a/src/i18n/locale/sv.json b/src/i18n/locale/sv.json index 715c49921..d5cd3f426 100644 --- a/src/i18n/locale/sv.json +++ b/src/i18n/locale/sv.json @@ -545,7 +545,7 @@ "components.Settings.SettingsJobsCache.plex-recently-added-scan": "Skanning av det senast tillagda i Plex", "components.Settings.SettingsJobsCache.plex-full-scan": "Full Plex-biblioteksskanning", "components.Settings.SettingsJobsCache.jellyfin-full-scan": "Full Jellyfin-biblioteksskanning", - "components.Settings.SettingsJobsCache.jelly-recently-added-scan": "Skanning av det senast tillagda i Jellyfin", + "components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Skanning av det senast tillagda i Jellyfin", "components.Settings.SettingsJobsCache.download-sync-reset": "Hämta synkroniseringsåterställning", "components.Settings.SettingsJobsCache.download-sync": "Ladda ner synkronisering", "components.Settings.SettingsAbout.preferredmethod": "Föredraget", diff --git a/src/i18n/locale/ua.json b/src/i18n/locale/ua.json index b2fd2d696..4036482ec 100644 --- a/src/i18n/locale/ua.json +++ b/src/i18n/locale/ua.json @@ -650,7 +650,7 @@ "components.Settings.SettingsJobsCache.editJobScheduleSelectorHours": "Кожен {jobScheduleHours, plural, one {година} other {{jobScheduleHours} години(ів)}}", "components.Settings.SettingsJobsCache.editJobScheduleSelectorMinutes": "Кожну {jobScheduleMinutes, plural, one {хвилину} other {{jobScheduleMinutes} хвилин(и)}}", "components.Settings.SettingsJobsCache.flushcache": "Очистити кеш", - "components.Settings.SettingsJobsCache.jelly-recently-added-scan": "Нещодавно додане сканування Jellyfin", + "components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Нещодавно додане сканування Jellyfin", "components.Settings.SettingsJobsCache.jellyfin-full-scan": "Сканування повної бібліотеки Jellyfin", "components.Settings.SettingsJobsCache.image-cache-cleanup": "Очищення кешу зображень", "components.Settings.SettingsJobsCache.imagecache": "Кеш зображень",