Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 38
  • 39
  • 40(current)
  • 41
  • 42
  • 57
[RELEASE] Radio Add-on (rad.io, radio.de, radio.fr, radio.pt, radio.es) Music Plugin
@black_eagle
Thanks for your answer, very revealing.
Interestingly the station Radio Bob Classic Rock
http://streams.radiobob.de/bob-classicro...diobob.de/
is shown as an mp3 in Kodi and track info is also shown (as also in VLC). The debug log says that the retrieved URL is https://bob.hoerradar.de/radiobob-classicrock-mp3-hq.
If I'm playing this one in VLC I don't get any track info even here but the same music.
In any case I think I have to live with it as it is...
Manjaro Linux @ minisforum UM780XTX / KODI 'Omega' (Flatpak)
Reply
(2021-05-20, 10:22)C.O.D. Wrote: the station Radio Bob Classic Rock

That's a shoutcast stream.  Kodi knows how to get the track/artist info (and art for some shoutcast v2 streams) from shoutcast servers. This is determined from the headers received by Kodi when it first opens the URL.  That info reveals that we are connecting to a shoutcast server so the stream gets re-opened with the correct shoutcast options added to the header that Kodi sends and the data takes a different path through the code to get to the audio player.  Along this path, the artist and track data is extracted.  This doesn't happen with bog-standard mp3 streams which are treated just like a local mp3 file but without trying to read any tags.
Learning Linux the hard way !!
Reply
@black_eagle
Thanks again for another very revieling one 👍
Manjaro Linux @ minisforum UM780XTX / KODI 'Omega' (Flatpak)
Reply
(2021-05-20, 00:47)black_eagle Wrote: Indeed.  The problem here is that Kodi does not look for tags in .mp3 files that are streamed from the internet because in many cases the tags are simply not present.

That is not the problem here.  The server doesn't return the values that Kodi is looking for to resend with Icy-Metadata: 1
Code:
Cache-Control: no-cache, no-store
Content-Type: audio/mpeg
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Server: QuantumCast Streamer (Version v1.10.2 SHA:5023419f0cb48abfa9f29eb27f956ccbb73f11e3 21.05.03 20:36:40)
Vary: Origin
X-Quantumcast-Channelkey: radio21_atam41o_agkt
Date: Thu, 20 May 2021 22:11:45 GMT
Connection: close
Transfer-Encoding: chunked

As a test I added m_state->m_httpheader.GetValue("content-type") == "audio/mpeg" it does play with Shoutcast data

I then tried with this url and it works from a strm file
Code:
https://bestofrockfm.stream.vip/classic/mp3-256/bestofrock.fm|Icy-Metadata=1

Martin
Reply
@emveepee
Hey, thanks for this useful tip - now I can enjoy these streams in Kodi Smile
Manjaro Linux @ minisforum UM780XTX / KODI 'Omega' (Flatpak)
Reply
Hi,
I'm using kodi on libreelec.
If I want to listen a radio from the add-on with a command line like this:

Code:
curl --header "Content-Type: application/json" --request POST --data '{"jsonrpc": "2.0", "method": "Player.Open", "params": {"item":{"file":"plugin://plugin.audio.radio_de/station/104717"}},"id": 0 }' http://192.168.0.100:8080/jsonrpc
I have got the following answer:

Code:
Error: Kodi: (kodi) Message error, unknown type in OnPlay/OnResume message: 'unknown' from '{"jsonrpc":"2.0","method":"Player.OnPlay","params":{"data":{"item":{"type":"unknown"},"player":{"playerid":-1,"speed":1}},"sender":"xbmc"}}'
nothing happens until I ask again the same command line. In this case, radio start but still have a error message:

Code:
Error: Kodi: (kodi) Message error, unknown type in OnPlay/OnResume message: 'unknown' from '{"jsonrpc":"2.0","method":"Player.OnPlay","params":{"data":{"item":{"type":"unknown"},"player":{"playerid":0,"speed":1}},"sender":"xbmc"}}'
Does someone has a idea?

I don't have this behavior if i tried to start a web content instead of a radio.de plugin content
Code:
curl --header "Content-Type: application/json" --request POST --data '{"jsonrpc": "2.0", "method": "Player.Open", "params": {"item":{"file":"http://statslive.infomaniak.ch/playlist/radionova/radionova-high.mp3/playlist.m3u"}},"id": 4 }' http://192.168.0.100:8080/jsonrpc

thanks

Original post here
Reply
Hi, 

I'd love to listen to the Funradio Live stream from Slovakia, but it always makes KODI crash. Other streams from the same Radio provider work OK. On the Radio.de site it also plays OK.

