File tree Expand file tree Collapse file tree 2 files changed +26
-4
lines changed
kotlin/app/revanced/patches/youtube/video/quality
resources/addresources/values Expand file tree Collapse file tree 2 files changed +26
-4
lines changed Original file line number Diff line number Diff line change @@ -52,14 +52,14 @@ val rememberVideoQualityPatch = bytecodePatch {
5252 ListPreference (
5353 key = " revanced_shorts_quality_default_mobile" ,
5454 summaryKey = null ,
55- entriesKey = " revanced_video_quality_default_entries " ,
56- entryValuesKey = " revanced_video_quality_default_entry_values " ,
55+ entriesKey = " revanced_shorts_quality_default_entries " ,
56+ entryValuesKey = " revanced_shorts_quality_default_entry_values " ,
5757 ),
5858 ListPreference (
5959 key = " revanced_shorts_quality_default_wifi" ,
6060 summaryKey = null ,
61- entriesKey = " revanced_video_quality_default_entries " ,
62- entryValuesKey = " revanced_video_quality_default_entry_values " ,
61+ entriesKey = " revanced_shorts_quality_default_entries " ,
62+ entryValuesKey = " revanced_shorts_quality_default_entry_values " ,
6363 ),
6464 SwitchPreference (" revanced_remember_shorts_quality_last_selected" )
6565 ))
Original file line number Diff line number Diff line change 400400 <item >240</item >
401401 <item >144</item >
402402 </string-array >
403+ <!-- Forcing video qualities lower than what's available doesn't work with Shorts, such as 144p.
404+ If 144p is forced, after a few seconds the quality resets back to 720p/1080p. -->
405+ <string-array name =" revanced_shorts_quality_default_entries" >
406+ <item >@string/revanced_video_quality_default_entry_1</item >
407+ <item >2160p</item >
408+ <item >1440p</item >
409+ <item >1080p</item >
410+ <item >720p</item >
411+ <item >480p</item >
412+ <item >360p</item >
413+ <item >240p</item >
414+ </string-array >
415+ <string-array name =" revanced_shorts_quality_default_entry_values" >
416+ <item >-2</item >
417+ <item >2160</item >
418+ <item >1440</item >
419+ <item >1080</item >
420+ <item >720</item >
421+ <item >480</item >
422+ <item >360</item >
423+ <item >240</item >
424+ </string-array >
403425 </patch >
404426 </app >
405427 <app id =" twitch" >
You can’t perform that action at this time.
0 commit comments