![]() |
[How to do instruction] Exporting/Importing Radio Stations - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: FAQ and Guides (https://moodeaudio.org/forum/forumdisplay.php?fid=9) +--- Thread: [How to do instruction] Exporting/Importing Radio Stations (/showthread.php?tid=3522) |
RE: Exporting/Importing Radio Stations - fdealexa - 04-14-2021 Hi biftab, Very good job. I have a question: Assume that you import 50 stations (other) so the position from 500 to 549 are occupied. What does it happen if in a new (other) import .json there are some duplicate number? Are all of them appended to the existing list or what? Thank you very much for the modifications and for the support. Best regards, FFrancesco RE: Exporting/Importing Radio Stations - bitlab - 04-15-2021 The new imported ones will be add after the existing ones. The position (= database id) in the backup is only used to determine if the stations belongs to the category moode (<=499) or other (>499). RE: Exporting/Importing Radio Stations - fdealexa - 04-15-2021 (04-15-2021, 03:18 PM)bitlab Wrote: The new imported ones will be add after the existing ones. Thanks. ![]() RE: Exporting/Importing Radio Stations - Jedrek - 09-25-2021 I can't cope with updating my radio stations from moodeaudio 6.x to 7.3 Could someone please help me convert the station.zip file to the new format? There are a lot of stations with no photos, but that's how it should be. Thank you very much for your help, please also indicate the article on how to do it yourself in the future. RE: Exporting/Importing Radio Stations - fdealexa - 09-25-2021 @Jedrek Please have a look at the following Instructions. Furthermore please note that the zip you have sent contains: Quote:636 files ".pls"Please try to follow the Kent's instruction (above mentioned) and come back if any problem. Regards, Francesco RE: Exporting/Importing Radio Stations - fdealexa - 09-26-2021 Hello Jedrek, After installing the stationmanager package, the .zip file (to be downloaded) must be copied to the stationmanager folder. Run the following command: Code: sudo ./stationmanager.py --import --scope other moOde_7.3.0_Jedrek-save.zip You will find your 477 radios. I recommend that you do a reboot before trying to listen. Note that I created a jpg for the radio icon and entered your name as "broadcaster" so that you can group them all together. I noticed tha some of them has a wrong URL. Best regards and let us know, Francesco moOde_7.3.0_Jedrek-save.zip RE: Exporting/Importing Radio Stations - Jedrek - 09-27-2021 @fdealexa I will test it today. From my 636 .pls only 477 will be working ? Wrong URL? You do test all stations ? RE: Exporting/Importing Radio Stations - fdealexa - 09-27-2021 (09-27-2021, 11:09 AM)Jedrek Wrote: @fdealexa Hi Jedrek, 477 are your station, the remaining were system's radio. I have tested only some of them, but I am sure to have imported all your stations. Best regards, Francesco RE: Exporting/Importing Radio Stations - forlau - 09-29-2021 Hi, i'm using a fresh install of moode 7.40. First i tried to modify the exported station.zip file (station_data.json , radio-logos and thumbs) copied from on older installation/export. Unfortunately the import is showing errors: Code: "SQL database location is '/var/local/www/db/moode-sqlite3.db' Station logos location is '/var/local/www/imagesw/radio-logos' Station pls file location is '/var/lib/mpd/music/RADIO' Using Station backup file '/var/local/www/station_import.zip'. ERROR: Station backup file '/var/local/www/station_import.zip' is not a valid format" I spend already some hours in this topic and i found out, that if i unzip the exported station file and zip it again, i get the same error message. So the content of the zip did not change, but if i re-import the original station.zip file, it works. So the difference seems to be the zip format. Do you have any idea, what is going on here? I'm running an Ubuntu laptop and tried different zip tools. RE: Exporting/Importing Radio Stations - bitlab - 09-29-2021 @forlau I tried to reproduce the problem without luck:
Btw the error "is not a valid format" would indicate that moOde can not find a 'station_data.json' (new format) or a 'var/local/www/db/cfg_radio.csv' (old format) file the the backup file. |