mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #5620 from MrTimscampi/iso-ignore
This commit is contained in:
commit
a76d997a86
@ -82,11 +82,6 @@ namespace Emby.Server.Implementations.MediaEncoder
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (video.VideoType == VideoType.Dvd)
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (video.IsShortcut)
|
if (video.IsShortcut)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
@ -313,6 +313,12 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ISO files don't have an ffmpeg format
|
||||||
|
if (string.Equals(container, "iso", StringComparison.OrdinalIgnoreCase))
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
return container;
|
return container;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -370,7 +370,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||||||
public string GetInputArgument(string inputFile, MediaSourceInfo mediaSource)
|
public string GetInputArgument(string inputFile, MediaSourceInfo mediaSource)
|
||||||
{
|
{
|
||||||
var prefix = "file";
|
var prefix = "file";
|
||||||
if (mediaSource.VideoType == VideoType.BluRay || mediaSource.VideoType == VideoType.Iso)
|
if (mediaSource.VideoType == VideoType.BluRay)
|
||||||
{
|
{
|
||||||
prefix = "bluray";
|
prefix = "bluray";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user