Generating Playlists:
---------------------
Tag can generate playlists for your tracks, naming the lists by the name of the
directory files are in, by scheme "Album artist - Album title", or use the name
you specify.
Playlists have playing times, Winamp's display title and AlbumList extensions by
default, but if wanted they can also contain only filenames.
By default playlists are sorted by track number, but they can also be sorted by
duration: track duration
size: filesize
name: name with full path
path: only file path
basename: filename without path
extension: file extension
attrib: file attributes
time_access: time file was last accessed
time_create: time file was created
time, date: time file was last modified
bitrate: bitrate of file
channels: audio channels in file
samplerate: samplerate of file
format: audio format
<x>: any item <x> in tag (artist, title, track, comment, genre, year...)
Sorting order can also be reversed.
You can tell Tag to write only one playlist of all files or to write multiple
playlists, one to every directory with files.
Tag will try to automatically detect album artist and album title from tags, but
those can also be given with parameters --a-artist and --a-title.
Sorting options are given with parameter --sort, and if you want to sort by multiple
properties add new properties with parameter --sort+.
Playlist options:
--playlist : generate one playlist per directory
--oneplaylist : generate one playlist from all files
--playlists : generate one playlist per album in current directory
--a-artist <x> : set album artist to <x>
--a-title <x> : set album title to <x>
--onlyfiles : writes only filenames in playlist, no extra information
--dirname : use directory name for playlist naming
--plname <name> : use <name> as playlist name.
--slashes : use slashes '/' instead of backslashes '\' in playlists
--nospaces : replaces space by underscore in names of written files
--sort <by> : sort playlist only by <x>
--sort+ <x> : add new playlist sorting property <x>
--sortdesc : sort in descending order
Example to write one big playlist of all .mp3 files and sort the playlist by
path and by track number:
Tag --oneplaylist --sort path --sort+ track --recursive *.mp3 |