-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
[YTMusicBackend-3] mopidy_ytmusic translate_uri error "'NoneType' object has no attribute 'get_signature'" #41
Comments
Thanks I'll take a look. |
So I checked and this is actually a bug with PyTube which is what we use to break the signature obfuscation. pytube/pytube#1163 They've already got pull requests submitted to fix this, so I'm just going to wait for them to make a new release, then I'll update our code to use the new version, and publish a new release as well. Probably won't take long. |
@impliedchaos just to let you know, things seeeem to be working again today... |
Thanks, that's good to know. Google changes the javascript obfuscation function daily, and it seems like today's doesn't have the code that caused the previous breakage. So I'm still waiting on pytube to implement the fix. Hopefully soon so I can roll out the new release and keep this one from happening again. |
Ok, thanks for the update, I will let you know if anything changes again here in this thread. tahnks for your great work. |
FYI pytube version 11.0.2 is now out and appears to fix this issue along with an issue that was preventing me from playing any music at all. I would just receive the below error:
I ran the following to fix upgrade: |
Thanks! I'll update to require this latest pytube version and push out a new release. |
I'm getting Manually applying the suggested change in the regex (pytube/pytube#1199 (comment)) in pytube's |
I've applied the suggested change and it had been working for some time but now it's broken again |
I've also applied a change mentioned here. The error is gone, but playlist is not being populated |
This is the correct fix I suppose, Upd: it does work actually I wasn't able to add some particular playlist but another one has started working. So basically workaround is:
|
it works for me, tks bro! |
Hi there, I am unable to install pytube@nfunc_regex_patch |
Take a look at this issue: pytube/pytube#1289 |
worked here too |
Worked |
Doing the following fixed it for me 🙂
(because the branch that was originally used in @sprnza's has now been merged) |
This worked for some time, but broke again yesterday :P |
same here. |
Here's the new fix pytube/pytube#1326 (comment) I really hope pytube updates with these new fixes soon, because editing sources is getting tiresome. |
Same problem here with pytube 12.1.3. I wonder if this is due to my environment since other issues about other problems were created later within this repo, indicating other people don't have the pytube incompatibility problem somehow, do they? |
So how does this work for anyone? I even patched mopidy-ytmusic to use pytube 15.0.0 but it still fails, logging the error:
|
Guessing the project I have been working on is now dead, as no one seems to respond here, and as of this morning I noticed that the plugin has started having issues any wont play what appears to be any premium music, when i play tracks from MyLikes, it will play stuff I have uploaded and at will play free music i liked from youtube, but will skip any music that is coming from Youtube Music premium, wont play any tracks from albums or anything like that, the error being reported it
Like i say, the plugin has been working perfectly, i have run
sudo mopidyctl ytmusic reauth
And it updated my auth.json file with new details from when I set this up, rebooted and stuff, but no difference.
Really hope someone can help/fix
The text was updated successfully, but these errors were encountered: