dlna fixes

This commit is contained in:
Luke Pulverenti
2014-05-18 17:23:03 -04:00
parent 3ccecd3ca3
commit cf4adb8438
7 changed files with 80 additions and 51 deletions

View File

@@ -162,8 +162,9 @@ namespace MediaBrowser.Server.Implementations.Channels
var channelGuid = new Guid(item.ChannelId);
var channel = _channelEntities.First(i => i.Id == channelGuid);
var internalChannel = _channels.First(i => string.Equals(i.Name, channel.OriginalChannelName, StringComparison.OrdinalIgnoreCase));
var requiresCallback = channel as IRequiresMediaInfoCallback;
var requiresCallback = internalChannel as IRequiresMediaInfoCallback;
if (requiresCallback != null)
{
@@ -403,7 +404,7 @@ namespace MediaBrowser.Server.Implementations.Channels
private string GetIdToHash(string externalId)
{
// Increment this as needed to force new downloads
return externalId + "7";
return externalId + "8";
}
private async Task<BaseItem> GetChannelItemEntity(ChannelItemInfo info, string internalChannnelId, CancellationToken cancellationToken)