Merge pull request #3028 from MediaBrowser/dev

3.2.36.15
pull/1154/head
Luke 7 years ago committed by GitHub
commit a803326671

@ -32,7 +32,7 @@ namespace Emby.Server.Implementations.Library.Resolvers.Audio
/// <value>The priority.</value> /// <value>The priority.</value>
public override ResolverPriority Priority public override ResolverPriority Priority
{ {
get { return ResolverPriority.Last; } get { return ResolverPriority.Fourth; }
} }
public MultiItemResolverResult ResolveMultiple(Folder parent, public MultiItemResolverResult ResolveMultiple(Folder parent,
@ -220,13 +220,19 @@ namespace Emby.Server.Implementations.Library.Resolvers.Audio
foreach (var resolvedItem in resolverResult) foreach (var resolvedItem in resolverResult)
{ {
if (resolvedItem.Files.Count > 1)
{
// For now, until we sort out naming for multi-part books
continue;
}
var firstMedia = resolvedItem.Files.First(); var firstMedia = resolvedItem.Files.First();
var libraryItem = new T var libraryItem = new T
{ {
Path = firstMedia.Path, Path = firstMedia.Path,
IsInMixedFolder = isInMixedFolder, IsInMixedFolder = isInMixedFolder,
//ProductionYear = resolvedItem.Year, ProductionYear = resolvedItem.Year,
Name = parseName ? Name = parseName ?
resolvedItem.Name : resolvedItem.Name :
Path.GetFileNameWithoutExtension(firstMedia.Path), Path.GetFileNameWithoutExtension(firstMedia.Path),

@ -67,7 +67,7 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts
var contentType = response.ContentType ?? string.Empty; var contentType = response.ContentType ?? string.Empty;
if (contentType.IndexOf("matroska", StringComparison.OrdinalIgnoreCase) != -1) if (contentType.IndexOf("matroska", StringComparison.OrdinalIgnoreCase) != -1)
{ {
extension = "mkv"; requiresRemux = true;
} }
else if (contentType.IndexOf("mp4", StringComparison.OrdinalIgnoreCase) != -1 || else if (contentType.IndexOf("mp4", StringComparison.OrdinalIgnoreCase) != -1 ||
contentType.IndexOf("dash", StringComparison.OrdinalIgnoreCase) != -1 || contentType.IndexOf("dash", StringComparison.OrdinalIgnoreCase) != -1 ||
@ -97,6 +97,14 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts
OpenedMediaSource.Path = _appHost.GetLocalApiUrl("127.0.0.1") + "/LiveTv/LiveStreamFiles/" + UniqueId + "/stream.ts"; OpenedMediaSource.Path = _appHost.GetLocalApiUrl("127.0.0.1") + "/LiveTv/LiveStreamFiles/" + UniqueId + "/stream.ts";
OpenedMediaSource.Protocol = MediaProtocol.Http; OpenedMediaSource.Protocol = MediaProtocol.Http;
if (OpenedMediaSource.SupportsProbing)
{
await Task.Delay(3000).ConfigureAwait(false);
}
//OpenedMediaSource.Path = TempFilePath;
//OpenedMediaSource.Protocol = MediaProtocol.File;
//OpenedMediaSource.Path = _tempFilePath; //OpenedMediaSource.Path = _tempFilePath;
//OpenedMediaSource.Protocol = MediaProtocol.File; //OpenedMediaSource.Protocol = MediaProtocol.File;
//OpenedMediaSource.SupportsDirectPlay = false; //OpenedMediaSource.SupportsDirectPlay = false;

@ -1,3 +1,3 @@
using System.Reflection; using System.Reflection;
[assembly: AssemblyVersion("3.2.36.14")] [assembly: AssemblyVersion("3.2.36.15")]

Loading…
Cancel
Save