diff --git a/Jellyfin.Plugin.AVDC/ScheduledTasks/OrganizeGenresTask.cs b/Jellyfin.Plugin.AVDC/ScheduledTasks/OrganizeGenresTask.cs index 50cc41e..e8a4602 100644 --- a/Jellyfin.Plugin.AVDC/ScheduledTasks/OrganizeGenresTask.cs +++ b/Jellyfin.Plugin.AVDC/ScheduledTasks/OrganizeGenresTask.cs @@ -65,7 +65,11 @@ public async Task Execute(CancellationToken cancellationToken, IProgress { MediaTypes = new[] {MediaType.Video}, IncludeItemTypes = new[] {nameof(Movie)}, +#if __EMBY__ HasAnyProviderId = new[] {Constant.Avdc} +#else + HasAnyProviderId = new Dictionary {{Constant.Avdc, string.Empty}} +#endif }).ToList(); foreach (var (idx, item) in items.WithIndex())