Skip to content

Commit

Permalink
Fixed: Don't use HVEC for SVT (Fixes #1865).
Browse files Browse the repository at this point in the history
  • Loading branch information
basrieter committed Nov 23, 2024
1 parent b048478 commit 92b5e9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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).
3 changes: 2 additions & 1 deletion channels/channel.se/svt/chn_svt.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 92b5e9d

Please sign in to comment.