Changed the second .xvid to .divx.

.mkv & .ts will be treated as HDTV, all others will be treated as SDTV.
pull/2/head
Mark McDowall 13 years ago
parent f2984d9430
commit dfbb222c6c

@ -277,13 +277,23 @@ namespace NzbDrone.Core
{ {
case ".avi": case ".avi":
case ".xvid": case ".xvid":
case ".divx":
case ".wmv": case ".wmv":
case ".mp4": case ".mp4":
case ".mpg":
case ".mpeg":
case ".mov":
case ".rm":
case ".rmvb":
case ".flv":
case ".dvr-ms":
case ".ogm":
{ {
result.QualityType = QualityTypes.SDTV; result.QualityType = QualityTypes.SDTV;
break; break;
} }
case ".mkv": case ".mkv":
case ".ts":
{ {
result.QualityType = QualityTypes.HDTV; result.QualityType = QualityTypes.HDTV;
break; break;

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

Loading…
Cancel
Save