04-13-2025, 09:48 PM
(04-08-2025, 02:43 PM)gbh_uk Wrote: For anyone interested, sharing here my re-worked thumbnails for the four excellent 'Jazz de Ville' stations included with moOde.
They're not necessarily the colours or styles that I would have chosen for myself, but they are pretty true to the colours and styles of the stations in the official TUNE-IN radio app.
Saludos
Maybe a feature could be developed that enables user created station packages to be created that could then be downloaded and installed. There is a basic plugin mechanism (unused) already in place in moOde and we have the super nice station_manager.py utility created by @bitlab :-)
What do you think?
Code:
pi@moode9:~ $ /var/www/util/station_manager.py --help
usage: station_manager.py [-h] [--version] (--import | --export | --clear | --compare | --diff DIFF | --regeneratepls) [--scope {all,moode,other}]
[--type {favorite,regular,hidden,nothidden}] [--how {clear,merge}] [--db DB] [--logopath LOGOPATH]
[backupfile]
Manages import and export of moOde radiostations.
positional arguments:
backupfile Filename of the station backup. Required by the import, export and compare.
options:
-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.
--diff DIFF Create a diff backup with the difference between the old (=backup) and new (=db) to this files.
--regeneratepls Regenerate the radio .pls files from db.
--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
--logopath LOGOPATH Location of the radio logos. (default: /var/local/www/imagesw/radio-logo
Root privileges required for import or clear.