From 9424586e9c1b622b6475aeb8ee3cf4a8f346da6e Mon Sep 17 00:00:00 2001 From: sephrat <34862846+sephrat@users.noreply.github.com> Date: Wed, 17 May 2023 12:29:41 +0200 Subject: [PATCH] fix(emby): Fix Emby played sync running a full sync during recently added sync (#4932) --- src/Ombi.Schedule/Jobs/Emby/EmbyLibrarySync.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ombi.Schedule/Jobs/Emby/EmbyLibrarySync.cs b/src/Ombi.Schedule/Jobs/Emby/EmbyLibrarySync.cs index 9695530de..095364037 100644 --- a/src/Ombi.Schedule/Jobs/Emby/EmbyLibrarySync.cs +++ b/src/Ombi.Schedule/Jobs/Emby/EmbyLibrarySync.cs @@ -35,7 +35,7 @@ namespace Ombi.Schedule.Jobs.Emby public virtual async Task Execute(IJobExecutionContext context) { - JobDataMap dataMap = context.JobDetail.JobDataMap; + JobDataMap dataMap = context.MergedJobDataMap; if (dataMap.TryGetValue(JobDataKeys.EmbyRecentlyAddedSearch, out var recentlyAddedObj)) { recentlyAdded = Convert.ToBoolean(recentlyAddedObj);