From ef0b277d2a050a2031be7b3873c00c737071e5b2 Mon Sep 17 00:00:00 2001 From: LukePulverenti Luke Pulverenti luke pulverenti Date: Thu, 23 Aug 2012 10:13:11 -0400 Subject: [PATCH] Fixed trying to parse an episode xml file when it doesn't exist --- MediaBrowser.TV/Providers/EpisodeProviderFromXml.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MediaBrowser.TV/Providers/EpisodeProviderFromXml.cs b/MediaBrowser.TV/Providers/EpisodeProviderFromXml.cs index 3506e2a51..0e240d054 100644 --- a/MediaBrowser.TV/Providers/EpisodeProviderFromXml.cs +++ b/MediaBrowser.TV/Providers/EpisodeProviderFromXml.cs @@ -45,6 +45,7 @@ namespace MediaBrowser.TV.Providers if (!File.Exists(metadataFile)) { await Task.FromResult(null).ConfigureAwait(false); + return; } } else @@ -52,6 +53,7 @@ namespace MediaBrowser.TV.Providers if (!season.ContainsMetadataFile(metadataFile)) { await Task.FromResult(null).ConfigureAwait(false); + return; } }