Skip to content

Commit

Permalink
fixed json schema #7 [matrix]
Browse files Browse the repository at this point in the history
  • Loading branch information
s0faking committed Sep 22, 2022
1 parent c100236 commit 6ea5d20
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
9 changes: 3 additions & 6 deletions 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.radiothek" name="ORF Radiothek" version="0.1.2+matrix.1" provider-name="sofaking">
<addon id="plugin.audio.radiothek" name="ORF Radiothek" version="0.1.3+matrix.1" provider-name="sofaking">
<requires>
<import addon="xbmc.python" version="3.0.0" />
</requires>
Expand All @@ -18,11 +18,8 @@
<website>https://radiothek.orf.at</website>
<forum>https://forum.kodi.tv/showthread.php?tid=350090</forum>
<source>https://github.com/s0faking/plugin.audio.radiothek</source>
<news>v0.1.2+matrix.1 (03/04/2021)
[fix] version tag fix
[fix] Shoutcast Livestream pattern changed.
[feature] Added settings for livestream (Shoutcast/HLS)
[feature] Added quality settings
<news>v0.1.3+matrix.1 (22/09/2021)
[fix] New schema url sound.orf.at
</news>
<assets>
<icon>icon.png</icon>
Expand Down
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
0.1.3+matrix.1
- New schema url sound.orf.at

0.1.2+matrix.1
- version tag fix
- Shoutcast livestream pattern changed.
Expand Down
4 changes: 2 additions & 2 deletions resources/lib/RadioThek.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

class RadioThek:
local_resource_path = "./"
api_ref = "https://radiothek.orf.at/js/app.769b3884.js"
api_ref = "https://orf.at/app-infos/sound/web/1.0/bundle.json?_o=sound.orf.at"
api_base = "https://audioapi.orf.at"
tag_url = "/radiothek/api/tags/%s"
broadcast_url = "/%s/json/4.0/broadcasts"
Expand Down Expand Up @@ -591,7 +591,7 @@ def get_search(self, query):
def get_api_reference(self):
if not self.api_reference:
content = self.request_url(self.api_ref, True, False)
self.api_reference = get_js_json(content)
self.api_reference = json.loads(content)
return self.api_reference

def get_stapled(self):
Expand Down

0 comments on commit 6ea5d20

Please sign in to comment.