Kodi Community Forum

Full Version: [RELEASE] Radio Add-on (rad.io, radio.de, radio.fr, radio.pt, radio.es) Music Plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
(2019-12-31, 11:33)C.O.D. Wrote: [ -> ]Yeah, thanks 4 fixing all this, a really great addon again!
Problem now: All the custom stations that l created and never had a problem with are producing errors since latest release.
Try adding
http://stream.radioparadise.com/rock-320
as custom station - doesn't work here.
Maybe I can post a log later if necessary...

Thanks for the feedback. It is highly likely that some stuff may not work as the last version was almost a full re-write of the addon using a newer radio.de API.
Also a note: podcasts are not yet supported and will crash kodi if you attempt to play them.
I'll continue to improve the plugin based on the feedback users provide.

@C.O.D. fixed in https://github.com/xbmc/repo-plugins/pull/2664 and available once it gets merged.
(2019-12-31, 12:14)enen92 Wrote: [ -> ]
(2019-12-31, 11:33)C.O.D. Wrote: [ -> ]Yeah, thanks 4 fixing all this, a really great addon again!
Problem now: All the custom stations that l created and never had a problem with are producing errors since latest release.
Try adding
http://stream.radioparadise.com/rock-320
as custom station - doesn't work here.
Maybe I can post a log later if necessary...

Thanks for the feedback. It is highly likely that some stuff may not work as the last version was almost a full re-write of the addon using a newer radio.de API.
Also a note: podcasts are not yet supported and will crash kodi if you attempt to play them.
I'll continue to improve the plugin based on the feedback users provide.

@C.O.D. fixed in https://github.com/xbmc/repo-plugins/pull/2664 and available once it gets merged.

Thanks a lot for your efforts 👍🙂
Hello,

At first thanks for the perfect work at the RADIO.DE app - I use it daily. 
I use LIBRELEC 8.2.5. with KODI 17.6.
But since the last update of the RADIO APP to V 2.4.1 I have a massive problem - no stream open
I install the V2.3.5 via Zip File - that works perfect

Best regards
Jonas
(2020-01-10, 00:47)jonas.fink Wrote: [ -> ]Hello,

At first thanks for the perfect work at the RADIO.DE app - I use it daily. 
I use LIBRELEC 8.2.5. with KODI 17.6.
But since the last update of the RADIO APP to V 2.4.1 I have a massive problem - no stream open
I install the V2.3.5 via Zip File - that works perfect

Best regards
Jonas
I can't reproduce. It's working ok with all streams I tried (except podcasts). Please provide a debug log or at least let me know which radio stations you are trying to play. Which location do you have configured in the add-on settings?
(2020-01-10, 22:34)enen92 Wrote: [ -> ]
(2020-01-10, 00:47)jonas.fink Wrote: [ -> ]Hello,

At first thanks for the perfect work at the RADIO.DE app - I use it daily. 
I use LIBRELEC 8.2.5. with KODI 17.6.
But since the last update of the RADIO APP to V 2.4.1 I have a massive problem - no stream open
I install the V2.3.5 via Zip File - that works perfect

Best regards
Jonas
I can't reproduce. It's working ok with all streams I tried (except podcasts). Please provide a debug log or at least let me know which radio stations you are trying to play. Which location do you have configured in the add-on settings? 

thanks for the fast answer. 
what did you mean: "Which location do you have configured in the add-on settings?"

after a new installation, I can unfortunately no longer reproduce all the errors described.
but there is still one error: the stream does not start automatically when I use the PARTYMODE AUTOSTART app.
this only works if I have the RADIO app V2.3.5. use

I tested this on a new installation. I did the following
  • I installed a fresh LIBREELEC 8.2.5.
  • then the apps PELLUCID skin, RADIO app 1.4.1 an the PARTYMODE AUTOSTART app
  • I saved e.g. the station BREMEN 4 is a favorite and the autostrat app should play this station after starting the system
