track: set performer and song writer from the sheet if not set per track
readme: update installation instructions
fix wrong mod path; → go 1.16; update deps
A command line tool for fast frame accurate audio image + cue sheet splitting.
This project is started mostly out of frustration over supporting split2flac with all the external dependencies and their quirks.
You need Go installed.
go install git.sr.ht/~ft/unflac@latest
~/go/bin/unflac -h
Yeah, that's it.
Set a specific sample rate for output files:
unflac -arg-ffmpeg -ar -arg-ffmpeg 44100 ...
man ffmpeg
contains a lot more.
To set a custom output file naming use -n
option (run unflac -h
to see the default value).
The format of the argument is described here.
Elem - a function that replaces invalid file path characters with ones that look (almost) the same but valid
.Input.TrackNumberFmt - track number printf format (it's either "%02d" or "%03d" depending on the number of tracks)
.Input.Composer - composer (can be empty)
.Input.Performer - performer (can be empty)
.Input.SongWriter - song writer (can be empty)
.Input.Title - title, that's album name in general (can be empty)
.Input.Genre - genre
.Input.Date - date
.Input.TotalTracks - total number of tracks
.Input.TotalDisks - total number of disks, 0 if there is only one disk
.Input.Artist - a special handy field that is selected based on Composer/Performer/SongWriter; is never empty
.Track.Number - track number
.Track.DiskNumber - disk number, 0 if there is only one disk
.Track.Composer - composer (can be empty)
.Track.Performer - performer (can be empty)
.Track.SongWriter - song writer (can be empty)
.Track.Title - track title
.Track.Artist - a special handy field that is selected based on Composer/Performer/SongWriter; is never empty