mirror of https://github.com/lidarr/Lidarr
New: .strm files are now considered media files
This commit is contained in:
parent
8f1bf83f13
commit
4ca828db81
|
@ -319,6 +319,7 @@ namespace NzbDrone.Core
|
||||||
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 New Issue