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 46 47 48 49
The problem is gone now with OE 5.0.4.

Other question: when i open a channel via favorites now channel logo is showing. When i open the channel via radio addon logo is shown.
Any solution for this?
I'm using shortcuts in my home window to accessing my fav. radio channels with "<onclick>PlayMedia("plugin://plugin.audio.radio_de/station/2452",return)</onclick>", but the Player.Art(thumb) is going to be empty in the music visualization window.
Is there anyway to change this behaviour?
(2015-02-26, 12:10)magy77 Wrote: [ -> ]The problem is gone now with OE 5.0.4.

Other question: when i open a channel via favorites now channel logo is showing. When i open the channel via radio addon logo is shown.
Any solution for this?
This should work because on creating the fav-entry XBMC/Kodi saves the thumb url. Could you try delete and re-create the fav-entry?
If it still doesn't work please paste your favourites.xml here.

(2015-02-28, 16:06)sualfred Wrote: [ -> ]I'm using shortcuts in my home window to accessing my fav. radio channels with "<onclick>PlayMedia("plugin://plugin.audio.radio_de/station/2452",return)</onclick>", but the Player.Art(thumb) is going to be empty in the music visualization window.
Is there anyway to change this behaviour?
i have no idea, sorry Smile
(2015-02-28, 19:32)sphere Wrote: [ -> ]i have no idea, sorry Smile

Tried a few different tests with other plugins and sources.
The Player.Art(thumb) is correctly set with other plugins like YouTube or other sources like "pvr://...", if I'm accessing it directly with PlayMedia(xxx).

It has to be addon related, a line like "19:19:49 T:4832 DEBUG: Updating visualisation albumart: http://static.radio.de/images/broadcasts...6/t175.png" is missing in the logs by starting the stream outside of the plugin window Tongue
first of all thanks a lot for the great job done ! I've been a user of the listenlive.eu add-on but it's missing a way to filter my favorites radio stations. As there's no development on it from some time, I have looked for another one and I have found it in the "radio" one. I've tested the add-on on my PC first, everything worked fine; then I tried it on my Raspberry Pi 2 running OpenELEC 5.0.3 and it was not working... until I upgraded today to the latest version of OpenELEC: the 5.0.5 (don't try the 5.0.4, this one is too buggy apparently !). I can now enjoy the radio add-on everywhere !

Now that I'm enjoying it, I notice that many radio stations are not recorded in the radio site list; it's maybe not the right place but does anyone knows how I can propose them for publication ?

Many thanks !

PS: there was a nice setting in listenlive.eu: the possibility to filter out the stations below a defined quality. It is however less and less interesting because it begins to be rare in European countries to have them broadcasting with a quality below 128 kbps
Yeah the thumb was saved in fav, but when you open it there the logo didnt appears in playinginfo. Did you the same (channel open in the addon) the logo is shown in now playinginfo. I can make a video when you dont understand my crapy english.
@sphere:

nur falls du es übersehen hast:
http://www.kodinerds.net/index.php/Threa...post216966

sorry mein englisch ist nicht zu verstehen Wink
bg
No ideas?
Hi,
is it possible to display the station name of the currently streamed station in Kodi, and also get the station name and station icon URL via JSON RPC to display it in a remote control?
Thanks,
Markus
Hi

I'm running gotham on my android box, when I click on radio I am getting script failed I'm running the newest version that's 2.3.1 radio, any help what I can do please? Thanks
23:10:49 T:11748 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ImportError'>
Error Contents: No module named xbmcswift2
Traceback (most recent call last):
File "C:\Users\Aqqy\AppData\Roaming\Kodi\addons\plugin.audio.radio_de\addon.py", line 19, in <module>
from xbmcswift2 import Plugin, xbmc
ImportError: No module named xbmcswift2
-->End of Python script error report<--
23:10:49 T:5868 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.audio.radio_de/
23:10:49 T:5868 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.radio_de/) failed
23:10:49 T:6828 NOTICE: Thread BackgroundLoader start, auto delete: false
HI, having some issues with OE 14.1 and the addon. It will not play the link, although the link is live. log:


