Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck on "Sort done!" #1

Open
res7702 opened this issue Dec 19, 2022 · 1 comment
Open

Stuck on "Sort done!" #1

res7702 opened this issue Dec 19, 2022 · 1 comment

Comments

@res7702
Copy link

res7702 commented Dec 19, 2022

Everything setup, but after the sort the script just exits. Maybe outdated?
Sorry for my lack of knowledge I'm new to Python and willing to troubleshoot if necessary👍

@bridge-exe
Copy link
Owner

Hi there, thanks for trying out my project! I'm not sure if it's going to be able to work. I also don't have the ability to test or run my code, and I probably won't for about 6 months.

What I think is happening is that since this program works with the Spotipy API, and I don't have the client ID or Secret provided in my code, it's not able to access the Spotify for Developers API. But if by some miracle the OAuth is working, and you do get the pop-up that requires you to provide your Spotify login credentials and consent for the project to look at your playlists, I think the code does stop after the sorter function.

If by 'exits' you mean that the script stops running, it's probably performing as intended, since the sorter function is the final script called in the main method, right before the sorted values are sent to your Spotify to make the new playlist at the end of the main method.

I'm certain this wasn't helpful, but thank you for looking at my code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants