sigma67 / spotify_to_ytmusic

Clone a Spotify playlist to YouTube Music
MIT License
895 stars 67 forks source link

Running setup with different accounts get same liked list #101

Open alexbergsland opened 3 months ago

alexbergsland commented 3 months ago

I've used spotify_to_ytmusic to migrate my family's Spotify lists to YT Music. I ran my account on one computer and three other accounts on another computer. For each family member I did spotify_to_ytmusic setup and chose option 3. I made a project in Spotify console and authorized the Google account using http://localhost, the first one without port and the other two with 8080. First I ran spotify_to_ytmusic liked and then spotify_to_ytmusic all username. It worked well on the first account but the other two got the liked list from the first user. I checked that the client id and client secret where correct for each user.

Not a big deal though. Thanks for this great project, saved us a lot of time :)

ankarhem commented 3 months ago

I had the same issue. A workaround is to remove the file spotipy.cache which contains the oauth token for spotify. This will retrigger the oauth process when trying running spotify_to_ytmusic liked. For me this file was located at:

rm /System/Volumes/Data/Users/YOUR_USERNAME/Library/Caches/spotify_to_ytmusic/spotipy.cache