mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
re-added m2ts to know file lists
This commit is contained in:
parent
be2e3c5c2e
commit
adc08973ec
@ -23,9 +23,12 @@ public class DiskScanService :
|
||||
private readonly HashSet<string> _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 @@ public DiskScanService(IDiskProvider diskProvider,
|
||||
_messageAggregator = messageAggregator;
|
||||
_logger = logger;
|
||||
|
||||
_mediaExtensions = new HashSet<string>(EXTENSIONS.Split(' '));
|
||||
_mediaExtensions = new HashSet<string>(EXTENSIONS.Split(' ').Select(c => c.ToLower()));
|
||||
}
|
||||
|
||||
private void Scan(Series series)
|
||||
|
Loading…
Reference in New Issue
Block a user