commit
072d2c63a5
|
@ -41,6 +41,7 @@ using SortOrder = MediaBrowser.Model.Entities.SortOrder;
|
|||
using VideoResolver = MediaBrowser.Naming.Video.VideoResolver;
|
||||
using MediaBrowser.Common.Configuration;
|
||||
using MediaBrowser.Common.IO;
|
||||
using MediaBrowser.Controller.LiveTv;
|
||||
using MediaBrowser.Model.Tasks;
|
||||
|
||||
namespace Emby.Server.Implementations.Library
|
||||
|
@ -375,11 +376,22 @@ namespace Emby.Server.Implementations.Library
|
|||
throw new ArgumentNullException("item");
|
||||
}
|
||||
|
||||
if (item is LiveTvProgram)
|
||||
{
|
||||
_logger.Debug("Deleting item, Type: {0}, Name: {1}, Path: {2}, Id: {3}",
|
||||
item.GetType().Name,
|
||||
item.Name ?? "Unknown name",
|
||||
item.Path ?? string.Empty,
|
||||
item.Id);
|
||||
}
|
||||
else
|
||||
{
|
||||
_logger.Info("Deleting item, Type: {0}, Name: {1}, Path: {2}, Id: {3}",
|
||||
item.GetType().Name,
|
||||
item.Name ?? "Unknown name",
|
||||
item.Path ?? string.Empty,
|
||||
item.Id);
|
||||
}
|
||||
|
||||
var parent = item.Parent;
|
||||
|
||||
|
|
|
@ -145,6 +145,7 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts
|
|||
},
|
||||
RequiresOpening = true,
|
||||
RequiresClosing = true,
|
||||
RequiresLooping = true,
|
||||
|
||||
ReadAtNativeFramerate = false,
|
||||
|
||||
|
|
|
@ -484,7 +484,7 @@ namespace MediaBrowser.Controller.Entities
|
|||
return new[] {
|
||||
new FileSystemMetadata
|
||||
{
|
||||
FullName = System.IO.Path.GetDirectoryName(Path),
|
||||
FullName = ContainingFolderPath,
|
||||
IsDirectory = true
|
||||
}
|
||||
};
|
||||
|
|
|
@ -719,8 +719,8 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
}
|
||||
}
|
||||
// nvenc doesn't decode with param -level set ?!
|
||||
if (string.Equals(videoEncoder, "h264_nvenc", StringComparison.OrdinalIgnoreCase)){
|
||||
param += "";
|
||||
else if (string.Equals(videoEncoder, "h264_nvenc", StringComparison.OrdinalIgnoreCase)){
|
||||
//param += "";
|
||||
}
|
||||
else if (!string.Equals(videoEncoder, "h264_omx", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
|
@ -1606,6 +1606,11 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
}
|
||||
}
|
||||
|
||||
if (state.MediaSource.RequiresLooping)
|
||||
{
|
||||
inputModifier += " -stream_loop -1";
|
||||
}
|
||||
|
||||
return inputModifier;
|
||||
}
|
||||
|
||||
|
|
|
@ -40,6 +40,8 @@ namespace MediaBrowser.Model.Dto
|
|||
public string LiveStreamId { get; set; }
|
||||
public int? BufferMs { get; set; }
|
||||
|
||||
public bool RequiresLooping { get; set; }
|
||||
|
||||
public VideoType? VideoType { get; set; }
|
||||
|
||||
public IsoType? IsoType { get; set; }
|
||||
|
|
|
@ -280,9 +280,7 @@ namespace MediaBrowser.WebDashboard.Api
|
|||
|
||||
var files = new List<string>();
|
||||
|
||||
files.Add("bower_components/requirejs/require.js" + versionString);
|
||||
|
||||
files.Add("scripts/site.js" + versionString);
|
||||
files.Add("scripts/apploader.js" + versionString);
|
||||
|
||||
if (string.Equals(mode, "cordova", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("3.2.12.4")]
|
||||
[assembly: AssemblyVersion("3.2.12.5")]
|
||||
|
|
Loading…
Reference in New Issue
Block a user