From b03ec5d307ec4666df87f28f9f59ca121a2a94ac Mon Sep 17 00:00:00 2001 From: Sam Stenvall Date: Thu, 6 Oct 2011 11:11:41 +0300 Subject: fixed: video scanner didn't exclude sample files like !sample.mkv --- xbmc/settings/AdvancedSettings.cpp | 4 ++-- 1 file 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]+)$"); -- cgit v1.2.3