-
Notifications
You must be signed in to change notification settings - Fork 56
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
Enable Background Playback no longer works on YouTube v18.27.32+ #155
Comments
That's right. I also have the same problem on Xiaomi 11. Hope the developer will fix it soon |
There are perhaps some code changes from YouTube's side to make the feature unavailable, not sure. I downgraded the app version to v18.25.38 and it works. |
@badbeing according to your logs, the background patch seems to hook the correct class but the wrong method, unfortunately, I cannot help in the meanwhile, I won't be near my PC for the upcoming 4 weeks |
No worries, I've downgraded to a slightly older version since the module works perfectly fine there. Enjoy your vacation! 😄 |
FYI, it started working for me again on version 18.28.33! |
First, enjoy your vacation! In your code, the findAndHookVideoBGP4C method is hooking on a wrong class (adun), the correct one would be acxn. I've messed around with this here for a while, and I've been able to verify that such class has always no declared fields, so adding one more check to the code (below) did the trick here. Ofc you'll check and write something more elegant to handle with that! if (aClass.getDeclaredFields().length > 1) return false; |
I got tagged again by the previous comment lol. Anyway, just a small PSA that I have unrooted my device, so I no longer have access to any Xposed modules (especially the YouTube app is a system app on Pixels) and so I cannot perform any testing. 😔 |
I tried the module today, and it seems to work fine against the latest YouTube version 18.34.37 I see on the Play Store. |
Since v18.27.32, when a user turns off their phone screen the video will automatically stop playing.
Device: Pixel 7 Pro
LSPosed logs:
LSPosed_2023-07-07T18_17_35.316819.zip
The text was updated successfully, but these errors were encountered: