robbeofficial / spotifyripper

small ripper script for spotify (rips playlists to mp3 and includes ID3 tags and album covers)
656 stars 102 forks source link

Duplicate track names not supported #25

Open sheddup opened 9 years ago

sheddup commented 9 years ago

I was ripping this album /album/2wfWqYWTrCifvbZt20rImU which oddly contains multiple same titled tracks, the script ends up overwriting tracks that are named the same(if they're in the same folder)

I ended up band aiding my own fix by appending a UUID to mp3file in rip_init() ( although this breaks rip_id3() ) A proper fix would be something like appending the track number or something else unique(that isn't gibberish)