Closed ukanuk closed 5 months ago
@ukanuk Thanks for the detailed bug report. I'll look into this and try to resolve it.
tmp
folder: Updated to use standard library to create log file. No need to create tmp
in C:\
env
setup: Updated readme and added env.bat
Feel free to reopen this if were not fixed with update. As I don't have windows I can't exactly test them.
I can confirm both updates are working on my Windows computer! Thank you!
Thank you for this library, successfully got more than 80% of my songs imported (at least the ones that exist on Spotify; quite a few of my songs are remixes which are only on YouTube / Soundcloud, so obviously those aren't on Spotify at all).
This playlist won't import at all: https://www.youtube.com/watch?v=7OqwKfgLaeA&list=PLwfik5yb4m-q6MRkUgdIlLdsrHHVJFOMi
Also got errors for a few songs on other playlists, thought you might be interested. Seems to be something to do with when it finds a Spotify song using unicode characters, e.g. YouTube Via Gra - LML converts to Spotify VIA Gra - ЛМЛ (Лучик мой, любимый) but returns these errors:
Side note, here's a few issues I ran into trying to use this on Windows. Perhaps you might consider adding this pitfalls to the README for other Windows users like me. It took me a half-day to tinker around and figure them out:
tmp
inC:\
so that logging will work as expectedset
for Windows environment variables doesn't set them globally and python likely won't recognize them. Usesetx
instead, and put them in a batch file so they can beINVALID_CLIENT: Invalid redirect URI
when trying to run the script. Here's my batch fileenv.bat
(with secrets obfuscated), note that I use double quotes to escape the string instead of single.