remember user audio/subtitle selections

This commit is contained in:
Luke Pulverenti
2016-02-20 18:06:57 -05:00
parent dacdfd272a
commit e700aff047
7 changed files with 97 additions and 20 deletions

View File

@@ -639,6 +639,8 @@ namespace MediaBrowser.Server.Implementations.Dto
private IEnumerable<string> GetCacheTags(BaseItem item, ImageType type, int limit)
{
return item.GetImages(type)
// Convert to a list now in case GetImageCacheTag is slow
.ToList()
.Select(p => GetImageCacheTag(item, p))
.Where(i => i != null)
.Take(limit)