Skip to content

Commit 3608b82

Browse files
authored
[plugin.audio.podcasts] 2.3.3 (#4748)
1 parent 2f90244 commit 3608b82

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

plugin.audio.podcasts/addon.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2-
<addon id="plugin.audio.podcasts" name="RSS Podcasts" version="2.3.2" provider-name="Heckie">
2+
<addon id="plugin.audio.podcasts" name="RSS Podcasts" version="2.3.3" provider-name="Heckie">
33
<requires>
44
<import addon="xbmc.python" version="3.0.0" />
55
<import addon="script.module.requests" version="2.25.1" />
@@ -26,6 +26,9 @@ Dateien direkt eingehängt werden.
2626
<website>https://github.com/Heckie75/kodi-addon-podcast</website>
2727
<source>https://github.com/Heckie75/kodi-addon-podcast</source>
2828
<news>
29+
v2.3.3 (2026-02-15)
30+
- Fixed bug: Search in fyyd.de. API of fyyd.de changed. Search term is now "title" instead of "term".
31+
2932
v2.3.2 (2024-01-21)
3033
- Fixed bug #23: Addon crashes immediately after starting it (prob. MS Windows only)
3134

plugin.audio.podcasts/resources/lib/podcasts/fyyd.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class Fyyd:
99

1010
_FYYD_API = {
11-
"search": "https://api.fyyd.de/0.2/search/podcast?term=%s"
11+
"search": "https://api.fyyd.de/0.2/search/podcast?title=%s"
1212
}
1313

1414
_addon = None
@@ -22,4 +22,10 @@ def search_podcasts(self, term: str) -> dict:
2222
response, cookies = http_request(self._addon,
2323
self._FYYD_API["search"] % urllib.parse.quote(term))
2424

25-
return json.loads(response)
25+
try:
26+
return json.loads(response)
27+
except json.JSONDecodeError as error:
28+
return {
29+
"msg": "error",
30+
"error": self._addon.getLocalizedString(32126) % error.msg
31+
}

0 commit comments

Comments
 (0)