I want to name downloaded audio files in playlists and albums by the track order. Only the track_number output path command seems to be directly related and results in every file being prefixed with NA string.
Affects both Soundcloud and Bandcamp (low-bitrate audio stream is always provided for free).
sample command:
youtube-dl -f bestaudio -o "%(playlist_title)s/%(track_number)s.%(title)s.%(ext)s" url

playlist_titleis the title of the subfolder, I should perhaps remove it from the sample command for clarity. – user198350 Apr 11 '18 at 19:10youtube-dl -f bestaudio -o "%(playlist_title)s%(track_number)s.%(title)s.%(ext)s" urland does that work – SlickNutz Apr 11 '18 at 19:13NA.is now added after the playlist title to the filename. – user198350 Apr 11 '18 at 19:17