projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c0539b
)
[musicdb] scan optimization - skip the scan if we don't find any music in the dir
author
night199uk
<night199uk@xbmc.org>
Tue, 19 Nov 2013 15:39:21 +0000
(23:39 +0800)
committer
Jonathan Marshall
<jmarshall@xbmc.org>
Tue, 24 Dec 2013 00:48:58 +0000
(13:48 +1300)
xbmc/music/infoscanner/MusicInfoScanner.cpp
patch
|
blob
|
history
diff --git
a/xbmc/music/infoscanner/MusicInfoScanner.cpp
b/xbmc/music/infoscanner/MusicInfoScanner.cpp
index
098c779
..
9ca5798
100644
(file)
--- a/
xbmc/music/infoscanner/MusicInfoScanner.cpp
+++ b/
xbmc/music/infoscanner/MusicInfoScanner.cpp
@@
-690,7
+690,7
@@
int CMusicInfoScanner::RetrieveMusicInfo(const CStdString& strDirectory, CFileIt
m_needsCleanup = true;
CFileItemList scannedItems;
- if (ScanTags(items, scannedItems) == INFO_CANCELLED)
+ if (ScanTags(items, scannedItems) == INFO_CANCELLED
|| scannedItems.Size() == 0
)
return 0;
VECALBUMS albums;