Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Update from version 6.7.1 2020-07-22
#3
You can use Radio Manager in 671 to export the stations and then use the new, more comprehensive station manager utility in moOde 7 series to import the stations you created.

Code:
pi@rp2:~ $ /var/www/command/stationmanager.py -h
usage: stationmanager.py [-h] [--version]
                        (--import | --export | --clear | --compare)
                        [--scope {all,moode,other}]
                        [--type {favorite,regular,hidden,nothidden}]
                        [--how {clear,merge}] [--db DB]
                        [backupfile]

Manages import and export of moOde radiostations.

positional arguments:
 backupfile            Filename of the station backup. Required by the
                       import, export and compare.

optional arguments:
 -h, --help            show this help message and exit
 --version             show program's version number and exit
 --import              Import radio stations from backup.
 --export              Export radio stations to backup.
 --clear               Clear radio stations. This will delete the contents of
                       the SQL table, logo images and pls files of the
                       selected stations within the specified scope.
 --compare             Show difference between SQL table and station backup.
 --scope {all,moode,other}
                       Indicate to which stations the specified action
                       applies. (default: other)
 --type {favorite,regular,hidden,nothidden}
                       Indicate the type of station to export.
 --how {clear,merge}   On import, clear stations before action or merge and
                       add. (default: merge)
 --db DB               File name of the SQL database. (default:
                       /var/local/www/db/moode-sqlite3.db

Root privileges required for import or clear.
pi@rp2:~ $
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: Update from version 6.7.1 2020-07-22 - by Tim Curtis - 03-28-2021, 09:39 PM

Forum Jump: