Skip to content

Commit

Permalink
Merge branch '1865-filter-out-hevc'
Browse files Browse the repository at this point in the history
  • Loading branch information
basrieter committed Nov 26, 2024
2 parents 1af5e38 + 92b5e9d commit 96ec4dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ _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: BVN Images did not show (Fixes #1864).
* Fixed: BVN Images did not show (Fixes #1864).
* 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
2 changes: 1 addition & 1 deletion channels/channel.videos/ons/chn_ons.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 96ec4dc

Please sign in to comment.