Skip to content

Commit

Permalink
[plugin.audio.bbcpodcasts] 2.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Heckie75 committed Feb 22, 2024
1 parent 356e2d5 commit 99c7078
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion plugin.audio.bbcpodcasts/addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.audio.bbcpodcasts" name="BBC Podcasts" version="2.0.6" provider-name="Heckie">
<addon id="plugin.audio.bbcpodcasts" name="BBC Podcasts" version="2.0.7" provider-name="Heckie">
<requires>
<import addon="xbmc.python" version="3.0.0" />
<import addon="script.module.requests" version="2.25.1" />
Expand All @@ -23,6 +23,9 @@
<website>https://github.com/Heckie75/kodi-addon-bbc-podcasts</website>
<source>https://github.com/Heckie75/kodi-addon-bbc-podcasts/tree/main/plugin.audio.bbcpodcasts</source>
<news>
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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 99c7078

Please sign in to comment.