xbmc/xbmc — pull request #899 by Montellese (2012-04-24 07:52:57+00:00)
Title: revert parts of 43699ed7 and fix scanning of excluded folders (fixes #12955)

This commit reverts parts of 43699ed7 from @cptspiff which changed the meaning of the scanAll parameter of CVideoInfoScanner::Start() to "only scan non-excluded folders" but didn't adjust the parameter's name or its default value accordingly. Furthermore it didn't adjust the other calls to CVideoInfoScanner::Start (in CApplication in case "update library on startup" is enabled and in JSON-RPC) which lead to those calls ignoring the "exclude folder from scan" setting during those scans. To keep the change minimal I kept the name and the default value of the scanAll parameter and therefore had to revert the logic change in CVideoInfoScanner::DoScan() and adjust the calls to CVideoInfoScanner::Start() (and it's wrappers) accordingly.

This should fix http://trac.xbmc.org/ticket/12955