mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
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…
x
Reference in New Issue
Block a user