mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 12:23:03 +00:00
Fixed VideoType detection
This commit is contained in:
parent
2454b72c93
commit
8d693fd2ab
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue