revanced-patches-template icon indicating copy to clipboard operation
revanced-patches-template copied to clipboard

bug: custom-playback-speed patch not working

Open TheJeterLP opened this issue 3 years ago • 19 comments
trafficstars

Type

Error at runtime

Bug description

So the custom-playback-speed Patch is currently not functional. The setting itself does get saved (see startup log for what values from settings get loaded)

Steps to reproduce

Open settings, change preferred video speed, doesn't do anything

Relevant log output

No log output

Screenshots or videos

No response

Solution

Fix the custom+playback-speed patch so it uses the set value.

Additional context

No response

TheJeterLP avatar Jul 31 '22 19:07 TheJeterLP

probably @bogadana can fix this easily since he's the author of the regarding patch.

TheJeterLP avatar Jul 31 '22 19:07 TheJeterLP

not my patch (does it even exist?)

bogadana avatar Jul 31 '22 19:07 bogadana

Screenshot_20220731-223956_Chrome :questionable:

Canny1913 avatar Jul 31 '22 19:07 Canny1913

no such thing as preferred video speed in this patch

bogadana avatar Jul 31 '22 19:07 bogadana

no such thing as preferred video speed in this patch

I changed the title

TheJeterLP avatar Jul 31 '22 19:07 TheJeterLP

no such thing as preferred video speed in this patch

Isn't this exactly what the patch is supposed to do?

TheJeterLP avatar Jul 31 '22 19:07 TheJeterLP

nope

bogadana avatar Jul 31 '22 19:07 bogadana

this is what its supposed to do image

bogadana avatar Jul 31 '22 19:07 bogadana

no such thing as preferred video speed in this patch

Isn't this exactly what the patch is supposed to do?

yeah this patch unlocks more video speeds instead of setting a preferred one

could be modified to do both

Canny1913 avatar Jul 31 '22 19:07 Canny1913

the intent was to have the speeds customisable in the settings but i honestly cant care anymore

bogadana avatar Jul 31 '22 19:07 bogadana

@bogadana Is doing the correct thing. This way a settings page is not required. It is better to simply save it there automatically instead of having to go to the settings to change it.

oSumAtrIX avatar Jul 31 '22 19:07 oSumAtrIX

@bogadana Is doing the correct thing. This way a settings page is not required. It is better to simply save it there automatically instead of having to go to the settings to change it.

if yt speed works similarly to video quality its pretty ez to do

Canny1913 avatar Jul 31 '22 19:07 Canny1913

@bogadana Is doing the correct thing. This way a settings page is not required. It is better to simply save it there automatically instead of having to go to the settings to change it.

The patch doesn't save the last set value tho

TheJeterLP avatar Jul 31 '22 19:07 TheJeterLP

not what its intended for

bogadana avatar Jul 31 '22 19:07 bogadana

Does it have feature parity with Vanced is the question. If Vanced saved it in the settings this functionality should be added to the menu too. @Canny1913 saves the last selected quality too, for consistency, this can be added too and as @Canny1913 said, it should not be too difficult.

oSumAtrIX avatar Jul 31 '22 19:07 oSumAtrIX

Does it have feature parity with Vanced is the question. If Vanced saved it in the settings this functionality should be added to the menu too. @Canny1913 saves the last selected quality too, for consistency, this can be added too and as @Canny1913 said, it should not be too difficult.

I agree. Vanced had this feature and this should get implemented into this patch too. The setting in the revanced_prefs.xml can be removed then. Same goes to the code for that in the SettingsFragment. I can do that tomorrow if you want.

TheJeterLP avatar Jul 31 '22 19:07 TheJeterLP

I am planning on reworking the settings patch into a framework but I do not know what you all are planning to add or remove, hence I will wait for now for you to finish the remaining issues. Please @ me whenever I can start refactoring the patch into said framework.

oSumAtrIX avatar Jul 31 '22 19:07 oSumAtrIX

I am planning on reworking the settings patch into a framework but I do not know what you all are planning to add or remove, hence I will wait for now for you to finish the remaining issues. Please @ me whenever I can start refactoring the patch into said framework.

No, then I won't add or remove anything. Just start with your framework

TheJeterLP avatar Jul 31 '22 19:07 TheJeterLP

Alright, I will branch off the latest commit then.

oSumAtrIX avatar Jul 31 '22 20:07 oSumAtrIX

Any work on that, its pretty frustrating to adjust speed everytime, prefered video speed currently does nothing to make it consistent.

abuturabofficial avatar Aug 05 '22 08:08 abuturabofficial

Any work on that, its pretty frustrating to adjust speed everytime, prefered video speed currently does nothing to make it consistent.

I'm working on it currently.

Canny1913 avatar Aug 05 '22 08:08 Canny1913

Any work on that, its pretty frustrating to adjust speed everytime, prefered video speed currently does nothing to make it consistent.

I'm working on it currently.

Great, more power to you.

abuturabofficial avatar Aug 05 '22 09:08 abuturabofficial

Any work on that, its pretty frustrating to adjust speed everytime, prefered video speed currently does nothing to make it consistent.

I'm working on it currently.

would it be possible to add more speed steps btw 2x and 4x...like 2.25x, 2.5x, 2.75x etc??

crazdrama avatar Aug 06 '22 06:08 crazdrama

would it be possible to add more speed steps btw 2x and 4x...like 2.25x, 2.5x, 2.75x etc??

Via patch options later on.

oSumAtrIX avatar Aug 06 '22 06:08 oSumAtrIX

Any work on that, its pretty frustrating to adjust speed everytime, prefered video speed currently does nothing to make it consistent.

I'm working on it currently.

This is definitely a useful tweak. Is it still in progress ?

Akv2021 avatar Aug 21 '22 16:08 Akv2021

Any work on that, its pretty frustrating to adjust speed everytime, prefered video speed currently does nothing to make it consistent.

I'm working on it currently.

This is definitely a useful tweak. Is it still in progress ?

Patch has some issues currently but yes.

Canny1913 avatar Aug 21 '22 16:08 Canny1913

This is definitely a useful tweak. Is it still in progress ?

Patch has some issues currently but yes.

Waiting eagerly for the fix :) Would you like to share any updates ?

Akv2021 avatar Sep 07 '22 08:09 Akv2021

Closed as regarding setting is not existing anymore.

TheJeterLP avatar Sep 09 '22 06:09 TheJeterLP