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