after starting the system the audio stream does not open. manually starting the station is sometimes possible, sometimes not
What is the partymode autostart app? Is it a Kodi addon?
By location I mean de, fr,en or pt (a setting on the add-on settings)
(2020-01-11, 16:49)enen92 Wrote: [ -> ]What is the partymode autostart app? Is it a Kodi addon?
By location I mean de, fr,en or pt (a setting on the add-on settings)

I think I use the DE version.
the PARTYMODE AUTOSTART app is in the KODI ADD-ON repository
The plugin has been broken again for the last couple of days. I checked both:
http://api.radio.net/
http://api.rad.io/info/

And they both return with errors.

Could the plugin be able to play existing streams without using the API to avoid being blocked when the API is down?

PS:
The plugin also breaks on older systems (like mine) with the python 3 detection. This line:
Code:
PY3 = sys.version_info.major >= 3

fails with an error as 'major' is undefined in 'sys.version' on my system
(2020-01-18, 16:17)pbureau Wrote: [ -> ]The plugin has been broken again for the last couple of days. I checked both:
http://api.radio.net/http://api.rad.io/info/

And they both return with errors.

Could the plugin be able to play existing streams without using the API to avoid being blocked when the API is down?

PS:
The plugin also breaks on older systems (like mine) with the python 3 detection. This line:
Code:
PY3 = sys.version_info.major >= 3

fails with an error as 'major' is undefined in 'sys.version' on my system

It's working fine for me so it's likely that their service was down temporarily. The API endpoints need custom headers to work.
You can't play the streams without access to the API unfortunately, stream url comes  from there.

I'll take a look into the sys issue. What python (2.6?) and kodi version are you using?
Hi,

