3.2.12.11
This commit is contained in:
parent
d0424ac6df
commit
7ea3719a2d
|
@ -2577,7 +2577,7 @@ namespace Emby.Server.Implementations.Library
|
|||
}).OrderBy(i => i.Path).ToList();
|
||||
}
|
||||
|
||||
private static readonly string[] ExtrasSubfolderNames = new[] { "extras", "specials", "shorts", "scenes", "featurettes", "behind the scenes", "deleted scenes" };
|
||||
private static readonly string[] ExtrasSubfolderNames = new[] { "extras", "specials", "shorts", "scenes", "featurettes", "behind the scenes", "deleted scenes", "interviews" };
|
||||
|
||||
public IEnumerable<Video> FindExtras(BaseItem owner, List<FileSystemMetadata> fileSystemChildren, IDirectoryService directoryService)
|
||||
{
|
||||
|
|
|
@ -30,8 +30,6 @@ namespace Emby.Server.Implementations.LiveTv
|
|||
|
||||
var now = DateTime.UtcNow;
|
||||
|
||||
var allowVideoStreamCopy = mediaSource.MediaStreams.Any(i => i.Type == MediaStreamType.Video && i.AllowStreamCopy);
|
||||
|
||||
var info = await _mediaEncoder.GetMediaInfo(new MediaInfoRequest
|
||||
{
|
||||
InputPath = mediaSource.Path,
|
||||
|
@ -76,8 +74,6 @@ namespace Emby.Server.Implementations.LiveTv
|
|||
var videoStream = mediaSource.MediaStreams.FirstOrDefault(i => i.Type == MediaBrowser.Model.Entities.MediaStreamType.Video);
|
||||
if (videoStream != null)
|
||||
{
|
||||
videoStream.AllowStreamCopy = allowVideoStreamCopy;
|
||||
|
||||
if (!videoStream.BitRate.HasValue)
|
||||
{
|
||||
var width = videoStream.Width ?? 1920;
|
||||
|
|
|
@ -490,7 +490,6 @@ namespace Emby.Server.Implementations.LiveTv
|
|||
if (stream.Type == MediaStreamType.Video)
|
||||
{
|
||||
stream.IsInterlaced = true;
|
||||
stream.AllowStreamCopy = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -747,11 +747,6 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
|
||||
public bool CanStreamCopyVideo(EncodingJobInfo state, MediaStream videoStream)
|
||||
{
|
||||
if (!videoStream.AllowStreamCopy)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
var request = state.BaseRequest;
|
||||
|
||||
if (!request.AllowVideoStreamCopy)
|
||||
|
@ -897,11 +892,6 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
|
||||
public bool CanStreamCopyAudio(EncodingJobInfo state, MediaStream audioStream, List<string> supportedAudioCodecs)
|
||||
{
|
||||
if (!audioStream.AllowStreamCopy)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
var request = state.BaseRequest;
|
||||
|
||||
if (!request.AllowAudioStreamCopy)
|
||||
|
|
|
@ -13,11 +13,6 @@ namespace MediaBrowser.Model.Entities
|
|||
[DebuggerDisplay("StreamType = {Type}")]
|
||||
public class MediaStream
|
||||
{
|
||||
public MediaStream()
|
||||
{
|
||||
AllowStreamCopy = true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the codec.
|
||||
/// </summary>
|
||||
|
@ -158,8 +153,6 @@ namespace MediaBrowser.Model.Entities
|
|||
|
||||
public bool? IsAVC { get; set; }
|
||||
|
||||
public bool AllowStreamCopy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the channel layout.
|
||||
/// </summary>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("3.2.12.10")]
|
||||
[assembly: AssemblyVersion("3.2.12.11")]
|
||||
|
|
Loading…
Reference in New Issue
Block a user