mirror of https://github.com/jellyfin/jellyfin.git
Fixed trying to parse an episode xml file when it doesn't exist
This commit is contained in:
parent
977f8e970a
commit
ef0b277d2a
|
@ -45,6 +45,7 @@ namespace MediaBrowser.TV.Providers
|
||||||
if (!File.Exists(metadataFile))
|
if (!File.Exists(metadataFile))
|
||||||
{
|
{
|
||||||
await Task.FromResult<object>(null).ConfigureAwait(false);
|
await Task.FromResult<object>(null).ConfigureAwait(false);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -52,6 +53,7 @@ namespace MediaBrowser.TV.Providers
|
||||||
if (!season.ContainsMetadataFile(metadataFile))
|
if (!season.ContainsMetadataFile(metadataFile))
|
||||||
{
|
{
|
||||||
await Task.FromResult<object>(null).ConfigureAwait(false);
|
await Task.FromResult<object>(null).ConfigureAwait(false);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue