mirror of
https://github.com/Radarr/Radarr
synced 2024-12-27 18:30:45 +00:00
New: .strm files are now considered media files
This commit is contained in:
parent
8f1bf83f13
commit
4ca828db81
2 changed files with 2 additions and 1 deletions
|
@ -319,6 +319,7 @@ internal static Quality ParseQuality(string name)
|
||||||
case ".flv":
|
case ".flv":
|
||||||
case ".dvr-ms":
|
case ".dvr-ms":
|
||||||
case ".ogm":
|
case ".ogm":
|
||||||
|
case ".strm":
|
||||||
{
|
{
|
||||||
result.QualityType = QualityTypes.SDTV;
|
result.QualityType = QualityTypes.SDTV;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -14,7 +14,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", ".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 DiskProvider _diskProvider;
|
||||||
private readonly EpisodeProvider _episodeProvider;
|
private readonly EpisodeProvider _episodeProvider;
|
||||||
private readonly MediaFileProvider _mediaFileProvider;
|
private readonly MediaFileProvider _mediaFileProvider;
|
||||||
|
|
Loading…
Reference in a new issue