New: .strm files are now considered media files

pull/6/head
Mark McDowall 13 years ago
parent 8f1bf83f13
commit 4ca828db81

@ -319,6 +319,7 @@ namespace NzbDrone.Core
case ".flv":
case ".dvr-ms":
case ".ogm":
case ".strm":
{
result.QualityType = QualityTypes.SDTV;
break;

@ -14,7 +14,7 @@ namespace NzbDrone.Core.Providers
public class DiskScanProvider
{
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
private static readonly string[] mediaExtentions = new[] { ".mkv", ".avi", ".wmv", ".mp4", ".mpg", ".mpeg", ".xvid", ".flv", ".mov", ".rm", ".rmvb", ".divx", ".dvr-ms", ".ts", ".ogm", ".m4v" };
private static readonly string[] mediaExtentions = new[] { ".mkv", ".avi", ".wmv", ".mp4", ".mpg", ".mpeg", ".xvid", ".flv", ".mov", ".rm", ".rmvb", ".divx", ".dvr-ms", ".ts", ".ogm", ".m4v", ".strm" };
private readonly DiskProvider _diskProvider;
private readonly EpisodeProvider _episodeProvider;
private readonly MediaFileProvider _mediaFileProvider;

Loading…
Cancel
Save