(02-11-2024, 08:45 AM)Falco Wrote: (02-11-2024, 01:45 AM)fdealexa Wrote: (02-10-2024, 10:33 AM)Falco Wrote: hi all,
I guess I'm overlooking things, but how can I export and import radio stations (incl cover art etc)?
I have two moOde players and I have added quite a few on the one player, which I would like to export to the other player. How do I accomplish that?
Can I use the backup function to backup radio stations from player 1 and use the restore function to import the radio stations in player 2?
I hope I do not have to add them manually in player 2.....
Hi Falco,
I normaly use the station_manager util: the following is the Thread
Best regards
Francesco
Hi Francesco, that sounds like the function I need, however I do not see the export button in the Radio Manager?
Do I first need to update according to the instructions in the thread you linked?
Hi Falco,
the utility is present in the moOde release: it is a superb Python program contributed by @
bitlab and it is located in the /var/www/util directory.
May I suggest you to follow the procedure that I use to export, import and clear the radio stations in the moOde environment?
Assuming that "pi" is the default user:
Code:
cd /home/pi
mkdir StationManager
cd StationManager
sudo cp /var/www/util/station_manager.py ./
sudo python3 station_manager.py --scope other --export Falco_2024-02-11.zip
on the second system you have to:
Code:
cd /home/pi
mkdir StationManager
cd StationManager
sudo cp /var/www/util/station_manager.py ./
Copy the .zip (please note that the name of the file can be as you prefer) to the second system (in the StationManager directory) (I normaly use winscp) and then import the stations:
Code:
cd /home/pi/StationManager
sudo python3 station_manager.py --scope other --import Falco_2024-02-11.zip
I suggest to reboot the system before listen to the new imported stations.
Please note that if you want to clear (for example on the second system, before to import the stations) the previous situaation, you can use the option of the station_manager program (be carefull that clear will definitivelly clear all the created stations: you wiil loose all images and all informations):
Code:
cd /home/pi/StationManager
sudo python3 station_manager.py --scope other --clear
the help is available in:
Code:
cd /home/pi/StationManager
python3 station_manager.py --help
Please, do not hesitate to ask any additional questions.
Best regards,
Francesco
I will appreciated if you privately send the .zip file to me, thanks