Closed briantho closed 1 year ago
Whoops, this is NOT a error while patching but an error while using
Unable to reproduce, leaving open for others to reproduce.
Unable to reproduce, leaving open for others to reproduce.
did you search for a song? or select one from quick picks, or listen again? it only happens when searching for a song. quick picks, listen again, and everything from the home screen of youtube music work complexly fine. you also need to have the screen off and wait till the song finishes. it will not load the next song in the autoplay queue
Yes, that is exactly what I tried and it works as expected
Yes, that is exactly what I tried and it works as expected
hmm, ok. interesting. I just tried another phone (google pixel 5a) with youtube music revanced using the same patcher settings. same result. Would you mind sharing what version of youtube music you are using, as well as what patchers you have applied?
I tried on version 5.50.53
Just tried updating. Same issue for me, anyway. I uninstalled the version I had, and Installed the latest version of YouTube music from the play store as suggested. I then patched it with the same settings as before with revanced manager, and installed it as root. Then I launched, searched for a song, pressed play, turned off the screen, waited for the song to end, and nothing. No next song. This happens for me only with the screen off. With the screen on the next song in the autoplaylist continues. For me it's odd that you can't reproduce this, and I've been able to reproduce every time on 3 different android devices now. I'll attach a screenshot below showing the state after the first song plays with the screen off, and tomorrow I'll try getting a full logcat done.
Here are my logcats. Please let me know if they are of any value or can help determine the issue. screen_off (stops after current song).txt screen_on (working properly).txt
Please attach a complete recording of the patching process. Start by closing and reopening ReVanced Manager and finish the recording after opening the application.
full_patching_process.txt ok, here is the full patching process start to finish. i also, uninstalled and reinstalled youtube music fresh from the play store. I made sure to close revanced manager, and reopen once i had logcat running. Please let me know if there is anything else you need, or want me to try
Please attach a complete recording of the patching process
I need a recording, not a log.
ah ok, video recording. got it. I misunderstood. here you go.
https://user-images.githubusercontent.com/3977205/230208783-e83d7e7c-dfcb-4fa0-a6a8-20723e650a8c.mp4
Looks good to me. Unfortunately, I can not reproduce this issue. I saw some exceptions in the logs but I don't know how they are related to your issue yet.
hi, I also found out that this bug applies when youtube music is running in the background. This happens even though I have selected "Background Play" under revanced manager, and patched accordingly. I will include videos showing the problem. Notice that when i have youtube music running in the background the song continues playing, but after the song finishes the next song does not load.
here is a video showing youtube music running in the background. Notice it stops after the current song is played
https://user-images.githubusercontent.com/3977205/230474047-216b4ba7-f70f-4a46-9d05-8ab8dd649a98.mp4
and here is a video showing youtube music running in the foreground. Notice it continues to the next song.
https://user-images.githubusercontent.com/3977205/230474447-1994dfb7-54ab-4d76-9ca2-47bf1d452ec6.mp4
Also, note that i played the played the song in the middle so that it cuts down on the recording time. It does not make a difference if you play the song start to finish, or in the middle
Have you tried turning off battery optimization for YouTube Music?
Just tried turning off battery optimization, and relaunched YouTube music. Same results. I'm pretty sure this is a bug with the "background play" patch of YouTube music. Also this bug does not happen if I select music from the home screen of YouTube music, such as "quick picks" or "listen again". It only happens when you search for a specific song using search.
So far you are the only one to experience this, it works for me and anyone else I asked, unless we can reproduce we can't help you
FINALLY FINALLY Figured it out. Not sure if everything I did to fix it was necessary, but it's working now on both my rooted phone, and a non rooted phone. Here's what i did.
uninstalled youtube music. (both revanced and regular for non-root) under revanced manager, i deleted the keystore, temporary files, logs and reset all patches. I then installed the official version of youtube music from the play store. On my rooted phone, i selected all of my previous patches and patched as root. Tried launching youtube music again, and did the same test. This time it worked!
Thanks for your help! Glad to have it finally working correctly!
Type
Error while patching
Bug description
This bug happens when you try and search for music from youtube music revanced. it does not happen if you use quick picks, nor when selecting a song from the main screen. it only happens when you search, select a song, play it, and while playing turn off the screen. It works completely fine while the screen is on. I'm using revanced manager 0.0.57 rooted, and youtube music 5.39.52
I have the following patches selected.
Background Play codecs unlock hide get premium music video ads tastebuilder remover upgrade button remover
Steps to reproduce
Relevant log output
Screenshots or videos
No response
Solution
No response
Additional context
tested using revanced manager 0.0.57 rooted, and youtube music 5.39.52 on a Asus Zenfone 6
Acknowledgements