From b5d679212d6d7d46570b9fc12e844aa0f061e63b Mon Sep 17 00:00:00 2001 From: Jason Dove <1695733+jasongdove@users.noreply.github.com> Date: Wed, 3 Jul 2024 12:14:40 -0500 Subject: [PATCH] cache bust xmltv images (#1771) --- CHANGELOG.md | 4 ++++ .../Channels/Queries/GetChannelGuideHandler.cs | 6 ++++-- .../Plex/Models/PlexMediaContainerResponse.cs | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04c997e37..170e5faf6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Items in these libraries will have tag metadata added from folders just like local Other Video libraries - Thanks @raknam for adding this feature! +### Fixed +- Add basic cache busting to XMLTV image URLs + - This should help with clients not showing correct channel logos or posters + ### Changed - Remove some unnecessary API calls related to media server scanning and paging diff --git a/ErsatzTV.Application/Channels/Queries/GetChannelGuideHandler.cs b/ErsatzTV.Application/Channels/Queries/GetChannelGuideHandler.cs index 68bfe1566..4fbec5ceb 100644 --- a/ErsatzTV.Application/Channels/Queries/GetChannelGuideHandler.cs +++ b/ErsatzTV.Application/Channels/Queries/GetChannelGuideHandler.cs @@ -36,10 +36,12 @@ public class GetChannelGuideHandler : IRequestHandler public class PlexMediaContainerDirectoryContent { - public List Directory { get; set; } + public List Directory { get; set; } = []; } public class PlexMediaContainerMetadataContent