Skip to content

Commit

Permalink
revert parts of 43699ed and fix scanning of excluded folders (fixes x…
Browse files Browse the repository at this point in the history
  • Loading branch information
Montellese committed Apr 24, 2012
1 parent 2fdc4df commit 784fed7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xbmc/video/VideoInfoScanner.cpp
Expand Up @@ -213,7 +213,7 @@ namespace VIDEO
if (CUtil::ExcludeFileOrFolder(strDirectory, regexps))
return true;

bool ignoreFolder = m_scanAll && settings.noupdate;
bool ignoreFolder = !m_scanAll && settings.noupdate;
if (content == CONTENT_NONE || ignoreFolder)
return true;

Expand Down
2 changes: 1 addition & 1 deletion xbmc/video/windows/GUIWindowVideoBase.cpp
Expand Up @@ -1322,7 +1322,7 @@ bool CGUIWindowVideoBase::OnContextButton(int itemNumber, CONTEXT_BUTTON button)
if (item->m_bIsFolder)
{
m_database.SetPathHash(strPath,""); // to force scan
OnScan(strPath);
OnScan(strPath, true);
}
else
OnInfo(item.get(),info);
Expand Down
2 changes: 1 addition & 1 deletion xbmc/video/windows/GUIWindowVideoNav.cpp
Expand Up @@ -1321,7 +1321,7 @@ bool CGUIWindowVideoNav::OnContextButton(int itemNumber, CONTEXT_BUTTON button)
}
case CONTEXT_BUTTON_UPDATE_LIBRARY:
{
OnScan("",true);
OnScan("");
return true;
}
case CONTEXT_BUTTON_UNLINK_MOVIE:
Expand Down

0 comments on commit 784fed7

Please sign in to comment.