From b04847859dfde8ff5ad559717f6b59a383e4cd46 Mon Sep 17 00:00:00 2001 From: Bas Rieter Date: Sat, 23 Nov 2024 16:02:29 +0100 Subject: [PATCH 1/2] Fixed: ONS images. --- channels/channel.videos/ons/chn_ons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/channel.videos/ons/chn_ons.py b/channels/channel.videos/ons/chn_ons.py index cc927e20..db3c218e 100644 --- a/channels/channel.videos/ons/chn_ons.py +++ b/channels/channel.videos/ons/chn_ons.py @@ -71,7 +71,7 @@ def create_video_item(self, result_set: dict): url = f"http://api.ibbroadcast.nl/clips.ashx?key={self.api_key}&mode=getclip&id={clip_id}&output=json" item = MediaItem(name, url, media_type=mediatype.EPISODE) item.description = result_set["description"] - item.set_artwork(thumb=result_set["screenshot"]) + item.set_artwork(thumb=result_set.get("screenshot")) # date: '01-02-2024 11:15:09' changed = result_set.get("changedate") From 92b5e9d6d33c246e6bd162b9eb9edf2553b7f8b8 Mon Sep 17 00:00:00 2001 From: Bas Rieter Date: Sat, 23 Nov 2024 16:26:13 +0100 Subject: [PATCH 2/2] Fixed: Don't use HVEC for SVT (Fixes #1865). --- changelog.txt | 1 + channels/channel.se/svt/chn_svt.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 64c405de..2c0cc79d 100644 --- a/changelog.txt +++ b/changelog.txt @@ -12,3 +12,4 @@ _None_ * Fixed: NPO Plus content not showing (Fixes #1862). * Fixed: Some TV4 content (with encryption) was not playing (Fixes #1853). * Fixed: Revoking a device from Videoland.nl broke Retrospect listing (Fixes #1852). +* Fixed: Don't use HVEC for SVT (Fixes #1865). \ No newline at end of file diff --git a/channels/channel.se/svt/chn_svt.py b/channels/channel.se/svt/chn_svt.py index 75997397..1ac1ca28 100644 --- a/channels/channel.se/svt/chn_svt.py +++ b/channels/channel.se/svt/chn_svt.py @@ -1358,11 +1358,12 @@ def __update_item_from_video_references(self, item, videos, subtitles=None, righ # For HLS: # "hls-cmaf-full" has x264/x264 with 5.1 # "hls"/"hls-ts-avc" has x264 and 2.0 audio + # hls-ts-full has x264 with 5.1 audio # LB = Low Bandwidth if in_sweden or not item.isGeoLocked: - supported_formats = {"hls": 10, "hls-ts-full": 12, "hls-cmaf-full": 13} + supported_formats = {"hls": 10, "hls-ts-full": 12, "hls-cmaf-full": 0} if not is_drm_protected: supported_formats.update({"dash": 3, "dash-hbbtv-avc": 4, "dashhbbtv": 4}) else: