From adc08973ec8e502b1fc06f591ea9d92199a2814b Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Sat, 17 Aug 2013 21:35:36 -0700 Subject: [PATCH] re-added m2ts to know file lists --- NzbDrone.Core/MediaFiles/DiskScanService.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/NzbDrone.Core/MediaFiles/DiskScanService.cs b/NzbDrone.Core/MediaFiles/DiskScanService.cs index e266b0fc5..17d7e6dc2 100644 --- a/NzbDrone.Core/MediaFiles/DiskScanService.cs +++ b/NzbDrone.Core/MediaFiles/DiskScanService.cs @@ -23,9 +23,12 @@ namespace NzbDrone.Core.MediaFiles private readonly HashSet _mediaExtensions; private const string EXTENSIONS = + //XBMC ".m4v .3gp .nsv .ts .ty .strm .rm .rmvb .m3u .ifo .mov .qt .divx .xvid .bivx .vob .nrg .img" + ".iso .pva .wmv .asf .asx .ogm .m2v .avi .bin .dat .dvr-ms .mpg .mpeg .mp4 .mkv .avc .vp3 " + - ".svq3 .nuv .viv .dv .fli .flv .wpl"; + ".svq3 .nuv .viv .dv .fli .flv .wpl" + + //Other + ".m2ts"; private readonly IDiskProvider _diskProvider; private readonly IMakeImportDecision _importDecisionMaker; @@ -44,7 +47,7 @@ namespace NzbDrone.Core.MediaFiles _messageAggregator = messageAggregator; _logger = logger; - _mediaExtensions = new HashSet(EXTENSIONS.Split(' ')); + _mediaExtensions = new HashSet(EXTENSIONS.Split(' ').Select(c => c.ToLower())); } private void Scan(Series series)