Getting following error as of late: 
Line 479 of kodi.log (https://pastebin.com/gT49zkR3)
(2020-01-19, 13:39)enen92 Wrote: [ -> ]
(2020-01-18, 16:17)pbureau Wrote: [ -> ]The plugin has been broken again for the last couple of days. I checked both:
http://api.radio.net/http://api.rad.io/info/

And they both return with errors.

Could the plugin be able to play existing streams without using the API to avoid being blocked when the API is down?

PS:
The plugin also breaks on older systems (like mine) with the python 3 detection. This line:
Code:
PY3 = sys.version_info.major >= 3

fails with an error as 'major' is undefined in 'sys.version' on my system

It's working fine for me so it's likely that their service was down temporarily. The API endpoints need custom headers to work.
You can't play the streams without access to the API unfortunately, stream url comes  from there.

I'll take a look into the sys issue. What python (2.6?) and kodi version are you using?  
Hello,
Sry it took me a while to get back to this, but the error is persistent for me, every time I try to start a station I get a "Network error". Here is the relevant log when the plugin fails:
Quote:14:08:08 T:1803258472 NOTICE: [xbmcswift2] Request for "/station/103524" matches rule for function "get_stream_url"
14:08:08 T:1803258472 NOTICE: [plugin.audio.radio_de] get_station_by_station_id started with station_id=103524
14:08:08 T:1803258472 NOTICE: [plugin.audio.radio_de] __api_call started with path=v2/search/station, param={'station': '103524'}
14:08:08 T:1803258472 NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://api.rad.io/info/v2/search/station?station=103524
14:08:09 T:1803258472 NOTICE: [plugin.audio.radio_de] __urlopen URLError: <urlopen error [Errno 8] _ssl.c:480: EOF occurred in violation of protocol>
14:08:09 T:1803258472 NOTICE: [plugin.audio.radio_de] String is missing: network_error
14:08:09 T:1803258472 INFO: CPythonInvoker(8, /storage/emulated/0/Android/data/hk.minix.xbmc/files/.xbmc/addons/plugin.audio.radio_de/addon.py): script successfully run
It actually fails with the same error for every API calls, like search for a station or anything else.
Hi.
   just wondered if anyone has any ideas on why this happening now.  It started about 2 weeks back.  If you go to https://www.radio.net/s/2ca it plays perfectly.  Running latest Kodi 18.5

2020-02-07 13:21:19.726 T:8124 ERROR: CCurlFile::Stat - Failed: SSL peer certificate or SSH remote key was not OK(51) for https://37.59.32.115/proxy/radio2ca?mp=/stream2ca.mp3
2020-02-07 13:21:19.734 T:8124 NOTICE: VideoPlayer::OpenFile: plugin://plugin.audio.radio_de/station/15754

The complete log is here

https://paste.kodi.tv/sokozabeli

cheers

John
(2020-02-07, 06:24)dawsonjw Wrote: [ -> ]Hi.
   just wondered if anyone has any ideas on why this happening now.  It started about 2 weeks back.  If you go to https://www.radio.net/s/2ca it plays perfectly.  Running latest Kodi 18.5

2020-02-07 13:21:19.726 T:8124 ERROR: CCurlFile::Stat - Failed: SSL peer certificate or SSH remote key was not OK(51) for https://37.59.32.115/proxy/radio2ca?mp=/stream2ca.mp3
2020-02-07 13:21:19.734 T:8124 NOTICE: VideoPlayer::OpenFile: plugin://plugin.audio.radio_de/station/15754

The complete log is here

https://paste.kodi.tv/sokozabeli

cheers

John

Certificate is invalid for that particular stream as the common name doesn't match. You can easily see that if you open the stream on your browser: https://37.59.32.115/proxy/radio2ca?mp=/stream2ca.mp3

I'll add an option to prefer http streams if multiple links are provided by the api.
(2020-01-25, 15:20)pbureau Wrote: [ -> ]
(2020-01-19, 13:39)enen92 Wrote: [ -> ]
(2020-01-18, 16:17)pbureau Wrote: [ -> ]The plugin has been broken again for the last couple of days. I checked both:
http://api.radio.net/http://api.rad.io/info/

And they both return with errors.

Could the plugin be able to play existing streams without using the API to avoid being blocked when the API is down?

PS:
The plugin also breaks on older systems (like mine) with the python 3 detection. This line:
Code:
PY3 = sys.version_info.major >= 3

fails with an error as 'major' is undefined in 'sys.version' on my system

It's working fine for me so it's likely that their service was down temporarily. The API endpoints need custom headers to work.
You can't play the streams without access to the API unfortunately, stream url comes  from there.

I'll take a look into the sys issue. What python (2.6?) and kodi version are you using?   
Hello,
Sry it took me a while to get back to this, but the error is persistent for me, every time I try to start a station I get a "Network error". Here is the relevant log when the plugin fails:
Quote:14:08:08 T:1803258472 NOTICE: [xbmcswift2] Request for "/station/103524" matches rule for function "get_stream_url"
14:08:08 T:1803258472 NOTICE: [plugin.audio.radio_de] get_station_by_station_id started with station_id=103524
14:08:08 T:1803258472 NOTICE: [plugin.audio.radio_de] __api_call started with path=v2/search/station, param={'station': '103524'}
14:08:08 T:1803258472 NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://api.rad.io/info/v2/search/station?station=103524
14:08:09 T:1803258472 NOTICE: [plugin.audio.radio_de] __urlopen URLError: <urlopen error [Errno 8] _ssl.c:480: EOF occurred in violation of protocol>
14:08:09 T:1803258472 NOTICE: [plugin.audio.radio_de] String is missing: network_error
14:08:09 T:1803258472 INFO: CPythonInvoker(8, /storage/emulated/0/Android/data/hk.minix.xbmc/files/.xbmc/addons/plugin.audio.radio_de/addon.py): script successfully run
It actually fails with the same error for every API calls, like search for a station or anything else. 

Sorry this is an issue with your fork of kodi using probably old openssl versions. Nothing I can do to fix it, we only provide support to Kodi itself.
I suggest to bring the issue to the developers of that (hk.minix.xbmc) application.
Radio.de v2.4.2 (9/2/2020)
    - [add] sort methods for categories
    - [add] setting to prefer http connections over https if http streams are available
    - [fix] use sys.version_info[0] for compatibility with python2.6

XBMCSwitft2 Version 2.5.1 (9/2/2020)
- Fix shutil error when moving cache file
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45