Skip to content

Commit d49537e

Browse files
committed
Fix custom stations if the url is not a playlist
1 parent cd6da09 commit d49537e

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

addon.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<addon id="plugin.audio.radio_de" name="Radio" provider-name="Tristan Fischer, enen92" version="3.0.1+matrix.1">
1+
<addon id="plugin.audio.radio_de" name="Radio" provider-name="Tristan Fischer, enen92" version="3.0.2+matrix.1">
22
<requires>
33
<import addon="xbmc.python" version="3.0.0" />
44
<import addon="script.module.xbmcswift2" version="19.0.0" />
@@ -12,8 +12,8 @@
1212
<source>https://github.com/XBMC-Addons/plugin.audio.radio_de</source>
1313
<forum>https://forum.kodi.tv/showthread.php?tid=119362</forum>
1414
<license>GPL-2.0-only</license>
15-
<news>v3.0.1+matrix.1 (13/4/2020)
16-
[new] Use internal playlist resolver also in custom stations
15+
<news>v3.0.2+matrix.1 (13/4/2020)
16+
[fix] Custom stations if the url is not a playlist
1717
</news>
1818
<summary lang="be_BY">Access &gt;7000 radio broadcasts</summary>
1919
<summary lang="ca_ES">accedeix a mes de 7000 emissores de radio</summary>

changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
v3.0.2+matrix.1 (1/5/2020)
2+
- [fix] Custom stations if the url is not a playlist
3+
14
v3.0.1+matrix.1 (13/4/2020)
25
- [new] Use internal playlist resolver also in custom stations
36

resources/lib/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def internal_resolver(self, station, ):
139139
if self.__check_paylist(stream_url):
140140
return self.__resolve_playlist(station)
141141
else:
142-
return station
142+
return stream_url
143143

144144
def get_top_stations(self, sizeperpage, pageindex):
145145
self.log(('get_top_stations started with '

0 commit comments

Comments
 (0)