aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2010-06-21 07:44:14 +0000
committerjmarshallnz <jmarshallnz@svn>2010-06-21 07:44:14 +0000
commit07d51bec81f6c4c146c3402b2e0bfc04009d7f75 (patch)
tree712250c68044d1519112a35f036d6e4ec1ed9d31
parent87844df5b78f97f7f37275ad8f91f34bb753764b (diff)
fixed: full nfo episodes weren't scanned if no episodeguide was present at the tvshow level
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31273 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r--xbmc/VideoInfoScanner.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/xbmc/VideoInfoScanner.cpp b/xbmc/VideoInfoScanner.cpp
index 081389470d..1b0208447f 100644
--- a/xbmc/VideoInfoScanner.cpp
+++ b/xbmc/VideoInfoScanner.cpp
@@ -609,7 +609,13 @@ namespace VIDEO
INFO_RET CVideoInfoScanner::RetrieveInfoForEpisodes(CFileItemPtr item, long showID, const ADDON::ScraperPtr &scraper, CGUIDialogProgress *progress)
{
IMDB_EPISODELIST episodes;
+
+ // enumerate episodes
EPISODES files;
+ EnumerateSeriesFolder(item.get(), files);
+ if (files.size() == 0) // no update or no files
+ return INFO_NOT_NEEDED;
+
// fetch episode guide
CVideoInfoTag details;
m_database.GetTvShowInfo(item->m_strPath, details, showID);
@@ -618,10 +624,6 @@ namespace VIDEO
CScraperUrl url;
url.ParseEpisodeGuide(details.m_strEpisodeGuide);
- EnumerateSeriesFolder(item.get(), files);
- if (files.size() == 0) // no update or no files
- return INFO_NOT_NEEDED;
-
if (progress)
{
if (item->m_bIsFolder)