You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using '--output "{list-position} {artists} - {title}.{output-ext}" ' in attempt to sync Saved tracks expected following file naming:
000 Artists - Title.ext
Steps to reproduce - Ensure to include actual links!
Here is the command that I used:
spotdl sync saved --user-auth --save-file "saved.sync.spotdl" --output "{list-position} {artists} - {title}.{output-ext}
Traceback
Here is what I've got in PowerShell:
Template contains {list-position}, but it's value is None. Replacing with empty string.
Downloaded "Aria - Зомби": https://music.youtube.com/watch?v=0r6Ob8vTeqk
and same thing for the next 481 tracks
Other details
I suppose that this is mostly because of the .sync.spotdl file.
Here are contains of the .sync.spotdl file (only for 1 of all 481 tracks)
UPD: I was trying to add list-position in output so that I could see all my 481 tracks in correct order(as they go in my Saved playlist).
Tho, I found a workaround to do so. I just edited the config, so that I have in 32nd line of the config I have " 1 "
UPD 2: I know that is ruining my download speed, but that worked
System OS
Windows
Python Version
3.13 (CPython)
Install Source
pip / PyPi
Install version / commit hash
4.2.11
Expected Behavior vs Actual Behavior
When using '--output "{list-position} {artists} - {title}.{output-ext}" ' in attempt to sync Saved tracks expected following file naming:
000 Artists - Title.ext
Steps to reproduce - Ensure to include actual links!
Here is the command that I used:
spotdl sync saved --user-auth --save-file "saved.sync.spotdl" --output "{list-position} {artists} - {title}.{output-ext}
Traceback
Other details
I suppose that this is mostly because of the .sync.spotdl file.
Here are contains of the .sync.spotdl file (only for 1 of all 481 tracks)
{
"type": "sync",
"query": [
"saved"
],
"songs": [
{
"name": "Зомби",
"artists": [
"Aria"
],
"artist": "Aria",
"genres": [],
"disc_number": 1,
"disc_count": 1,
"album_name": "Кровь за кровь",
"album_artist": "Aria",
"duration": 270,
"year": "1991",
"date": "1991",
"track_number": 2,
"tracks_count": 8,
"song_id": "1X36ZqzDfzOzz05pYnXdJd",
"explicit": false,
"publisher": "M2BA",
"url": "https://open.spotify.com/track/1X36ZqzDfzOzz05pYnXdJd",
"isrc": "USA370952276",
"cover_url": "https://i.scdn.co/image/ab67616d0000b2737ebccf5f08ae28986ceed882",
"copyright_text": "1991 M2BA",
"download_url": null,
"lyrics": null,
"popularity": 14,
"album_id": "18OdfFMip6GTE3l0HnvqPp",
"list_name": "Saved tracks",
"list_url": "saved",
"list_position": null,
"list_length": 481,
"artist_id": "0ICn3Cbc4mMeLmTvwnqXYu",
"album_type": "album"
}
]
}
As we can see " "list_position": null " for some reason .sync.spotdl didn't took list position from Saved Songs...
The text was updated successfully, but these errors were encountered: