Browse Source

Emby: accept non-File protocols for Movie items (only require MediaSources present) (#2483)

pull/2484/head
Jason Arends 3 months ago committed by GitHub
parent
commit
fc04118bf9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      ErsatzTV.Infrastructure/Emby/EmbyApiClient.cs

2
ErsatzTV.Infrastructure/Emby/EmbyApiClient.cs

@ -379,7 +379,7 @@ public class EmbyApiClient : IEmbyApiClient @@ -379,7 +379,7 @@ public class EmbyApiClient : IEmbyApiClient
{
try
{
if (item.MediaSources.Any(ms => ms.Protocol != "File"))
if (item.MediaSources is null || item.MediaSources.Count == 0)
{
return None;
}

Loading…
Cancel
Save