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

fixed oauth in mopidy ytmusic setup command #4

Merged
merged 2 commits into from
Jan 10, 2024
Merged

fixed oauth in mopidy ytmusic setup command #4

merged 2 commits into from
Jan 10, 2024

Conversation

cprn
Copy link

@cprn cprn commented Dec 31, 2023

The current version of this plugin (with your changes) doesn't work for creating a brand new auth.json file - the call for YTMusic(filepath) isn't correct anymore - thus, any new user would have issues. This change fixes that issue and mopidy ytmusic setup or sudo mopidyctl ytmusic setup work fine again creating a correct file. I changed the default name of the file to oauth.json to prevent overwriting of the old auth file for people who still have and use it.

Also removed the upper boundary of pytube version because it collides with current version 15.0.0 and there are no changes preventing the code from working as is.

Also removed the upper boundary of pytube version
because it collides with 15.0.0 and there are no
changes preventing the current code from working.
Copy link

@kmac kmac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@jmcdo29
Copy link
Owner

jmcdo29 commented Jan 10, 2024

Thanks for the PR. Haven't used the package in a bit, but glad to see there's still a community around it

@kmac
Copy link

kmac commented Jan 10, 2024

Thanks @jmcdo29. When you get a chance would you be able to create a new release? I'll update the arch package to pull from the release when it's ready.

@jmcdo29
Copy link
Owner

jmcdo29 commented Jan 10, 2024

@kmac all right, new release has been made

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