Fixed VideoType detection
This commit is contained in:
parent
2454b72c93
commit
8d693fd2ab
|
@ -30,7 +30,7 @@ namespace MediaBrowser.Controller.Resolvers
|
||||||
{
|
{
|
||||||
if (IsVideoFile(args.Path))
|
if (IsVideoFile(args.Path))
|
||||||
{
|
{
|
||||||
VideoType type = Path.GetExtension(args.Path).EndsWith("", System.StringComparison.OrdinalIgnoreCase) ? VideoType.Iso : VideoType.VideoFile;
|
VideoType type = Path.GetExtension(args.Path).EndsWith("iso", System.StringComparison.OrdinalIgnoreCase) ? VideoType.Iso : VideoType.VideoFile;
|
||||||
|
|
||||||
return new T()
|
return new T()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user