Closed EdMartens closed 1 week ago
Thanks for reporting. I think I have found the bug. If you are familiar with Kodi.s addon structure and you can edit a Python file, pls. navigate to:
.kodi/addons/plugin.audio.radiode/src/libs/radionet_api
and open file
radionet_api.py
Within this file change line 264 to
response = urlopen(req)
The error is giving "url" instead of "req" to urlopen(). This fixes the issue with respect to your station. I need some more investigation, maybe this has some side-effects for m3u station files. If you can fix that on your side, pls. play around with some stations and let me know if everything works fine.
Hi fivebanger, This worked indeed and so far no other issues discovered after this change. Thanks and keep up the good work ;-)
Fixed with v1.1.4
The stream Joe Nederland is playable throught the website of radio.de. But when playing with the app, it give stream error. When added to my_station, it give the following data:
{"data": {"id": "joenederland", "name": "Joe Nederland", "icon_url": "https://station-images.prod.radio-api.net/300/joenederland.png?version=872cce1435734b3f43a086b04b84e528", "stream_url": "https://stream.joe.nl/joe/aachigh"}, "mode": "play_stream"}
In the logs: 2024-09-25 13:59:32.659 T:1574 warning: CreateLoader - unsupported protocol(rhttps) in rhttps://cdn-profiles.tunein.com/s307829/images/logod.png
2024-09-25 13:59:35.423 T:1582 error : resolve_url error, url: https://stream.joe.nl/joe/aachigh, error: HTTP Error 403: Forbidden
The real url is : https://icecast-qmusicnl-cdp.triple-it.nl/Joe_nl_high.aac
When change the stream_url in the json file
the GUI error is the same; cannot play stream: But in the log files:
2024-09-25 14:08:20.681 T:1685 error: [Radio.de] play error Joe Nederland, id: joenederland, url: None
2024-09-25 14:08:20.876 T:1109 error : Playlist Player: skipping unplayable item: 2, path [plugin://plugin.audio.radiode/?mode=play_stream&data=%7B%22id%22%3A+%22joenederland%22%2C+%22name%22%3A+%22Joe+Nederland+1%22%2C+%22icon_url%22%3A+%22https%3A%2F%2Fstation-images.prod.radio-api.net%2F300%2Fjoenederland.png%3Fversion%3D872cce1435734b3f43a086b04b84e528%22%2C+%22stream_url%22%3A+%22https%3A%2F%2Ficecast-qmusicnl-cdp.triple-it.nl%2FJoe_nl_high.aac%22%7D]
2024-09-25 14:08:20.876 T:1109 warning : Attempt to set unplayable index 2
Using RPI 3b, libreelec 12.01 and radio.de 1.1.3