aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/LibraryManager.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-07-23 10:31:31 +0200
committerGitHub <noreply@github.com>2020-07-23 10:31:31 +0200
commite9758bde2a47c7d702ac5188d0c0ca813df5c26b (patch)
treefa6051a988bfea4048d403b4147a3c5b9ebf9946 /Emby.Server.Implementations/Library/LibraryManager.cs
parent6b11cccb7fc0bb0320a4f4c4241e6509f2bfc716 (diff)
parente973757485e1c76979a17f8d2dc94f664f2f5ad0 (diff)
Merge pull request #3649 from thornbill/fix-epg-update-maybe
Skip image processing for live tv sources
Diffstat (limited to 'Emby.Server.Implementations/Library/LibraryManager.cs')
-rw-r--r--Emby.Server.Implementations/Library/LibraryManager.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs
index c27b73c74..51c19fde7 100644
--- a/Emby.Server.Implementations/Library/LibraryManager.cs
+++ b/Emby.Server.Implementations/Library/LibraryManager.cs
@@ -1876,7 +1876,8 @@ namespace Emby.Server.Implementations.Library
}
var outdated = forceUpdate ? item.ImageInfos.Where(i => i.Path != null).ToArray() : item.ImageInfos.Where(ImageNeedsRefresh).ToArray();
- if (outdated.Length == 0)
+ // Skip image processing if current or live tv source
+ if (outdated.Length == 0 || item.SourceType != SourceType.Library)
{
RegisterItem(item);
return;