Skip to content

Commit

Permalink
Merge pull request #4676 from jmarshallnz/dont_set_scraper_on_tvshow_…
Browse files Browse the repository at this point in the history
…on_nfo

[tvshows] don't set scraper if we find a tvshow.nfo file.
  • Loading branch information
jmarshallnz authored and Trent Nelson committed Jun 7, 2014
1 parent 7b6fa4c commit 8d11fbb
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions xbmc/video/VideoInfoScanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -497,13 +497,6 @@ namespace VIDEO
// handle .nfo files
if (useLocal)
result = CheckForNFOFile(pItem, bDirNames, info2, scrUrl);
if (result != CNfoFile::NO_NFO && result != CNfoFile::ERROR_NFO)
{ // check for preconfigured scraper; if found, overwrite with interpreted scraper (from Nfofile)
// but keep current scan settings
SScanSettings settings;
if (m_database.GetScraperForPath(pItem->GetPath(), settings))
m_database.SetScraperForPath(pItem->GetPath(), info2, settings);
}
if (result == CNfoFile::FULL_NFO)
{
pItem->GetVideoInfoTag()->Reset();
Expand Down

0 comments on commit 8d11fbb

Please sign in to comment.