A random playlist generator.
Uses the eyeD3 MP3 parsing library.
$ playlist -?
usage: playlist.py [-h] [-?] [-f {m3u,wpl}] [-b BEFORE] [-a AFTER]
[-d DURATION] [-g GENRE] [-m MEDIA] [-p PLAYLIST]
[-t TRACKS] [-l LIMIT] [-v]
Create randomized playlists
optional arguments:
-h, --help show this help message and exit
-?, --query show this help message and exit
-f {m3u,wpl}, --format {m3u,wpl}
playlist format
-b BEFORE, --before BEFORE
only tracks from before (year)
-a AFTER, --after AFTER
only tracks from after (year)
-d DURATION, --duration DURATION
total playing time duration (minutes)
-g GENRE, --genre GENRE
music genre(s) for tracks
-m MEDIA, --media MEDIA
root directory for media
-p PLAYLIST, --playlist PLAYLIST
root directory for playlists
-t TRACKS, --tracks TRACKS
numer of tracks for playlist
-l LIMIT, --limit LIMIT
maximum number of playlists; oldest is deleted if
required
-v, --verbose verbose mode showing what we're doing