A collection of Python scripts for managing and updating Rockbox firmware on Rockbox devices, along with tools for organizing music files.
This script serves as a unified entry point to perform multiple tasks related to Rockbox devices, music synchronization, and playlist management.
python app.py --playlists-directory-name "Playlists" --music-directory-name "Music" /path/to/rockbox_mount /path/to/music
- mount_point: The mount point of the Rockbox device.
- source_music_directory: The source directory containing the music files to be synchronized.
- playlists_directory_name (optional): The name of the directory where playlists will be exported (default is "Playlists").
- music_directory_name (optional): The name of the directory on the Rockbox device where music will be synchronized (default is "Music").
This script organizes music files, extracts cover images from audio files, and processes the cover images to ensure a consistent format. It is designed to enhance the organization of a music collection.
python album_art_fix.py /path/to/music_directory
This script organizes exports all the user playlists in the macOS Music app to the specified directory as m3u.
python mac_playlist_export.py /path/to/store_playlists
This script synchronizes music between a source and target directory. It uses rsync
for efficient file transfer and incorporates the functionality of album_art_fix.py
to fix album art before syncing.
python sync_music.py /path/to/source_directory /path/to/target_directory
This script updates the Rockbox firmware on any Rockbox supported device, it autodetects the current device and updates it accordingly. It checks for the latest Rockbox SVN revision, compares it with the current revision, and updates the firmware if necessary.
python update_rockbox.py /path/to/rockbox_mount_point
- Clone the repository.
- Install the dependencies:
pip install -U -r requirements.txt
- @SupItsZaire for their Rockbox Cover Art Fixer script