08-10-2019, 01:07 PM
@ghoeher
Hi, Georg.
If you can wait a couple more days I should have Python scripts ready for prime time which do the following:
I starting developing these scripts for my own use but they may be useful to others to:
Regards,
Kent
Hi, Georg.
If you can wait a couple more days I should have Python scripts ready for prime time which do the following:
- in export mode, scan the moOde database for user-defined radio station entries; for each one extract the db info along with the corresponding .pls file, the station logo .jpg file and its thumbnail .jpg file (if the image files exist); save all to a tarball (e.g., a tar file).
- in import mode, untar the tarball to a temp directory and, for each station, first check if it clashes with a station already present in the moOde database; if not, extract the station entry to the database and the corresponding files to their proper places.
I starting developing these scripts for my own use but they may be useful to others to:
- Deal with upgrading to a new major release of moOde
- Copy stations from one player to another player whether it's running the same release or a different release
- Share favorites to another user
Regards,
Kent