update hls
This commit is contained in:
parent
2255f126f7
commit
274d8176b3
|
@ -326,7 +326,7 @@ namespace MediaBrowser.Api.Playback.Hls
|
|||
var length = frame - previousSegment;
|
||||
|
||||
// Don't allow really long segments because this could result in long download times
|
||||
if (length > 12000)
|
||||
if (length > 10000)
|
||||
{
|
||||
Logger.Debug("Cannot stream copy video due to long segment length of {0}ms", length);
|
||||
return false;
|
||||
|
|
|
@ -127,7 +127,7 @@ namespace MediaBrowser.Providers.Folders
|
|||
|
||||
if (view != null)
|
||||
{
|
||||
return !view.UserId.HasValue;
|
||||
return true;
|
||||
}
|
||||
|
||||
return item is ICollectionFolder;
|
||||
|
|
|
@ -1,41 +1,12 @@
|
|||
using MediaBrowser.Common.Configuration;
|
||||
using MediaBrowser.Common.Security;
|
||||
using MediaBrowser.Controller.Plugins;
|
||||
using MediaBrowser.Model.LiveTv;
|
||||
using MediaBrowser.Controller.Plugins;
|
||||
|
||||
namespace MediaBrowser.Server.Implementations.LiveTv.EmbyTV
|
||||
{
|
||||
public class EntryPoint : IServerEntryPoint
|
||||
{
|
||||
private readonly IConfigurationManager _config;
|
||||
private readonly ISecurityManager _manager;
|
||||
|
||||
public EntryPoint(IConfigurationManager config, ISecurityManager manager)
|
||||
{
|
||||
_config = config;
|
||||
_manager = manager;
|
||||
}
|
||||
|
||||
public async void Run()
|
||||
public void Run()
|
||||
{
|
||||
EmbyTV.Current.Start();
|
||||
|
||||
if (GetConfiguration().ListingProviders.Count > 0 || GetConfiguration().TunerHosts.Count > 0)
|
||||
{
|
||||
try
|
||||
{
|
||||
await _manager.GetRegistrationStatus("livetvguide").ConfigureAwait(false);
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private LiveTvOptions GetConfiguration()
|
||||
{
|
||||
return _config.GetConfiguration<LiveTvOptions>("livetv");
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>MediaBrowser.Common.Internal</id>
|
||||
<version>3.0.632</version>
|
||||
<version>3.0.633</version>
|
||||
<title>MediaBrowser.Common.Internal</title>
|
||||
<authors>Luke</authors>
|
||||
<owners>ebr,Luke,scottisafool</owners>
|
||||
|
@ -12,7 +12,7 @@
|
|||
<description>Contains common components shared by Emby Theater and Emby Server. Not intended for plugin developer consumption.</description>
|
||||
<copyright>Copyright © Emby 2013</copyright>
|
||||
<dependencies>
|
||||
<dependency id="MediaBrowser.Common" version="3.0.632" />
|
||||
<dependency id="MediaBrowser.Common" version="3.0.633" />
|
||||
<dependency id="NLog" version="3.2.1" />
|
||||
<dependency id="SimpleInjector" version="2.8.0" />
|
||||
</dependencies>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>MediaBrowser.Common</id>
|
||||
<version>3.0.632</version>
|
||||
<version>3.0.633</version>
|
||||
<title>MediaBrowser.Common</title>
|
||||
<authors>Emby Team</authors>
|
||||
<owners>ebr,Luke,scottisafool</owners>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>MediaBrowser.Model.Signed</id>
|
||||
<version>3.0.632</version>
|
||||
<version>3.0.633</version>
|
||||
<title>MediaBrowser.Model - Signed Edition</title>
|
||||
<authors>Emby Team</authors>
|
||||
<owners>ebr,Luke,scottisafool</owners>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>MediaBrowser.Server.Core</id>
|
||||
<version>3.0.632</version>
|
||||
<version>3.0.633</version>
|
||||
<title>Media Browser.Server.Core</title>
|
||||
<authors>Emby Team</authors>
|
||||
<owners>ebr,Luke,scottisafool</owners>
|
||||
|
@ -12,7 +12,7 @@
|
|||
<description>Contains core components required to build plugins for Emby Server.</description>
|
||||
<copyright>Copyright © Emby 2013</copyright>
|
||||
<dependencies>
|
||||
<dependency id="MediaBrowser.Common" version="3.0.632" />
|
||||
<dependency id="MediaBrowser.Common" version="3.0.633" />
|
||||
<dependency id="Interfaces.IO" version="1.0.0.5" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
|
|
Loading…
Reference in New Issue
Block a user