Android How do I delete a radio station in Radio--My Stations
#1
New to XBMC and this is my first post.
An idiots guide please as to how I delete a radio station from Music-Add-ons-Radio-My Stations....it's driving me crazy!!!!
Reply
#2
NOW RESOLVED
Reply
#3
Ok... Nice....

How?!?
Reply
#4
(2022-04-08, 13:10)AvanOsch Wrote: How?!?

It suddenly seems to be popular to dig up old forum threads, hehe... However, the OP's question is still valid. I don't fiddle much with the Radio add-on, but removing an entry from "My Stations" is apparently not possible from its context menu.

The Radio add-on stores its data in its own addon data folder in json format: .kodi/userdata/addon_data/plugin.audio.radio_de/.storage/my_stations.json
So with a bit of manual labor and a decent text editor you can remove entries from the My Stations list. It's not an elegant solution, but it is A solution.
Reply
#5
that's how i manage my stations.
it's important to watch for the numberings when editing that list. if you enter the same station number twice, it'll mess up everything.
and since "my_stations.json" is a bit of a mess when you open it, it might be better to keep a separate list clean and then paste it there.

stations should look like this:

Code:
{"Station Name":[{"stream_url":"http://stream.of.the.station","is_custom":"1","thumbnail":"link.to.the.channel.logo","name":"station name as you want it to appear in kodi","id":"Station Name"},StationNumber (has to be unique, ex 101)],
"Station Name 2":[{"stream_url":"http://stream.of.the.station 2","is_custom":"1","thumbnail":"link.to.the.channel.logo 2","name":"station name as you want it to appear in kodi","id":"Station Name 2"},102]}

or in a real example:
Code:
{
"BBC R1":[{"stream_url":"https://stream.live.vc.bbcmedia.co.uk/bbc_radio_one","is_custom":"1","thumbnail":"https://www.ibizarocks.com/wp-content/uploads/2022/05/New-Project-2.png","name":"01. BBC Radio 1","id":"BBC R1"},101],
"BBC 1Xtra":[{"stream_url":"https://stream.live.vc.bbcmedia.co.uk/bbc_1xtra","is_custom":"1","thumbnail":"https://upload.wikimedia.org/wikipedia/commons/a/ad/1Xtra_white-%281%29.png","name":"BBC Radio 1Xtra","id":"BBC 1Xtra"},102]
}

so, you open the list with a { you close it with }
between stations you need , but you need to be sure there's no , before you close the list with } because , is a separator between two channels.

if you want to delete a station, just delete a single line
Reply
#6
(2022-06-06, 05:45)ray2301 Wrote: that's how i manage my stations.
it's important to watch for the numberings when editing that list. if you enter the same station number twice, it'll mess up everything.
and since "my_stations.json" is a bit of a mess when you open it, it might be better to keep a separate list clean and then paste it there.

stations should look like this:

Code:
{"Station Name":[{"stream_url":"http://stream.of.the.station","is_custom":"1","thumbnail":"link.to.the.channel.logo","name":"station name as you want it to appear in kodi","id":"Station Name"},StationNumber (has to be unique, ex 101)],
"Station Name 2":[{"stream_url":"http://stream.of.the.station 2","is_custom":"1","thumbnail":"link.to.the.channel.logo 2","name":"station name as you want it to appear in kodi","id":"Station Name 2"},102]}

or in a real example:
Code:
{
"BBC R1":[{"stream_url":"https://stream.live.vc.bbcmedia.co.uk/bbc_radio_one","is_custom":"1","thumbnail":"https://www.ibizarocks.com/wp-content/uploads/2022/05/New-Project-2.png","name":"01. BBC Radio 1","id":"BBC R1"},101],
"BBC 1Xtra":[{"stream_url":"https://stream.live.vc.bbcmedia.co.uk/bbc_1xtra","is_custom":"1","thumbnail":"https://upload.wikimedia.org/wikipedia/commons/a/ad/1Xtra_white-%281%29.png","name":"BBC Radio 1Xtra","id":"BBC 1Xtra"},102]
}

so, you open the list with a { you close it with }
between stations you need , but you need to be sure there's no , before you close the list with } because , is a separator between two channels.

if you want to delete a station, just delete a single line
I am trying to figure out where to get a text editor for Kodi 20. I am trying to do exactly this but have scoured the internet and Kodi Forum to find out what everyone is using and I find nothing yet tons of posts talk about updating and changing code. Please advise. Thank you!!
Reply
#7
(2023-05-16, 22:48)davelee77 Wrote: I am trying to figure out where to get a text editor for Kodi 20. I am trying to do exactly this but have scoured the internet and Kodi Forum to find out what everyone is using and I find nothing yet tons of posts talk about updating and changing code. Please advise. Thank you!!

a list from the kodi team - https://kodi.wiki/view/Development_Tools

probably a good syntax highlighting text editor is enough for basic use though

windows - https://notepad-plus-plus.org

linux - https://wiki.gnome.org/Apps/Gedit

