Skip to content
This repository has been archived by the owner on Jun 13, 2022. It is now read-only.

Commit

Permalink
fix: build failed on Jellyfin
Browse files Browse the repository at this point in the history
  • Loading branch information
xjasonlyu committed May 22, 2021
1 parent 42fb25b commit a2b4cdf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Jellyfin.Plugin.AVDC/ScheduledTasks/OrganizeGenresTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ public async Task Execute(CancellationToken cancellationToken, IProgress<double>
{
MediaTypes = new[] {MediaType.Video},
IncludeItemTypes = new[] {nameof(Movie)},
#if __EMBY__
HasAnyProviderId = new[] {Constant.Avdc}
#else
HasAnyProviderId = new Dictionary<string, string> {{Constant.Avdc, string.Empty}}
#endif
}).ToList();

foreach (var (idx, item) in items.WithIndex())
Expand Down

0 comments on commit a2b4cdf

Please sign in to comment.