aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNyanmisaka <nst799610810@gmail.com>2024-08-05 16:37:09 +0800
committerGitHub <noreply@github.com>2024-08-05 16:37:09 +0800
commit2aa9cf4007c0217a8b4868f90f9295a395637277 (patch)
treec47f46524118e9b5b1623cfe8a913001b4530865 /src
parent00088c295445fe2710cae468e1b09f98a32e40a5 (diff)
parent7ea91dfcc4030892fff164d49969f6e85c8493fe (diff)
Merge branch 'master' into fix-hwa-video-rotation
Diffstat (limited to 'src')
-rw-r--r--src/Jellyfin.LiveTv/Guide/GuideManager.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Jellyfin.LiveTv/Guide/GuideManager.cs b/src/Jellyfin.LiveTv/Guide/GuideManager.cs
index 093970c38..f657422a0 100644
--- a/src/Jellyfin.LiveTv/Guide/GuideManager.cs
+++ b/src/Jellyfin.LiveTv/Guide/GuideManager.cs
@@ -479,10 +479,7 @@ public class GuideManager : IGuideManager
DateModified = DateTime.UtcNow
};
- if (!string.IsNullOrEmpty(info.Etag))
- {
- item.SetProviderId(EtagKey, info.Etag);
- }
+ item.TrySetProviderId(EtagKey, info.Etag);
}
if (!string.Equals(info.ShowId, item.ShowId, StringComparison.OrdinalIgnoreCase))