aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Stenvall <sam@gorbachov.negge.fi>2011-10-06 11:11:41 +0300
committerSam Stenvall <sam@gorbachov.negge.fi>2011-10-06 11:11:41 +0300
commitb03ec5d307ec4666df87f28f9f59ca121a2a94ac (patch)
tree1fdb7226ace37142ba5c2b5d175812e8434a87ec
parent288f4967d954769282fcb8e7191ea7a8d44f6baf (diff)
fixed: video scanner didn't exclude sample files like !sample.mkv
-rw-r--r--xbmc/settings/AdvancedSettings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/settings/AdvancedSettings.cpp b/xbmc/settings/AdvancedSettings.cpp
index 7b02cc46ac..cdc67db7c9 100644
--- a/xbmc/settings/AdvancedSettings.cpp
+++ b/xbmc/settings/AdvancedSettings.cpp
@@ -144,8 +144,8 @@ void CAdvancedSettings::Initialize()
m_videoCleanStringRegExps.push_back("(\\[.*\\])");
m_moviesExcludeFromScanRegExps.push_back("-trailer");
- m_moviesExcludeFromScanRegExps.push_back("[-._ \\\\/]sample[-._ \\\\/]");
- m_tvshowExcludeFromScanRegExps.push_back("[-._ \\\\/]sample[-._ \\\\/]");
+ m_moviesExcludeFromScanRegExps.push_back("[!-._ \\\\/]sample[-._ \\\\/]");
+ m_tvshowExcludeFromScanRegExps.push_back("[!-._ \\\\/]sample[-._ \\\\/]");
m_folderStackRegExps.push_back("((cd|dvd|dis[ck])[0-9]+)$");