Răsfoiți Sursa

update polymer

Luke Pulverenti 9 ani în urmă
părinte
comite
6271ca99c8

+ 1 - 1
Emby.Drawing/ImageProcessor.cs

@@ -230,7 +230,7 @@ namespace Emby.Drawing
                     _imageEncoder.EncodeImage(originalImagePath, cacheFilePath, newWidth, newHeight, quality, options);
 
                     // ImageMagick doesn't seem to always release it right away
-                    await Task.Delay(100).ConfigureAwait(false);
+                    await Task.Delay(300).ConfigureAwait(false);
                 }
             }
             finally

+ 6 - 1
MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs

@@ -554,8 +554,13 @@ namespace MediaBrowser.Server.Implementations.LiveTv
                 isNew = true;
             }
 
-            item.ChannelType = channelInfo.ChannelType;
+            if (!string.Equals(channelInfo.Id, item.ExternalId))
+            {
+                isNew = true;
+            }
             item.ExternalId = channelInfo.Id;
+
+            item.ChannelType = channelInfo.ChannelType;
             item.ServiceName = serviceName;
             item.Number = channelInfo.Number;