•   
  • 1
  • 36
  • 37
  • 38
  • 39
  • 40(current)
[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...
ROCK Pi 4B / KODI 'Matrix'
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
ROCK Pi 4B / KODI 'Matrix'
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
ROCK Pi 4B / KODI 'Matrix'
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
  •   
  • 1
  • 36
  • 37
  • 38
  • 39
  • 40(current)



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.