MattJaccino / spotify-downloader

Spotify song downloader using API created by spotifydown.com
100 stars 22 forks source link

Downloaded audio files doesn't have Track Number in its metadata #9

Open alj-x64 opened 3 months ago

alj-x64 commented 3 months ago

The audio files doesn't have track numbers on its metadata. Is there any way to add it automatically during the download?

MattJaccino commented 2 months ago

Unfortunately the API's response for a song doesn't mention it's track number from the album is comes from. Here's what you get back:

{"success": true, "metadata": {"cache": true, "success": true, "id": "...", "artists": "First, Second", "title": "Song", "album": "Album", "cover": 
"https://i.scdn.co/image/...", "isrc": "...", "releaseDate": "YYYY-MM-DD"}, "link": "https://cdn2.meow.gs/api/stream?t=..."}

it's gonna take some extra requests to look up the album and determine the track number from there, but I'm gonna have to do that another time. sorry my man

MattJaccino commented 4 weeks ago

This will be added with the Lucida update