Easiest way for Radios Icon - 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: Easiest way for Radios Icon (/showthread.php?tid=303) |
Easiest way for Radios Icon - BlackSmile - 07-15-2018 Hi again, I try this afternoon to add new radio station. The way to add icons to them seems kind of complicated. I see Radios are in a radio shared folder (.pls files at least) and radios icons far in a radio-logos folder (and locked). Is it possible (and maybe easier) to add a logos folder in Radios .pls shared folder ? then people just need to add them here (with same name for example...). thx for reading me RE: Easiest way for Radios Icon - remy1961 - 07-18-2018 Hi BlackSmile, Last week-end I added about 10 radio stations with logo using the how to guide provided in this forum. The process is not that complicated. I am not an expert and learned ssh just here in the forum. I started by creating 2 jpg for each logo, one 400x400 pixels and the second 100x100 pixels and put them in 2 different folders in my computer. I used a software called netatalk to drag and drop the 2 folders from my computer (mac osx) to the /home/pi directory of the RPi . Typing "sudo bash" on the command line will let you copy your jpg to the right directories without restriction. I copied the 400x400 directory to the radio-logos directory and the 100x100 directory to the thumbs directory: Code: sudo bash To make them visible to the playback tab, you follow the instructions to open the database, the aim being to know the last id number used in your data base. If the last id number is 180 for example, you will start inserting your radio station data using the id number 181. You then use the command provided to insert the data. Code: insert into cfg_radio VALUES(181,'station url','station name','','local'); Remy RE: Easiest way for Radios Icon - BlackSmile - 07-21-2018 Hi, thx for your reply. I already do that and I know that. Using ssh/command lines is usually dangerous for non "aware" people ! Going in the sqlite database seems a little dangerous to me especially to add a simple picture. |