Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/332b72f821e9927a2eb139be5af5821ceac1f3e5 You should set ROOT_URL correctly, otherwise the web may not work correctly.

update detail layout

pull/702/head
Luke Pulverenti 10 years ago
parent 3787af4c9c
commit 332b72f821

@ -32,8 +32,9 @@ namespace MediaBrowser.Server.Implementations.LiveTv.TunerHosts
public async Task<IEnumerable<ChannelInfo>> GetChannels(TunerHostInfo tuner, bool enableCache, CancellationToken cancellationToken)
{
ChannelCache cache = null;
var key = tuner.Id;
if (enableCache && _channelCache.TryGetValue(tuner.Id, out cache))
if (enableCache && !string.IsNullOrWhiteSpace(key) && _channelCache.TryGetValue(key, out cache))
{
if ((DateTime.UtcNow - cache.Date) < TimeSpan.FromMinutes(60))
{
@ -48,7 +49,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.TunerHosts
cache.Date = DateTime.UtcNow;
cache.Channels = result.ToList();
_channelCache.AddOrUpdate(tuner.Id, cache, (k, v) => cache);
_channelCache.AddOrUpdate(key, cache, (k, v) => cache);
return cache.Channels.ToList();
}

Loading…
Cancel
Save