spotDL / spotify-downloader

Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found).
https://spotdl.readthedocs.io/en/latest/
MIT License
15.55k stars 1.48k forks source link

Preserve original `list-position`, when local/unavailable songs are skipped #2104

Open dxrcy opened 1 month ago

dxrcy commented 1 month ago

Requested Feature

When downloading with {list-position} included in the --output option.

When a local song is ignored, the following songs in the playlist will be saved under a different track number than that of the original playlist (shifted down to fill gaps). I think that an option to preserve the original number would be beneficial, especially if a user wants to manually include the local tracks, so they won't have to rename the files to fix the numbers.

Playlist order as shown on Spotify:

  1. foo
  2. bar (local/unavailable)
  3. baz

Tracks downloaded:

  1. foo
  2. baz (should be 3)

This is a very minor issue, so I do not mind if this is considered out of scope or not worthwhile :-)

See #2105

Possible implementation

-- or --