Code:
2021-05-27 17:37:14.196 T:3255825280 NOTICE: [xbmcswift2] Request for "/station/13599" matches rule for function "get_stream_url"
2021-05-27 17:37:14.196 T:3255825280 NOTICE: [plugin.audio.radio_de] get_station_by_station_id started with station_id=13599
2021-05-27 17:37:14.196 T:3255825280 NOTICE: [plugin.audio.radio_de] __api_call started with path=v2/search/station, param={'station': '13599'}
2021-05-27 17:37:14.197 T:3255825280 NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://api.rad.io/info/v2/search/station?station=13599
2021-05-27 17:37:14.485 T:3255825280 NOTICE: [plugin.audio.radio_de] get_stream_url result: https://stream.funradio.sk:8000/fun128.mp3
2021-05-27 17:37:14.707 T:3772572544 NOTICE: Librespot: Kodi playback started
2021-05-27 17:37:14.736 T:3172987776 ERROR: CCurlFile::Stat - Failed: SSL peer certificate or SSH remote key was not OK(60) for https://stream.funradio.sk:8000/fun128.mp3
2021-05-27 17:37:14.794 T:3236946816 NOTICE: Librespot: suspended sink 1
2021-05-27 17:37:14.795 T:3236946816 NOTICE: Librespot: librespot stopped
2021-05-27 17:37:14.795 T:3236946816 NOTICE: Librespot: librespot thread stopped
2021-05-27 17:37:14.959 T:3172987776 ERROR: CCurlFile::FillBuffer - Failed: SSL peer certificate or SSH remote key was not OK(60)
2021-05-27 17:37:14.959 T:3172987776 ERROR: CCurlFile::Open failed with code 0 for https://stream.funradio.sk:8000/fun128.mp3:
2021-05-27 17:37:15.126 T:3172987776 ERROR: CCurlFile::FillBuffer - Failed: SSL peer certificate or SSH remote key was not OK(60)
2021-05-27 17:37:15.126 T:3172987776 ERROR: CCurlFile::Open failed with code 0 for https://stream.funradio.sk:8000/fun128.mp3:
2021-05-27 17:37:15.128 T:3172987776 ERROR: Open - failed to open source <https://stream.funradio.sk:8000/fun128.mp3>
2021-05-27 17:37:15.128 T:3172987776 ERROR: Init: Error opening file plugin://plugin.audio.radio_de/station/13599
2021-05-27 17:37:15.128 T:3172987776 ERROR: CAudioDecoder: Unable to Init Codec while loading file https://stream.funradio.sk:8000/fun128.mp3
2021-05-27 17:37:15.128 T:3172987776 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
2021-05-27 17:37:15.353 T:3236946816 NOTICE: [xbmcswift2] Request for "/station/17192" matches rule for function "get_stream_url"
2021-05-27 17:37:15.353 T:3236946816 NOTICE: [plugin.audio.radio_de] get_station_by_station_id started with station_id=17192
2021-05-27 17:37:15.353 T:3236946816 NOTICE: [plugin.audio.radio_de] __api_call started with path=v2/search/station, param={'station': '17192'}
2021-05-27 17:37:15.354 T:3236946816 NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://api.rad.io/info/v2/search/station?station=17192

Thanks

Mike
Reply
Hello, when I play any of the "AIR" Indian radio stations (AIR Vividh Bharati Bengaluru, AIR FM Rainbow Bengauluru, AIR FM Gold)...they fail to play or crash Kodi!

I'm able to play stations from your "Top Stations" list. So your add-on works for me on certain stations.
I also tried switching skins, back to default "Estuary" and same problem with the Indian radio stations I mentioned.

I have a new Kodi Matrix installation on Nvidia Shield Pro (Android) using either Amber skin or Estuary skin.
Reply
I have added a number of stations to 'My Stations' and created a widget in Aeon Nox SiLVO in Kodi 19 to display them on my Radio page.

An option I didn't add is displayed 'Add Custom Station', is there a setting so that I could suppress this being displayed so that icons only show for my stations?

Image
Reply
I'd also like to see an option like this.
It would also be sufficient to put this item into the context menu (if you ask me) so that it's not visible in the widgets...
Manjaro Linux @ minisforum UM780XTX / KODI 'Omega' (Flatpak)
Reply
Hello guys! Does this addon provide any PVR integration in order to use the dedicated radio section in Kodi? I couldn't find any at the moment. I can work on a IPTV Manager integration if that sounds interesting for you Smile
Windows 11 x64 | Kodi 21 | Developer of Orange TV France addon
Reply
Thanks for the addon but no local stations are populating any solutions Thanks.
Reply
@enen92

I have a couple of questions about an implementation detail of this addon I would rather not discuss in public. Is there any chance I could get in touch with you or another maintainer?
Reply
Send a PM or reach out at enen92 at kodi.tv. However the code is open and available for everyone and discussions are supposed to be public.
Reply
(2021-09-08, 13:02)enen92 Wrote: Send a PM or reach out at enen92 at kodi.tv. However the code is open and available for everyone and discussions are supposed to be public.

Thanks, I've looked for a PM option but couldn't find one. I guess that could be because I just recently registered. I'll mail you in a bit.
Reply
  • 1
  • 38
  • 39
  • 40(current)
  • 41
  • 42
  • 57

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Radio Add-on (rad.io, radio.de, radio.fr, radio.pt, radio.es) Music Plugin5
This forum uses Lukasz Tkacz MyBB addons.