From 99c7078a4714143221646e915cbcc01875f680b3 Mon Sep 17 00:00:00 2001 From: Heckie75 Date: Thu, 22 Feb 2024 21:09:01 +0100 Subject: [PATCH] [plugin.audio.bbcpodcasts] 2.0.7 --- plugin.audio.bbcpodcasts/addon.xml | 5 ++++- .../resources/lib/bbcpodcasts/bbcpodcastsaddon.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/plugin.audio.bbcpodcasts/addon.xml b/plugin.audio.bbcpodcasts/addon.xml index 53f348a4b..b517abc90 100644 --- a/plugin.audio.bbcpodcasts/addon.xml +++ b/plugin.audio.bbcpodcasts/addon.xml @@ -1,5 +1,5 @@ - + @@ -23,6 +23,9 @@ https://github.com/Heckie75/kodi-addon-bbc-podcasts https://github.com/Heckie75/kodi-addon-bbc-podcasts/tree/main/plugin.audio.bbcpodcasts +v2.0.7 (2024-02-21) +- Minor bugfix + v2.0.6 (2024-02-10) - Changed parser after changes on website, i.e. switched to API diff --git a/plugin.audio.bbcpodcasts/resources/lib/bbcpodcasts/bbcpodcastsaddon.py b/plugin.audio.bbcpodcasts/resources/lib/bbcpodcasts/bbcpodcastsaddon.py index 7aa25582f..2c09d9a75 100644 --- a/plugin.audio.bbcpodcasts/resources/lib/bbcpodcasts/bbcpodcastsaddon.py +++ b/plugin.audio.bbcpodcasts/resources/lib/bbcpodcasts/bbcpodcastsaddon.py @@ -59,7 +59,7 @@ def _get_podcasts(self, url: str, params: 'dict[str]') -> 'list[dict]': entries = list() for _d in _json["data"]: - if "uris" not in _d or "download" not in _d or not _d["download"] or "quality_variants" not in _d["download"]: + if "uris" not in _d or "download" not in _d or not _d["download"] or "quality_variants" not in _d["download"] or not _d["container"]: continue has_media = [True for _quality in _d["download"]["quality_variants"]