I've written a little utility in perl which syncronizes a number of playlists created using Clementine. The perl program, clementine-sync.pl, reads the playlists saved in the Clementine SQLite database and copies the songs from the selected playlist(s) to the target device, which is simply a target directory present when the phone is attached to the computer and the SD card is mounted as a storage device. I've included the basic usage of the program below. I store my music on my phone under the 'Music' directory so when it's attached to the computer and mounted, it appears as '/media/3331-3932/Music'. My mp3 collection is stored as Artist/Album in my home directory under 'MP3'. Pretty simple really…
$ ./clementine-sync.pl -h
usage:
./clementine-sync.pl -l Playlist -p /path/to/music -o /target/music/directory
./clementine-sync.pl -l TomPhone,Blues -o /media/3331-3932/Music -p ~/MP3 -d
./clementine-sync.pl -a
./clementine-sync.pl -h
-a : list all playlists and exit
-l : name of the playlist(s) delimited by a comma (,)
-o : directory where music files will be copied
-p : path to your music library
-d : delete from target not found in playlists
-h : this message
Feel free to browse my Library. Be patient as there are over 9000 tracks and 716 albums in my collection.
Discussion