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

YouTube Settings button does not work #33

Open
slokhorst opened this issue Feb 25, 2025 · 1 comment
Open

YouTube Settings button does not work #33

slokhorst opened this issue Feb 25, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@slokhorst
Copy link

Describe the bug
Clicking "YouTube Settings" does nothing.

To Reproduce
Steps to reproduce the behavior:

  • pip install ytm2spt
  • start ytm2spt
  • Fill in Spotify developer account credentials
  • Click "YouTube Settings" button
  • Nothing happens
  • in the terminal, it shows:
PS C:\Users\sebas> ytm2spt.exe
Welcome to ytm2spt!
Traceback (most recent call last):
  File "C:\Users\sebas\AppData\Local\Programs\Python\Python312\Lib\site-packages\ytm2spt\gui.py", line 118, in get_oauth_token
    setup_oauth(filepath=YTOAUTH_PATH, open_browser=True)
TypeError: setup_oauth() missing 2 required positional arguments: 'client_id' and 'client_secret'

Device (please complete the following information):

  • OS: Windows 11 x64
  • Python Version: Python 3.12.9
@abhishekmj303 abhishekmj303 added the bug Something isn't working label Feb 25, 2025
@abhishekmj303
Copy link
Owner

As quoted in the API docs: https://ytmusicapi.readthedocs.io/en/stable/setup/oauth.html

As of November 2024, YouTube Music requires a Client Id and Secret for the YouTube Data API to connect to the API.

I need to update the youtube oauth workflow. In the mean time you can use the v1.1.0 (but this won't work for playlists with more than 100 songs)

pip install ytm2spt==1.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants