Explorar o código

update channel image urls

Luke Pulverenti %!s(int64=8) %!d(string=hai) anos
pai
achega
9a59d12241
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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;
                     }
+                    if (!string.IsNullOrWhiteSpace(epgChannel.ImageUrl))
+                    {
+                        tunerChannel.ImageUrl = epgChannel.ImageUrl;
+                        tunerChannel.HasImage = true;
+                    }
                 }
             }
         }