i like kate personally - https://kate-editor.org
Reply
#8
(2023-05-16, 22:58)jepsizofye Wrote:
(2023-05-16, 22:48)davelee77 Wrote: I am trying to figure out where to get a text editor for Kodi 20. I am trying to do exactly this but have scoured the internet and Kodi Forum to find out what everyone is using and I find nothing yet tons of posts talk about updating and changing code. Please advise. Thank you!!

a list from the kodi team - https://kodi.wiki/view/Development_Tools

probably a good syntax highlighting text editor is enough for basic use though

windows - https://notepad-plus-plus.org

linux - https://wiki.gnome.org/Apps/Gedit

i like kate personally - https://kate-editor.org
Perfect! Thank you!!
Reply
#9
(2023-05-16, 23:00)davelee77 Wrote:
(2023-05-16, 22:58)jepsizofye Wrote:
(2023-05-16, 22:48)davelee77 Wrote: I am trying to figure out where to get a text editor for Kodi 20. I am trying to do exactly this but have scoured the internet and Kodi Forum to find out what everyone is using and I find nothing yet tons of posts talk about updating and changing code. Please advise. Thank you!!

a list from the kodi team - https://kodi.wiki/view/Development_Tools

probably a good syntax highlighting text editor is enough for basic use though

windows - https://notepad-plus-plus.org

linux - https://wiki.gnome.org/Apps/Gedit

i like kate personally - https://kate-editor.org
Perfect! Thank you!!
I am indeed on the struggle bus. I don't know why. I'm usually really good and getting these things figured out but its been trial and error for me. Every corner I turn, things are getting more and more messed up with the radio stuff. I can't seem to figure out how to get the text editors to do anything with Kodi 20.1 Nexus Aeon MQ9 skin (which I should state are on my Firestick 4k Max) I have found the download info from your links provided but they are being downloaded onto my Windows PC and not finding how to get that to do anything with my Firestick. 

The latest is that I am stuck with a Radio station in "My Stations" as the other user did but now, I can't even edit it, let alone haven't been able to delete it. I'm now getting a Radio Error - Check Error Logs. That indicates IPTV Client lost connection. Is there a way to, A. Start from scratch with JUST the radio and not mess with anything else I've done in Kodi, B. Go back to resolving deleting this station at least.(other radio stations seem to be working, or C. Find a way to fix the IPTV issue and edit the radio station I really want to delete?

Thank you for your time and patience. I just got Video down to a science and have never messed with Radio before. :/

I don't know how, but I went in and tried to re-enter the details for the radio station I wanted and it actually replaced the one I wanted to remove. Not sure how it happened but it did what I wanted to. So no, rush but maybe some info for future reference, I wouldn't mind getting some info on my previous request. THANK YOU!!!
Reply
#10
(2023-05-16, 23:00)davelee77 Wrote:
(2023-05-16, 22:58)jepsizofye Wrote:
(2023-05-16, 22:48)davelee77 Wrote: I am trying to figure out where to get a text editor for Kodi 20. I am trying to do exactly this but have scoured the internet and Kodi Forum to find out what everyone is using and I find nothing yet tons of posts talk about updating and changing code. Please advise. Thank you!!

a list from the kodi team - https://kodi.wiki/view/Development_Tools

probably a good syntax highlighting text editor is enough for basic use though

windows - https://notepad-plus-plus.org

linux - https://wiki.gnome.org/Apps/Gedit

i like kate personally - https://kate-editor.org
Perfect! Thank you!!
Things were going so well, I decided to add a couple more radio stations. They apparently are using a different platform than the others. I'm including image links so you can see what I'm seeing. But the info it gives to me, in the same place the other station information was, is not working. Would be curious to know how to address these. Basically, every time I click Ctl+R to get the info needed, it stops playing and goes to commercials. Almost like its smart enough to know what I'm doing and kills the process. 

Image

Image
Reply
#11
that method will not work for that service, nor do i see you being able to put their streams into strm files

it is serving the stream in small chunks via playlist files, click the "All" instead of "Media" and look for urls like "https://prod-3-93-7-74.wostreaming.net/kziainc-kziafmaac-hlsc2.m3u8/?source=v7player&user-id="

it serves a new m3u8 every few seconds of playback
Reply
#12
(2023-05-17, 06:34)jepsizofye Wrote: that method will not work for that service, nor do i see you being able to put their streams into strm files

it is serving the stream in small chunks via playlist files, click the "All" instead of "Media" and look for urls like "https://prod-3-93-7-74.wostreaming.net/kziainc-kziafmaac-hlsc2.m3u8/?source=v7player&user-id="

it serves a new m3u8 every few seconds of playback
Well that sucks. lol Thank you for your help though. I'll attempt to move on then. Thanks again for everything!
Reply
#13
my pleasure
Reply
#14
Hi,

Thanks for the work on kodi, radio addon or whatever you're doing reading this

(๑╹ڡ╹)╭ ~ ♡

It seems editing make a duplicate of the current radio & then I can only remove that duplicate radio with editing the json file :

.kodi/userdata/addon_data/plugin.audio.radio_de/.storage/my_stations.json

Chuss,
Reply

Logout Mark Read Team Forum Stats Members Help
How do I delete a radio station in Radio--My Stations0