1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-27 02:09:59 +00:00

New: .strm files are now considered media files

This commit is contained in:
Mark McDowall 2012-07-19 13:43:54 -07:00
parent 8f1bf83f13
commit 4ca828db81
2 changed files with 2 additions and 1 deletions

View file

@ -319,6 +319,7 @@ internal static Quality ParseQuality(string name)
case ".flv":
case ".dvr-ms":
case ".ogm":
case ".strm":
{
result.QualityType = QualityTypes.SDTV;
break;

View file

@ -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;