diff options
| author | Nyanmisaka <nst799610810@gmail.com> | 2024-08-05 16:37:09 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-05 16:37:09 +0800 |
| commit | 2aa9cf4007c0217a8b4868f90f9295a395637277 (patch) | |
| tree | c47f46524118e9b5b1623cfe8a913001b4530865 /src/Jellyfin.LiveTv/Guide/GuideManager.cs | |
| parent | 00088c295445fe2710cae468e1b09f98a32e40a5 (diff) | |
| parent | 7ea91dfcc4030892fff164d49969f6e85c8493fe (diff) | |
Merge branch 'master' into fix-hwa-video-rotation
Diffstat (limited to 'src/Jellyfin.LiveTv/Guide/GuideManager.cs')
| -rw-r--r-- | src/Jellyfin.LiveTv/Guide/GuideManager.cs | 5 |
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)) |
