wisdom-tree icon indicating copy to clipboard operation
wisdom-tree copied to clipboard

connection error when playing playlists

Open TheCheddarCheese opened this issue 1 year ago • 2 comments

when i select custom playlist and enter a youtube playlist link, it gives me a connection error. this doesn't happen with the play music from youtube option. my firewall is off (yes i know that's stupid but i didn't even realize until now) so that can't be the issue.

TheCheddarCheese avatar Dec 15 '23 13:12 TheCheddarCheese

It is because it uses pytube and it broken. Use pytubefix instead of pytube. So,

  1. run "pip install pytubefix"
  2. Go to ~\scoop\apps\python\current\Lib\site-packages\wisdom_tree\main.py (or equivalent of your OS and installation type)
  3. Change 'import pytube' to 'import pytubefix' while keeping rest same.

That is what worked for me so i guess it should work you

ghost avatar Mar 20 '25 17:03 ghost

Hmm, if pytube remains broken, I think it might be a good idea to replace the dependency.

HACKER097 avatar Mar 20 '25 17:03 HACKER097