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

Updating to Python 3 and upgrading login to use OAuth #61

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

winstonliu
Copy link

Updated login process to use oauth_login instead of of login (which has been marked deprecated).

Since Python 2 is no longer supported by gmusicapi, I made the minimum number of changes to get the code running on Python 3. Kudos for the log function. That made it really easy to switch over.

Not sure what the intent behind line 71 of common.py was:

sys.stdout.write(message.encode(sys.stdout.encoding, errors='replace'))

I replaced it with a simple print statement.

Tested by downloading and uploading a playlist.

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

Successfully merging this pull request may close these issues.

1 participant