![]() |
Massive deleting a internet radio station - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Feature requests (https://moodeaudio.org/forum/forumdisplay.php?fid=8) +--- Thread: Massive deleting a internet radio station (/showthread.php?tid=1255) Pages:
1
2
|
RE: Massive deleting a internet radio station - Tim Curtis - 01-31-2021 It completely solves it because the stations will never appear in Radio view unless you un-hide them. Just delete the Default Playlist in Folder view and delete the stations from the Queue (main Playlist) or do a Clear/Add of some other item. RE: Massive deleting a internet radio station - kromsam - 07-14-2022 (Coming from github https://github.com/moode-player/moode/issues/530 back to the forum) (01-31-2021, 01:43 PM)Tim Curtis Wrote: If you are trying to remove the built in radio stations simply switch to Radio view, click the cog icon to open the Radio Manager and for "moOde stations" select "Hide all" I cannot re-add the stations from Moode that I want to keep, such as 'BBC Radio 1', it gives me the following error message: RE: Massive deleting a internet radio station - Tim Curtis - 07-14-2022 The Radio feature uses the cfg_radio SQL table to tie together the station URL, metadata, pls file and cover art. If you have already deleted the pls files and logo images try the following command to delete all the station rows from cfg_radio. NOTE: Row number 499 must be left in the table for the Radio feature to work correctly. Code: moodeutl -q "delete from cfg_radio where id < '499'" If you haven't yet deleted the pls and log files then you could try selectively deleting rows from cfg_radio leaving only the rows you want to keep. Just leave the pls files and logo's as-is. It's the contents of cfg_radio table that determines what is displayed in Radio view. Code: moodeutl -q "select * from cfg_radio" RE: Massive deleting a internet radio station - MisterD - 07-21-2022 Don't know if this will work....depends if an empty json causes all existing stations to be dropped? backup current Moode config from the web interface. Unpack the zip and replace the contents of "station_data.json" with: { "fields": [ "id", "station", "name", "type", "logo", "genre", "broadcaster", "language", "country", "region", "bitrate", "format", "geo_fenced", "home_page", "reserved2" ], "stations": [ ] } RE: Massive deleting a internet radio station - bitlab - 07-22-2022 There is a command to clear the radiostations from the command-line: Code: /var/www/util/station_manager.py --clear -scope all RE: Massive deleting a internet radio station - Tim Curtis - 07-22-2022 Yes of course, I completely forgot about the station_manager util. Code: pi@trx:~ $ /var/www/util/station_manager.py --help RE: Massive deleting a internet radio station - Spacebar - 09-24-2022 (04-06-2019, 10:05 PM)Tim Curtis Wrote: You can do this via SSH by deleting files in the following directories. Have the location of the files been moved? I'm not seeing a `radio-logos` folder within `/var/www/images` Any help appreciated. RE: Massive deleting a internet radio station - Tim Curtis - 09-24-2022 Oops, should be /var/local/www/imagesw/radio-logos /var/local/www/imagesw/radio-logos/thumbs |