mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-27 10:00:53 +01:00
update live tv
This commit is contained in:
@@ -544,16 +544,16 @@ namespace MediaBrowser.Server.Implementations.LiveTv
|
||||
|
||||
var replaceImages = new List<ImageType>();
|
||||
|
||||
if (!string.Equals(item.ProviderImageUrl, channelInfo.ImageUrl, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
isNew = true;
|
||||
replaceImages.Add(ImageType.Primary);
|
||||
}
|
||||
if (!string.Equals(item.ProviderImagePath, channelInfo.ImagePath, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
isNew = true;
|
||||
replaceImages.Add(ImageType.Primary);
|
||||
}
|
||||
//if (!string.Equals(item.ProviderImageUrl, channelInfo.ImageUrl, StringComparison.OrdinalIgnoreCase))
|
||||
//{
|
||||
// isNew = true;
|
||||
// replaceImages.Add(ImageType.Primary);
|
||||
//}
|
||||
//if (!string.Equals(item.ProviderImagePath, channelInfo.ImagePath, StringComparison.OrdinalIgnoreCase))
|
||||
//{
|
||||
// isNew = true;
|
||||
// replaceImages.Add(ImageType.Primary);
|
||||
//}
|
||||
|
||||
item.ProviderImageUrl = channelInfo.ImageUrl;
|
||||
item.HasProviderImage = channelInfo.HasImage;
|
||||
|
||||
@@ -325,7 +325,8 @@ namespace MediaBrowser.Server.Implementations.LiveTv.TunerHosts.HdHomerun
|
||||
|
||||
if (model.IndexOf("hdtc", StringComparison.OrdinalIgnoreCase) != -1)
|
||||
{
|
||||
list.Add(GetMediaSource(info, channelId, "heavy"));
|
||||
list.Insert(0, GetMediaSource(info, channelId, "heavy"));
|
||||
|
||||
list.Add(GetMediaSource(info, channelId, "internet480"));
|
||||
list.Add(GetMediaSource(info, channelId, "internet360"));
|
||||
list.Add(GetMediaSource(info, channelId, "internet240"));
|
||||
|
||||
Reference in New Issue
Block a user