synrg/stream2tracks — Issue #7: Wishlist: list tracks and exit
Author: synrg
Created: 2011-11-28 11:52:29+00:00
State: open

Provide the ability to list tracks before downloading, e.g.

$ stream2tracks -l
Title of track
Album: Album
Artist: Artist
Track: ##
Title: Title of track
Filename: Filename (i.e. filename that would be used if we were downloading)
Input format: xxx
Title of track 2
etc.

Suggested switch name -l --list. Could possibly work in conjunction with -v (to make more verbose) or else make the long form the default and support -b --brief-list or -s --short-list for something more compact like:

$ stream2tracks -b
"01","Album","Artist","Title of track","Filename","Input format"

Come to think of it, if using CSV as the above example shows, maybe -c --csv for this form (appropriately quoting double-quotes within each field). But some fixed format listing (like "ls -l") might be nicer looking, though in that case I'm afraid the total length of all fields may be too long to look appealing. Another way would be a hierarchical listing:

Album - Artist
01 Title
02 Title2
etc.

and -v could add more detail (filename, format).