Code:
15:10:46 T:3042963456  NOTICE: special://profile/ is mapped to: special://masterprofile/
15:10:46 T:3042963456  NOTICE: -----------------------------------------------------------------------
15:10:46 T:3042963456  NOTICE: Starting Kodi (14.1 Git:b5dbdb5). Platform: Linux ARM 32-bit
15:10:46 T:3042963456  NOTICE: Using Release Kodi x32 build
15:10:46 T:3042963456  NOTICE: Kodi compiled Feb 18 2015 by GCC 4.9.2 for Linux ARM 32-bit version 3.10.61 (199229)
15:10:46 T:3042963456  NOTICE: Running on Kodi 14.1, kernel: Linux ARM 32-bit version 3.10.61
15:10:46 T:3042963456  NOTICE: FFmpeg version: 2.4.6
15:10:46 T:3042963456  NOTICE: WARNING: unsupported ffmpeg version detected
15:10:46 T:3042963456  NOTICE: Host CPU: ARMv7 Processor rev 0 (v7l), 2 cores available
15:10:46 T:3042963456  NOTICE: ARM Features: Neon enabled
15:10:46 T:3042963456  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
15:10:46 T:3042963456  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/kodi
15:10:46 T:3042963456  NOTICE: special://masterprofile/ is mapped to: /storage/.kodi/userdata
15:10:46 T:3042963456  NOTICE: special://home/ is mapped to: /storage/.kodi
15:10:46 T:3042963456  NOTICE: special://temp/ is mapped to: /storage/.kodi/temp
15:10:46 T:3042963456  NOTICE: The executable running is: /usr/lib/kodi/kodi.bin
15:10:46 T:3042963456  NOTICE: Local hostname: kodi
15:10:46 T:3042963456  NOTICE: Log File is located: /storage/.kodi/temp/kodi.log
15:10:46 T:3042963456  NOTICE: -----------------------------------------------------------------------
15:10:46 T:3042963456   ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
15:10:46 T:3042963456  NOTICE: load settings...
15:10:46 T:3042963456  NOTICE: aml_present, rtn(0)
15:10:46 T:3042948160  NOTICE: Thread FDEventMonitor start, auto delete: false
15:10:47 T:3042963456  NOTICE: Found 1 Lists of Devices
15:10:47 T:3042963456  NOTICE: Enumerated ALSA devices:
15:10:47 T:3042963456  NOTICE:     Device 1
15:10:47 T:3042963456  NOTICE:         m_deviceName      : default
15:10:47 T:3042963456  NOTICE:         m_displayName     : Default (AML-DUMMY-CODEC Analog)
15:10:47 T:3042963456  NOTICE:         m_displayNameExtra:
15:10:47 T:3042963456  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
15:10:47 T:3042963456  NOTICE:         m_channels        : FL,FR,BL,BR,FC,LFE,SL,SR
15:10:47 T:3042963456  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,32000,44100,48000,64000,88200,96000
15:10:47 T:3042963456  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE
15:10:47 T:3042963456  NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
15:10:47 T:3042963456  NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
                                            <?xml version="1.0" encoding="UTF-8" ?>
                                            <advancedsettings>
                                              <showexitbutton>false</showexitbutton>
                                              <network>
                                                <cachemembuffersize>20971520</cachemembuffersize>
                                              </network>
                                              <samba>
                                                <clienttimeout>30</clienttimeout>
                                              </samba>
                                              <network>
                                                <readbufferfactor>4.0</readbufferfactor>
                                              </network>
                                              <pvr>
                                                <minvideocachelevel>5</minvideocachelevel>
                                                <minaudiocachelevel>20</minaudiocachelevel>
                                              </pvr>
                                            </advancedsettings>
