(2020-05-01, 16:00)enen92 Wrote: (2020-04-13, 15:37)callagg2 Wrote: Just want to say thanks to all involved in this Radio add-on on Kodi (Add-on:Radio (wiki)), it is excellent and it's great that people have kept this thread going since 2012!
Unlike others posting, I thankfully have no issues with radio channels playing.
However, i do have a query - it's a bit a long-winded but bear with me!.
I am using libreelec 9.2.1 on a raspberry pi - where the only add on that I want is this Radio add-on.
Why - well because i want to give it to an elderly person as an internet radio connected to her stereo versus 3.5mm jack.
I have picked nine radio stations and added them to favourites.
In the "Startup" options, I have set "perform on startup" to "Play Radio" and "Startup Window" to "home window"
where for my Home options i have specified only favourites (audio/video/music/weather etc are all hidden).
So, once the Kodi (libreelec) starts up, she is met with a home screen consisting of 9 radio stations - she need only select one and it plays - so all good.
Ideally it would be nice if one of the radio stations could start playing upon boot up but don't think that's possible.
For most stations when you click on them, you remain in the home screen and the in top right corner you see a blue play arrow and the name of the station. That is perfect.:-)
But then some stations, when you click on them, it brings you into a NEW screen specifically for that one radio station. :-(
It is confusing for her to know to select the Square button in the bottom left of the screen to get back to the list of favourite radio stations on the home screen.
So, my question, how do i stop a radio station opening it's own window? (the station in question is LMFM in Ireland!)
Thanks
That's kodi default behaviour - unfortunately you can't solve your use-case without patching kodi core itself.
My bet is that some of them are flagged as playlists and go though playlist player, leading to the behaviour you're seeing.
Thank you Enen92, for that.
But, after a big of digging, I have made a tiny bit of progress.
By creating an autoexec.py file containing only the two lines
import xbmc
xbmc.executebuiltin("RunAddon(plugin.audio.radio_de)")
and copying this file into my Profile directory,
I can get Radio.de add-on to open automatically on boot-up. So, tiny bit of progress!
However, it only opens up the directory listing - I can't get it to autoplay one of the stations i want.
I've tried other commands (putting in an arbitrary 4 figure number 8386 for the station id for the minute )
heavily leveraging off this
https://www.reichelt.com/magazin/en/kodi...net-radio/
import xbmc
xbmc.executebuiltin( "PlayMedia(plugin://plugin.audio.radio_net/station/8386)" )
and
import xbmc
xbmc.executebuiltin("RunAddon(plugin.audio.radio_de/station/8386)" )
But, I can't even seem to access my log files, they seem to be in a hidden folder (Libreelec 9.0.2 on Wetek Play),
so it's difficult to pull out the correct 4 digit id for this station
https://www.radio.net/s/rteradio1
Any help would be great.