mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-18 00:58:01 +00:00
Fixed VideoType detection
This commit is contained in:
parent
2454b72c93
commit
8d693fd2ab
@@ -30,7 +30,7 @@ namespace MediaBrowser.Controller.Resolvers
|
||||
{
|
||||
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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user