浏览代码

update channel image urls

Luke Pulverenti 8 年之前
父节点
当前提交
9a59d12241
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs

+ 5 - 0
Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs

@@ -423,6 +423,11 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTV
                     {
                     {
                         tunerChannel.Name = epgChannel.Name;
                         tunerChannel.Name = epgChannel.Name;
                     }
                     }
+                    if (!string.IsNullOrWhiteSpace(epgChannel.ImageUrl))
+                    {
+                        tunerChannel.ImageUrl = epgChannel.ImageUrl;
+                        tunerChannel.HasImage = true;
+                    }
                 }
                 }
             }
             }
         }
         }