-
Notifications
You must be signed in to change notification settings - Fork 110
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(YouTube - Shorts components): add Custom actions in toolbar
setting (YouTube 18.38.44+)
#106
Conversation
i think the whole process can be simplified using this: Lines 136 to 157 in e5354e9
if so, why is it not also used on RYD? why in that case we filter the proto buffer? |
I think the main reason is the delay. RYD data must be fetched as soon as possible |
ah okey. then in this context it doesn't make sense to read the id from the buffer, since to open the menu, the id have time to propagate. I'll update the code tomorrow :) edit: long story short: i need clarification about which implementation to use |
extensions/shared/src/main/java/app/revanced/extension/youtube/settings/Settings.java
Outdated
Show resolved
Hide resolved
.../java/app/revanced/extension/youtube/patches/components/ReturnYouTubeDislikeFilterPatch.java
Outdated
Show resolved
Hide resolved
extensions/shared/src/main/java/app/revanced/extension/youtube/patches/shorts/ShortsPatch.java
Outdated
Show resolved
Hide resolved
I'm highly interested to the fourth option (those to open shorts in normal player). Maybe can be implemented in a wat to be triggered at a start of a short. |
…n `Enable open links directly` was disabled
31bc9b1
to
aef906a
Compare
by doing that, you would always be interrupted in scrolling through the videos. i don't know how useful something like that could be |
Wdym? |
extensions/shared/src/main/java/app/revanced/extension/youtube/settings/Settings.java
Outdated
Show resolved
Hide resolved
@Francesco146 ok, now I understand what you were referring to before. Clicking the Short button would trigger many instances of normal player, that would prevent you from swiping down to see more shorts. In this case, however, there is already a fingerprint to map the bottom navigation buttons, so when you'll click the shorts button, only shorts view will be opened. In this way you'll be able to open normal player for shorts, only in feed/search list. |
# Conflicts: # extensions/shared/src/main/java/app/revanced/extension/youtube/utils/VideoUtils.java
i marked this pr as a draft because it is still missing some key aspects. i think that instead of many implementations of the same thing, it's not the right choice. there are some bugs to fix and this takes some time |
Uhm we should merge all videoId litho filter into something like ShortsVideoIdPatch, since all of these patch do the same functionality (getting Shorts videoId):
|
Considering this PR, dad6b3d was committed |
More
buttonCustom actions in toolbar
setting (YouTube 18.38.44+)
i don't think it's a good idea to release this yet, the code is confusing, duplicated and not documented |
Refactoring Even if it is implemented, it won't resolve issues like inotia00/ReVanced_Extended#1538 or inotia00/ReVanced_Extended#1547 |
ok, 9e50e0d broke |
Not all the code I'm working on locally has been merged into the dev branch yet It will be tested for functional issues before a new release |
open to changes and suggestions.
Preview
previously known as: #101