-
-
Notifications
You must be signed in to change notification settings - Fork 340
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
feat: Update to patcher v22 #4409
base: dev
Are you sure you want to change the base?
feat: Update to patcher v22 #4409
Conversation
This reverts commit f3b8602.
This reverts commit d2fbbf5.
…tion_filters # Conflicts: # patches/src/main/kotlin/app/revanced/patches/youtube/video/speed/custom/CustomPlaybackSpeedPatch.kt
…tion_filters # Conflicts: # patches/src/main/kotlin/app/revanced/patches/youtube/misc/fix/cairo/DisableCairoSettingsPatch.kt # patches/src/main/kotlin/app/revanced/patches/youtube/misc/fix/cairo/Fingerprints.kt
@LisoUseInAIKyrios Dislikes tiny bug finally fixed in |
I was thinking that maybe it would be useful to create a specific (and always open) PR like this, related to new YouTube versions adaptation. This would help to avoid two situations:
|
@0xrxL it's simpler to fix new versions using refactor/chore commits such as #4179 and users who care can turn off version checks and patch using dev/main releases. The changes have been here to test out the patcher changes and because some of the fingerprints changes got too complicated to use without the patcher changes (one in particular would have needed 4 different fingerprints, and here it's a single fingerprint). |
79d8f33
to
010f876
Compare
Seem this is caused by RYD patch is not compatible with 20.07+.
|
What bugs are referring to? The only bug I find is the text font looks wrong and the vertical alignment is not quite right. Both issues are present with 20.07+ with and without RYD enabled. I don't experience any other issues. |
Yes i mean the text issue is not fit to the likes dislikes button. |
I just tried unpatched 20.08 and the same RYD text issues are present there. It's an issue with YouTube itself. |
This comment has been minimized.
This comment has been minimized.
patches/src/main/kotlin/app/revanced/patches/shared/misc/mapping/ResourceMappingPatch.kt
Outdated
Show resolved
Hide resolved
I was thinking it was not a bug. |
This comment has been minimized.
This comment has been minimized.
I get the same on |
Nothing in this PR changes the final patched app (except for adding Miniplayer type 4, but that's unrelated). It must be something with 20.x. |
Oh... I remember the bug appears after i select miniplayer type 4. After i changed to type 3, it is fine. |
Additional miniplayer feature flags may need to be forced on/off when using type 4. Or maybe it's just an issue with type 4 itself since it's still a work in progress by YT. |
I think we don't know when it is ready
This is better solution for now. |
This comment has been minimized.
This comment has been minimized.
If it is caused by the fade out fix then it's odd the fullscreen button is also affected (or is it? I can't reproduce the issue and the screenshots above show fullscreen button is gone). |
This comment has been minimized.
This comment has been minimized.
I reproduced the overlay buttons permanently hiding. Did not use double tap to skip, and happened on a player fullscreen Short. 19.47.53 on dev branch (not this PR). Probably is something with the button fade out fix. @MarcaDian can the fade out fix also be accomplished by requiring a restart and using invisible visibility, but use the prior patch animation logic? If that works then that's an easy fix and requiring a restart for the bottom buttons is worth it. |
|
…tion_filters # Conflicts: # patches/src/main/kotlin/app/revanced/patches/youtube/layout/spoofappversion/SpoofAppVersionPatch.kt
Initial usage of Patcher v22 method instruction filters.
ReVanced/revanced-patcher#329