17:20:20 T:2706371648  NOTICE: [xbmcswift2] Request for "/stations/search/" matches rule for function "search"
17:20:37 T:2706371648  NOTICE: [xbmcswift2] Request for "/stations/search/heart/" matches rule for function "search_result"
17:20:37 T:2706371648  NOTICE: [plugin.audio.radio_de] search_stations_by_string started with search_string=heart
17:20:37 T:2706371648  NOTICE: [plugin.audio.radio_de] __api_call started with path=index/searchembeddedbroadcast, param={'q': 'heart', 'start': '0', 'rows': '10000', 'streamcontentformats': 'aac,mp3'}
17:20:37 T:2706371648  NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://rad.io/info/index/searchembeddedbroadcast?q=heart&start=0&rows=10000&streamcontentformats=aac%2Cmp3
17:20:38 T:2706371648  NOTICE: [plugin.audio.radio_de] __add_stations started with 416 items
17:20:39 T:2706371648  NOTICE: Thread BackgroundLoader start, auto delete: false
17:20:44 T:3042963456 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.audio.radio_de/station/9458.lrc
17:20:44 T:3042963456 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.audio.radio_de/station/9458.cdg
17:20:44 T:3042963456 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.audio.radio_de/station/9458.txt
17:20:44 T:2706371648  NOTICE: Thread LanguageInvoker start, auto delete: false
17:20:44 T:2706371648  NOTICE: -->Python Interpreter Initialized<--
17:20:44 T:2706371648  NOTICE: [xbmcswift2] Request for "/station/9458" matches rule for function "get_stream_url"
17:20:44 T:2706371648  NOTICE: [plugin.audio.radio_de] get_station_by_station_id started with station_id=9458
17:20:44 T:2706371648  NOTICE: [plugin.audio.radio_de] __api_call started with path=broadcast/getbroadcastembedded, param={'broadcast': '9458'}
17:20:44 T:2706371648  NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://rad.io/info/broadcast/getbroadcastembedded?broadcast=9458
17:20:44 T:2706371648  NOTICE: [plugin.audio.radio_de] get_stream_url result: http://ice-sov.musicradio.com:80/HeartLondonMP3
17:20:54 T:3042963456   ERROR: CCurlFile::Stat - Failed: Timeout was reached(28) for http://ice-sov.musicradio.com:80/HeartLondonMP3
17:20:55 T:3042963456   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://ice-sov.musicradio.com:80/HeartLondonMP3
17:20:55 T:3042963456 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
17:20:55 T:3042963456   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.audio.radio_de/station/9458]
17:21:01 T:3042963456 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.audio.radio_de/station/9458.lrc
17:21:01 T:3042963456 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.audio.radio_de/station/9458.cdg
17:21:01 T:3042963456 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.audio.radio_de/station/9458.txt
17:21:01 T:2706371648  NOTICE: Thread LanguageInvoker start, auto delete: false
17:21:02 T:2706371648  NOTICE: -->Python Interpreter Initialized<--
17:21:02 T:2706371648  NOTICE: [xbmcswift2] Request for "/station/9458" matches rule for function "get_stream_url"
17:21:02 T:2706371648  NOTICE: [plugin.audio.radio_de] get_station_by_station_id started with station_id=9458
17:21:02 T:2706371648  NOTICE: [plugin.audio.radio_de] __api_call started with path=broadcast/getbroadcastembedded, param={'broadcast': '9458'}
17:21:02 T:2706371648  NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://rad.io/info/broadcast/getbroadcastembedded?broadcast=9458
17:21:02 T:2706371648  NOTICE: [plugin.audio.radio_de] get_stream_url result: http://ice-sov.musicradio.com:80/HeartLondonMP3
17:21:12 T:3042963456   ERROR: CCurlFile::Stat - Failed: Timeout was reached(28) for http://ice-sov.musicradio.com:80/HeartLondonMP3
17:21:12 T:3042963456   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://ice-sov.musicradio.com:80/HeartLondonMP3
17:21:12 T:3042963456 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
17:21:12 T:3042963456   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.audio.radio_de/station/9458]

[/
code]
@sphere:
Thanks for your very fine radio addon! For me it's the mostly used KODI addon. But I've a little problem, no it's more a wish: I want to change the position of the menu entries. For example My Stations should appear at the first position. I've tried to change some values in the ~/.kodi/addons/plugin.audio.radio_de/addon.py script. That changed the position of an entry but the link referenced to the "old" function at position #1. I'm not good enough ;-) in programming to find the next script or the function may be embedded in the binary code. Whatever: Is there a way to change position with the right function?
Thanks, Jörg
Just discovered this wicked add-on, thanks for this.. I now have a billion Trance stations to pick from... Awesome!
Hello kodi users

i also use the radio plugin in kodi. For testing i put a channel (Radio X ) to the folder "My Stations/Transmitter" and link this folder to the Kodi favorites. In the Kodi favorites I can change the picture for this entry without any problem. But after importing the favorites into Yatse this entry which is linked to plugin://plugin.audio.radio_de/stations/my/ has no picture only a folder picture (sorry, no screenhot upload possible).

How can I set my own picture to this entry? Is it possible to link a picture to this entry for example about his absolute path?[
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 46 47 48 49