Fixed trying to parse an episode xml file when it doesn't exist

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti 2012-08-23 10:13:11 -04:00
parent 977f8e970a
commit ef0b277d2a

View File

@ -45,6 +45,7 @@ namespace MediaBrowser.TV.Providers
if (!File.Exists(metadataFile))
{
await Task.FromResult<object>(null).ConfigureAwait(false);
return;
}
}
else
@ -52,6 +53,7 @@ namespace MediaBrowser.TV.Providers
if (!season.ContainsMetadataFile(metadataFile))
{
await Task.FromResult<object>(null).ConfigureAwait(false);
return;
}
}