feat: change patches naming convention (#2612)
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ import org.jf.dexlib2.iface.instruction.formats.Instruction35c
|
||||
FixBackToExitGesturePatch::class
|
||||
]
|
||||
)
|
||||
@Name("hide-ads")
|
||||
@Name("Hide ads")
|
||||
@Description("Removes general ads.")
|
||||
@HideAdsCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
import org.jf.dexlib2.iface.instruction.TwoRegisterInstruction
|
||||
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Name("hide-get-premium")
|
||||
@Name("Hide get premium")
|
||||
@HideGetPremiumCompatibility
|
||||
@Version("0.0.1")
|
||||
class HideGetPremiumPatch : BytecodePatch(listOf(GetPremiumViewFingerprint,)) {
|
||||
|
||||
@@ -21,7 +21,7 @@ import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Name("video-ads")
|
||||
@Name("Video ads")
|
||||
@Description("Removes ads in the video player.")
|
||||
@VideoAdsCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ import app.revanced.patches.youtube.misc.playercontrols.bytecode.patch.PlayerCon
|
||||
import app.revanced.patches.youtube.video.information.patch.VideoInformationPatch
|
||||
|
||||
@Patch
|
||||
@Name("copy-video-url")
|
||||
@Name("Copy video url")
|
||||
@Description("Adds buttons in player to copy video links.")
|
||||
@DependsOn([
|
||||
CopyVideoUrlResourcePatch::class,
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ import app.revanced.util.resources.ResourceUtils
|
||||
import app.revanced.util.resources.ResourceUtils.copyResources
|
||||
import app.revanced.util.resources.ResourceUtils.mergeStrings
|
||||
|
||||
@Name("copy-video-url-resource")
|
||||
@Name("Copy video url resource")
|
||||
@DependsOn([BottomControlsResourcePatch::class, SettingsPatch::class])
|
||||
@Version("0.0.1")
|
||||
class CopyVideoUrlResourcePatch : ResourcePatch {
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ import app.revanced.patches.youtube.misc.playercontrols.bytecode.patch.PlayerCon
|
||||
import app.revanced.patches.youtube.video.information.patch.VideoInformationPatch
|
||||
|
||||
@Patch
|
||||
@Name("external-downloads")
|
||||
@Name("External downloads")
|
||||
@DependsOn([ExternalDownloadsResourcePatch::class, PlayerControlsBytecodePatch::class, VideoInformationPatch::class])
|
||||
@Description("Adds support to download and save YouTube videos using an external app.")
|
||||
@ExternalDownloadsCompatibility
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ import app.revanced.util.resources.ResourceUtils
|
||||
import app.revanced.util.resources.ResourceUtils.copyResources
|
||||
import app.revanced.util.resources.ResourceUtils.mergeStrings
|
||||
|
||||
@Name("external-downloads-resource-patch")
|
||||
@Name("External downloads resource patch")
|
||||
@DependsOn([BottomControlsResourcePatch::class, SettingsPatch::class])
|
||||
@Version("0.0.1")
|
||||
class ExternalDownloadsResourcePatch : ResourcePatch {
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ import org.jf.dexlib2.iface.instruction.formats.Instruction35c
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, EnableSeekbarTappingResourcePatch::class])
|
||||
@Name("seekbar-tapping")
|
||||
@Name("Seekbar tapping")
|
||||
@Description("Enables tap-to-seek on the seekbar of the video player.")
|
||||
@SeekbarTappingCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ import org.jf.dexlib2.AccessFlags
|
||||
import org.jf.dexlib2.immutable.ImmutableMethod
|
||||
|
||||
@Patch
|
||||
@Name("swipe-controls")
|
||||
@Name("Swipe controls")
|
||||
@Description("Adds volume and brightness swipe controls.")
|
||||
@SwipeControlsCompatibility
|
||||
@Version("0.0.3")
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
import app.revanced.util.resources.ResourceUtils
|
||||
import app.revanced.util.resources.ResourceUtils.copyResources
|
||||
|
||||
@Name("swipe-controls-resource-patch")
|
||||
@Name("Swipe controls resource patch")
|
||||
@DependsOn([SettingsPatch::class])
|
||||
@Version("0.0.1")
|
||||
class SwipeControlsResourcePatch : ResourcePatch {
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Name("disable-auto-captions")
|
||||
@Name("Disable auto captions")
|
||||
@Description("Disable forced captions from being automatically enabled.")
|
||||
@HideCaptionsButtonCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ import java.nio.file.StandardCopyOption
|
||||
import kotlin.io.path.exists
|
||||
|
||||
@Patch
|
||||
@Name("premium-heading")
|
||||
@Name("Premium heading")
|
||||
@Description("Shows premium branding on the home screen.")
|
||||
@PremiumHeadingCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ import java.io.File
|
||||
import java.nio.file.Files
|
||||
|
||||
@Patch
|
||||
@Name("custom-branding")
|
||||
@Name("Custom branding")
|
||||
@Description("Changes the YouTube launcher icon and name to your choice (defaults to ReVanced).")
|
||||
@CustomBrandingCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Patch
|
||||
@DependsOn([ResourceMappingPatch::class, LithoFilterPatch::class])
|
||||
@Name("hide-video-action-buttons")
|
||||
@Name("Hide video action buttons")
|
||||
@Description("Adds the options to hide action buttons under a video.")
|
||||
@HideButtonsCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@ import org.jf.dexlib2.iface.reference.MethodReference
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class, ResourceMappingPatch::class])
|
||||
@Name("hide-autoplay-button")
|
||||
@Name("Hide autoplay button")
|
||||
@Description("Hides the autoplay button in the video player.")
|
||||
@AutoplayButtonCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ import org.jf.dexlib2.Opcode
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Name("hide-captions-button")
|
||||
@Name("Hide captions button")
|
||||
@Description("Hides the captions button on video player.")
|
||||
@HideCaptionsButtonCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Name("hide-cast-button")
|
||||
@Name("Hide cast button")
|
||||
@Description("Hides the cast button in the video player.")
|
||||
@CastButtonCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+2
-2
@@ -33,7 +33,7 @@ import org.jf.dexlib2.iface.instruction.OneRegisterInstruction
|
||||
ResolvePivotBarFingerprintsPatch::class,
|
||||
]
|
||||
)
|
||||
@Name("navigation-buttons")
|
||||
@Name("Navigation buttons")
|
||||
@Description("Adds options to hide or change navigation buttons.")
|
||||
@NavigationButtonsCompatibility
|
||||
@Version("0.0.1")
|
||||
@@ -52,7 +52,7 @@ class NavigationButtonsPatch : BytecodePatch(listOf(AddCreateButtonViewFingerpri
|
||||
),
|
||||
SwitchPreference(
|
||||
"revanced_hide_shorts_button",
|
||||
StringResource("revanced_hide_shorts_button_title", "Hide shorts button"),
|
||||
StringResource("revanced_hide_shorts_button_title", "Hide Shorts button"),
|
||||
StringResource("revanced_hide_shorts_button_summary_on", "Shorts button is hidden"),
|
||||
StringResource("revanced_hide_shorts_button_summary_off", "Shorts button is shown")
|
||||
),
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ import org.jf.dexlib2.iface.instruction.formats.Instruction3rc
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Name("hide-player-buttons")
|
||||
@Name("Hide player buttons")
|
||||
@Description("Adds the option to hide video player previous and next buttons.")
|
||||
@HidePlayerButtonsCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ import org.jf.dexlib2.iface.instruction.OneRegisterInstruction
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, AlbumCardsResourcePatch::class])
|
||||
@Name("hide-album-cards")
|
||||
@Name("Hide album cards")
|
||||
@Description("Hides the album cards below the artist description.")
|
||||
@AlbumCardsCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ import app.revanced.patches.shared.settings.preference.impl.SwitchPreference
|
||||
import app.revanced.patches.youtube.layout.hide.albumcards.annotations.AlbumCardsCompatibility
|
||||
import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Name("hide-album-cards-resource-patch")
|
||||
@Name("Hide album cards resource patch")
|
||||
@AlbumCardsCompatibility
|
||||
@DependsOn([SettingsPatch::class, ResourceMappingPatch::class])
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ import org.jf.dexlib2.iface.instruction.OneRegisterInstruction
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, BreakingNewsResourcePatch::class])
|
||||
@Name("hide-breaking-news-shelf")
|
||||
@Name("Hide breaking news shelf")
|
||||
@Description("Hides the breaking news shelf on the homepage tab.")
|
||||
@BreakingNewsCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ import app.revanced.patches.shared.settings.preference.impl.StringResource
|
||||
import app.revanced.patches.shared.settings.preference.impl.SwitchPreference
|
||||
import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Name("breaking-news-shelf-resource-patch")
|
||||
@Name("Breaking news shelf resource patch")
|
||||
@DependsOn([SettingsPatch::class, ResourceMappingPatch::class])
|
||||
@Version("0.0.1")
|
||||
class BreakingNewsResourcePatch : ResourcePatch {
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ import app.revanced.patches.youtube.misc.litho.filter.patch.LithoFilterPatch
|
||||
import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Patch
|
||||
@Name("comments")
|
||||
@Name("Comments")
|
||||
@Description("Hides components related to comments.")
|
||||
@HideCommentsCompatibility
|
||||
@DependsOn([SettingsPatch::class, LithoFilterPatch::class])
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ import org.jf.dexlib2.iface.instruction.TwoRegisterInstruction
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, CrowdfundingBoxResourcePatch::class])
|
||||
@Name("hide-crowdfunding-box")
|
||||
@Name("Hide crowdfunding box")
|
||||
@Description("Hides the crowdfunding box between the player and video description.")
|
||||
@CrowdfundingBoxCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ import app.revanced.patches.shared.settings.preference.impl.SwitchPreference
|
||||
import app.revanced.patches.youtube.layout.hide.crowdfundingbox.annotations.CrowdfundingBoxCompatibility
|
||||
import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Name("crowdfunding-box-resource-patch")
|
||||
@Name("Crowdfunding box resource patch")
|
||||
@CrowdfundingBoxCompatibility
|
||||
@DependsOn([SettingsPatch::class, ResourceMappingPatch::class])
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ import org.jf.dexlib2.iface.instruction.formats.Instruction21c
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, HideEndscreenCardsResourcePatch::class])
|
||||
@Name("hide-endscreen-cards")
|
||||
@Name("Hide endscreen cards")
|
||||
@Description("Hides the suggested video cards at the end of a video in fullscreen.")
|
||||
@HideEndscreenCardsCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ import app.revanced.patches.shared.settings.preference.impl.SwitchPreference
|
||||
import app.revanced.patches.youtube.layout.hide.endscreencards.annotations.HideEndscreenCardsCompatibility
|
||||
import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Name("hide-endscreen-cards-resource-patch")
|
||||
@Name("Hide endscreen cards resource patch")
|
||||
@HideEndscreenCardsCompatibility
|
||||
@DependsOn([SettingsPatch::class, ResourceMappingPatch::class])
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ import org.jf.dexlib2.iface.instruction.OneRegisterInstruction
|
||||
import org.jf.dexlib2.iface.instruction.TwoRegisterInstruction
|
||||
|
||||
@Patch
|
||||
@Name("hide-filter-bar")
|
||||
@Name("Hide filter bar")
|
||||
@Description("Hides the filter bar in video feeds.")
|
||||
@DependsOn([HideFilterBarResourcePatch::class])
|
||||
@HideFilterBar
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ import app.revanced.patches.youtube.layout.hide.floatingmicrophone.fingerprints.
|
||||
import org.jf.dexlib2.iface.instruction.TwoRegisterInstruction
|
||||
|
||||
@Patch
|
||||
@Name("hide-floating-microphone-button")
|
||||
@Name("Hide floating microphone button")
|
||||
@Description("Hides the floating microphone button which appears in search.")
|
||||
@DependsOn([HideFloatingMicrophoneButtonResourcePatch::class])
|
||||
@HideFloatingMicrophoneButtonCompatibility
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch.PreferenceScreen
|
||||
|
||||
@Patch
|
||||
@Name("hide-layout-components")
|
||||
@Name("Hide layout components")
|
||||
@Description("Hides general layout components.")
|
||||
@DependsOn([LithoFilterPatch::class, SettingsPatch::class])
|
||||
@HideLayoutComponentsCompatibility
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ import org.jf.dexlib2.iface.instruction.ReferenceInstruction
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, HideInfocardsResourcePatch::class])
|
||||
@Name("hide-info-cards")
|
||||
@Name("Hide info cards")
|
||||
@Description("Hides info cards in videos.")
|
||||
@HideInfocardsCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ import app.revanced.patches.youtube.layout.hide.loadmorebutton.annotations.HideL
|
||||
import org.jf.dexlib2.iface.instruction.OneRegisterInstruction
|
||||
|
||||
@Patch
|
||||
@Name("hide-load-more-button")
|
||||
@Name("Hide load more button")
|
||||
@Description("Hides the button under videos that loads similar videos.")
|
||||
@DependsOn([HideLoadMoreButtonResourcePatch::class])
|
||||
@HideLoadMoreButtonCompatibility
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ import app.revanced.patches.shared.settings.preference.impl.SwitchPreference
|
||||
import app.revanced.patches.youtube.layout.hide.loadmorebutton.annotations.HideLoadMoreButtonCompatibility
|
||||
import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Name("hide-load-more-button-resource-patch")
|
||||
@Name("Hide load more button resource patch")
|
||||
@DependsOn([SettingsPatch::class, ResourceMappingPatch::class])
|
||||
@HideLoadMoreButtonCompatibility
|
||||
class HideLoadMoreButtonResourcePatch : ResourcePatch {
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ import org.jf.dexlib2.iface.instruction.OneRegisterInstruction
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, HideEmailAddressResourcePatch::class])
|
||||
@Name("hide-email-address")
|
||||
@Name("Hide email address")
|
||||
@Description("Hides the email address in the account switcher.")
|
||||
@HideEmailAddressCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ import app.revanced.patches.shared.settings.preference.impl.SwitchPreference
|
||||
import app.revanced.patches.youtube.layout.hide.personalinformation.annotations.HideEmailAddressCompatibility
|
||||
import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Name("hide-email-address-resource-patch")
|
||||
@Name("Hide email address resource patch")
|
||||
@HideEmailAddressCompatibility
|
||||
@DependsOn([SettingsPatch::class, ResourceMappingPatch::class])
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ import app.revanced.patches.youtube.layout.hide.player.overlay.resource.patch.Hi
|
||||
import org.jf.dexlib2.iface.instruction.OneRegisterInstruction
|
||||
|
||||
@Patch
|
||||
@Name("hide-player-overlay")
|
||||
@Name("Hide player overlay")
|
||||
@Description("Hides the dark background overlay from the player when player controls are visible.")
|
||||
@DependsOn([HidePlayerOverlayResourcePatch::class])
|
||||
@HidePlayerOverlayPatchCompatibility
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ import app.revanced.patches.youtube.layout.hide.player.overlay.annotations.HideP
|
||||
import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
import jdk.jfr.Name
|
||||
|
||||
@Name("hide-player-overlay-resource-patch")
|
||||
@Name("Hide player overlay resource patch")
|
||||
@DependsOn([SettingsPatch::class, ResourceMappingPatch::class])
|
||||
@HidePlayerOverlayPatchCompatibility
|
||||
class HidePlayerOverlayResourcePatch : ResourcePatch {
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@ import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
// Used to add preferences to the seekbar settings menu.
|
||||
SeekbarPreferencesPatch::class
|
||||
])
|
||||
@Name("hide-seekbar")
|
||||
@Name("Hide seekbar")
|
||||
@Description("Hides the seekbar.")
|
||||
@HideSeekbarCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@ import org.jf.dexlib2.iface.instruction.TwoRegisterInstruction
|
||||
ResourceMappingPatch::class
|
||||
]
|
||||
)
|
||||
@Name("hide-shorts-components")
|
||||
@Name("Hide Shorts components")
|
||||
@Description("Hides components from YouTube Shorts.")
|
||||
@HideShortsComponentsCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ class HideShortsComponentsResourcePatch : ResourcePatch {
|
||||
listOf(
|
||||
SwitchPreference(
|
||||
"revanced_hide_shorts",
|
||||
StringResource("revanced_hide_shorts_title", "Hide shorts in feed"),
|
||||
StringResource("revanced_hide_shorts_title", "Hide Shorts in feed"),
|
||||
StringResource("revanced_hide_shorts_on", "Shorts are hidden"),
|
||||
StringResource("revanced_hide_shorts_off", "Shorts are shown")
|
||||
),
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Name("hide-timestamp")
|
||||
@Name("Hide timestamp")
|
||||
@Description("Hides timestamp in video player.")
|
||||
@HideTimeCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Name("hide-watch-in-vr")
|
||||
@Name("Hide watch in VR")
|
||||
@Description("Hides the option to watch in VR from the player settings flyout panel.")
|
||||
@WatchInVRCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Name("hide-watermark")
|
||||
@Name("Hide watermark")
|
||||
@Description("Hides creator's watermarks on videos.")
|
||||
@HideWatermarkCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ import app.revanced.patches.youtube.misc.integrations.patch.IntegrationsPatch
|
||||
import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Patch
|
||||
@Name("disable-fullscreen-panels")
|
||||
@Name("Disable fullscreen panels")
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Description("Disables video description and comments panel in fullscreen view.")
|
||||
@FullscreenPanelsCompatibility
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Name("disable-player-popup-panels")
|
||||
@Name("Disable player popup panels")
|
||||
@Description("Disables panels from appearing automatically when going into fullscreen (playlist or live chat).")
|
||||
@PlayerPopupPanelsCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ import app.revanced.patches.youtube.layout.player.background.annotations.PlayerC
|
||||
import org.w3c.dom.Element
|
||||
|
||||
@Patch(false)
|
||||
@Name("remove-player-controls-background")
|
||||
@Name("Remove player controls background")
|
||||
@Description("Removes the background from the video player controls.")
|
||||
@PlayerControlsBackgroundCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ import org.jf.dexlib2.iface.instruction.TwoRegisterInstruction
|
||||
PlayerTypeHookPatch::class,
|
||||
]
|
||||
)
|
||||
@Name("return-youtube-dislike")
|
||||
@Name("Return youtube dislike")
|
||||
@Description("Shows the dislike count of videos using the Return YouTube Dislike API.")
|
||||
@ReturnYouTubeDislikeCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
import app.revanced.util.resources.ResourceUtils.mergeStrings
|
||||
|
||||
@DependsOn([SettingsPatch::class])
|
||||
@Name("return-youtube-dislike-resource-patch")
|
||||
@Name("Return youtube dislike resource patch")
|
||||
@Description("Adds the preferences for Return YouTube Dislike.")
|
||||
@ReturnYouTubeDislikeCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Name("wide-searchbar")
|
||||
@Name("Wide searchbar")
|
||||
@Description("Replaces the search icon with a wide search bar. This will hide the YouTube logo when active.")
|
||||
@WideSearchbarCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@ import org.jf.dexlib2.iface.reference.StringReference
|
||||
SponsorBlockResourcePatch::class,
|
||||
]
|
||||
)
|
||||
@Name("sponsorblock")
|
||||
@Name("SponsorBlock")
|
||||
@Description("Integrates SponsorBlock which allows skipping video segments such as sponsored content.")
|
||||
@SponsorBlockCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ import app.revanced.util.resources.ResourceUtils.copyResources
|
||||
import app.revanced.util.resources.ResourceUtils.copyXmlNode
|
||||
import app.revanced.util.resources.ResourceUtils.mergeStrings
|
||||
|
||||
@Name("sponsorblock-resource-patch")
|
||||
@Name("SponsorBlock resource patch")
|
||||
@DependsOn([SettingsPatch::class, ResourceMappingPatch::class])
|
||||
@Version("0.0.1")
|
||||
class SponsorBlockResourcePatch : ResourcePatch {
|
||||
|
||||
+2
-2
@@ -23,7 +23,7 @@ import org.jf.dexlib2.iface.instruction.OneRegisterInstruction
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Name("spoof-app-version")
|
||||
@Name("Spoof app version")
|
||||
@Description("Tricks YouTube into thinking, you are running an older version of the app. One of the side effects also includes restoring the old UI.")
|
||||
@SpoofAppVersionCompatibility
|
||||
@Version("0.0.1")
|
||||
@@ -56,7 +56,7 @@ class SpoofAppVersionPatch : BytecodePatch(
|
||||
StringResource("revanced_spoof_app_version_target_entry_1", "17.30.35 - Restore old UI layout"),
|
||||
StringResource("revanced_spoof_app_version_target_entry_2", "17.01.35 - Enable sorting videos by oldest"),
|
||||
StringResource("revanced_spoof_app_version_target_entry_3", "16.08.35 - Restore explore tab"),
|
||||
StringResource("revanced_spoof_app_version_target_entry_4", "16.01.35 - Restore old shorts player"),
|
||||
StringResource("revanced_spoof_app_version_target_entry_4", "16.01.35 - Restore old Shorts player"),
|
||||
)
|
||||
),
|
||||
ArrayResource(
|
||||
|
||||
+2
-2
@@ -19,7 +19,7 @@ import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Name("disable-shorts-on-startup")
|
||||
@Name("Disable Shorts on startup")
|
||||
@Description("Disables playing YouTube Shorts when launching YouTube.")
|
||||
@StartupShortsResetCompatibility
|
||||
@Version("0.0.1")
|
||||
@@ -32,7 +32,7 @@ class DisableShortsOnStartupPatch : BytecodePatch(
|
||||
SettingsPatch.PreferenceScreen.LAYOUT.addPreferences(
|
||||
SwitchPreference(
|
||||
"revanced_disable_resuming_shorts_player",
|
||||
StringResource("revanced_disable_resuming_shorts_player_title", "Disable shorts player at app startup"),
|
||||
StringResource("revanced_disable_resuming_shorts_player_title", "Disable Shorts player at app startup"),
|
||||
StringResource("revanced_disable_resuming_shorts_player_summary_on", "Shorts player is disabled at app startup"),
|
||||
StringResource("revanced_disable_resuming_shorts_player_summary_off", "Shorts player is enabled at app startup")
|
||||
)
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ import org.jf.dexlib2.iface.instruction.OneRegisterInstruction
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Name("tablet-mini-player")
|
||||
@Name("Tablet mini player")
|
||||
@Description("Enables the tablet mini player layout.")
|
||||
@TabletMiniPlayerCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ import app.revanced.patcher.util.proxy.mutableTypes.MutableMethod
|
||||
import app.revanced.patches.youtube.layout.theme.annotations.ThemeCompatibility
|
||||
import app.revanced.patches.youtube.layout.theme.bytecode.fingerprints.LithoThemeFingerprint
|
||||
|
||||
@Name("litho-color-hook")
|
||||
@Name("Litho color hook")
|
||||
@Description("Adds a hook to set color of Litho components.")
|
||||
@ThemeCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ import app.revanced.patches.youtube.layout.theme.annotations.ThemeCompatibility
|
||||
import app.revanced.patches.youtube.layout.theme.resource.ThemeResourcePatch
|
||||
|
||||
@Patch
|
||||
@Name("theme")
|
||||
@Name("Theme")
|
||||
@Description("Applies a custom theme.")
|
||||
@DependsOn([LithoColorHookPatch::class, SeekbarColorBytecodePatch::class, ThemeResourcePatch::class])
|
||||
@ThemeCompatibility
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class])
|
||||
@Name("always-autorepeat")
|
||||
@Name("Always autorepeat")
|
||||
@Description("Always repeats the playing video again.")
|
||||
@AutoRepeatCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
@@ -16,7 +16,7 @@ import app.revanced.patches.youtube.misc.integrations.patch.IntegrationsPatch
|
||||
import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Patch
|
||||
@Name("enable-debugging")
|
||||
@Name("Enable debugging")
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Description("Adds debugging options.")
|
||||
@DebuggingCompatibility
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ import app.revanced.patches.youtube.misc.fix.playback.fingerprints.UserAgentHead
|
||||
import org.jf.dexlib2.iface.instruction.FiveRegisterInstruction
|
||||
|
||||
@Patch
|
||||
@Name("client-spoof")
|
||||
@Name("Client spoof")
|
||||
@Description("Spoofs a patched client to allow playback.")
|
||||
@ClientSpoofCompatibility
|
||||
@DependsOn([SpoofSignatureVerificationPatch::class])
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ import app.revanced.patches.youtube.misc.integrations.patch.IntegrationsPatch
|
||||
import app.revanced.patches.youtube.misc.playertype.patch.PlayerTypeHookPatch
|
||||
import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Name("spoof-signature-verification")
|
||||
@Name("Spoof signature verification")
|
||||
@Description("Spoofs a patched client to prevent playback issues.")
|
||||
@DependsOn([
|
||||
IntegrationsPatch::class,
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ import app.revanced.patches.youtube.misc.integrations.fingerprints.RemoteEmbedde
|
||||
import app.revanced.patches.youtube.misc.integrations.fingerprints.APIPlayerServiceFingerprint
|
||||
import app.revanced.patches.youtube.misc.integrations.fingerprints.StandalonePlayerActivityFingerprint
|
||||
|
||||
@Name("integrations")
|
||||
@Name("Integrations")
|
||||
@IntegrationsCompatibility
|
||||
@RequiresIntegrations
|
||||
class IntegrationsPatch : AbstractIntegrationsPatch(
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
import org.jf.dexlib2.iface.instruction.formats.Instruction21c
|
||||
|
||||
@Patch
|
||||
@Name("open-links-externally")
|
||||
@Name("Open links externally")
|
||||
@Description("Open links outside of the app directly in your browser.")
|
||||
@OpenLinksExternallyCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ import app.revanced.util.microg.MicroGBytecodeHelper
|
||||
ClientSpoofPatch::class
|
||||
]
|
||||
)
|
||||
@Name("vanced-microg-support")
|
||||
@Name("Vanced MicroG support")
|
||||
@Description("Allows YouTube ReVanced to run without root and under a different package name with Vanced MicroG.")
|
||||
@MicroGPatchCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ import app.revanced.util.microg.Constants.MICROG_VENDOR
|
||||
import app.revanced.util.microg.MicroGManifestHelper
|
||||
import app.revanced.util.microg.MicroGResourceHelper
|
||||
|
||||
@Name("microg-resource-patch")
|
||||
@Name("Vanced MicroG resource patch")
|
||||
@DependsOn([SettingsResourcePatch::class])
|
||||
@Description("Resource patch to allow YouTube ReVanced to run without root and under a different package name.")
|
||||
@MicroGPatchCompatibility
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ import org.jf.dexlib2.iface.instruction.ReferenceInstruction
|
||||
import org.jf.dexlib2.iface.reference.MethodReference
|
||||
|
||||
@Patch
|
||||
@Name("minimized-playback")
|
||||
@Name("Minimized playback")
|
||||
@Description("Enables minimized and background playback.")
|
||||
@DependsOn([IntegrationsPatch::class, PlayerTypeHookPatch::class, SettingsPatch::class])
|
||||
@MinimizedPlaybackCompatibility
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ import app.revanced.patches.youtube.misc.playercontrols.fingerprints.PlayerContr
|
||||
import app.revanced.patches.youtube.misc.playercontrols.resource.patch.BottomControlsResourcePatch
|
||||
import org.jf.dexlib2.iface.instruction.OneRegisterInstruction
|
||||
|
||||
@Name("player-controls-bytecode-patch")
|
||||
@Name("Player controls bytecode patch")
|
||||
@DependsOn([BottomControlsResourcePatch::class])
|
||||
@Description("Manages the code for the player controls of the YouTube player.")
|
||||
@PlayerControlsCompatibility
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ import app.revanced.patches.shared.mapping.misc.patch.ResourceMappingPatch
|
||||
import app.revanced.patches.youtube.misc.playercontrols.annotation.PlayerControlsCompatibility
|
||||
import java.io.Closeable
|
||||
|
||||
@Name("bottom-controls-resource-patch")
|
||||
@Name("Bottom controls resource patch")
|
||||
@Description("Manages the resources for the bottom controls of the YouTube player.")
|
||||
@PlayerControlsCompatibility
|
||||
@DependsOn([ResourceMappingPatch::class])
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ import app.revanced.patches.youtube.misc.integrations.patch.IntegrationsPatch
|
||||
import app.revanced.patches.youtube.misc.playeroverlay.annotation.PlayerOverlaysHookCompatibility
|
||||
import app.revanced.patches.youtube.misc.playeroverlay.fingerprint.PlayerOverlaysOnFinishInflateFingerprint
|
||||
|
||||
@Name("player-overlays-hook")
|
||||
@Name("Player overlays hook")
|
||||
@Description("Hook for adding custom overlays to the video player.")
|
||||
@PlayerOverlaysHookCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ import app.revanced.patches.youtube.misc.playertype.fingerprint.PlayerTypeFinger
|
||||
import app.revanced.patches.youtube.misc.playertype.fingerprint.VideoStateFingerprint
|
||||
import org.jf.dexlib2.iface.instruction.ReferenceInstruction
|
||||
|
||||
@Name("player-type-hook")
|
||||
@Name("Player type hook")
|
||||
@Description("Hook to get the current player type and video playback state.")
|
||||
@PlayerTypeHookCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ import org.jf.dexlib2.util.MethodUtil
|
||||
import java.io.Closeable
|
||||
|
||||
@DependsOn([IntegrationsPatch::class, SettingsResourcePatch::class, ])
|
||||
@Name("settings")
|
||||
@Name("Settings")
|
||||
@Description("Adds settings for ReVanced to YouTube.")
|
||||
@Version("0.0.1")
|
||||
class SettingsPatch : BytecodePatch(
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ import app.revanced.util.resources.ResourceUtils.mergeStrings
|
||||
import org.w3c.dom.Element
|
||||
import org.w3c.dom.Node
|
||||
|
||||
@Name("settings-resource-patch")
|
||||
@Name("Settings resource patch")
|
||||
@DependsOn([ResourceMappingPatch::class])
|
||||
@Description("Applies mandatory patches to implement ReVanced settings into the application.")
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ import app.revanced.patches.youtube.misc.zoomhaptics.annotations.ZoomHapticsComp
|
||||
import app.revanced.patches.youtube.misc.zoomhaptics.fingerprints.ZoomHapticsFingerprint
|
||||
|
||||
@Patch
|
||||
@Name("disable-zoom-haptics")
|
||||
@Name("Disable zoom haptics")
|
||||
@Description("Disables haptics when zooming.")
|
||||
@DependsOn([SettingsPatch::class])
|
||||
@ZoomHapticsCompatibility
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ import org.jf.dexlib2.iface.instruction.TwoRegisterInstruction
|
||||
import org.jf.dexlib2.iface.reference.FieldReference
|
||||
|
||||
@Patch
|
||||
@Name("hdr-auto-brightness")
|
||||
@Name("Hdr auto brightness")
|
||||
@Description("Makes the brightness of HDR videos follow the system default.")
|
||||
@HDRBrightnessCompatibility
|
||||
@Version("0.0.2")
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ import org.jf.dexlib2.immutable.ImmutableMethod
|
||||
import org.jf.dexlib2.immutable.ImmutableMethodParameter
|
||||
import org.jf.dexlib2.util.MethodUtil
|
||||
|
||||
@Name("video-information")
|
||||
@Name("Video information")
|
||||
@Description("Hooks YouTube to get information about the current playing video.")
|
||||
@VideoInformationCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ import org.jf.dexlib2.iface.reference.FieldReference
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, VideoInformationPatch::class, SettingsPatch::class])
|
||||
@Name("remember-video-quality")
|
||||
@Name("Remember video quality")
|
||||
@Description("Adds the ability to remember the video quality you chose in the video quality flyout.")
|
||||
@RememberVideoQualityCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
@@ -13,7 +13,7 @@ import app.revanced.patches.youtube.video.speed.custom.patch.CustomVideoSpeedPat
|
||||
import app.revanced.patches.youtube.video.speed.remember.patch.RememberPlaybackSpeedPatch
|
||||
|
||||
@Patch
|
||||
@Name("video-speed")
|
||||
@Name("Video speed")
|
||||
@Description("Adds custom video speeds and ability to remember the playback speed you chose in the video playback speed flyout.")
|
||||
@DependsOn([CustomVideoSpeedPatch::class, RememberPlaybackSpeedPatch::class])
|
||||
@VideoSpeedCompatibility
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ import org.jf.dexlib2.iface.reference.FieldReference
|
||||
import org.jf.dexlib2.iface.reference.MethodReference
|
||||
import org.jf.dexlib2.immutable.ImmutableField
|
||||
|
||||
@Name("custom-video-speed")
|
||||
@Name("Custom video speed")
|
||||
@Description("Adds custom video speed options.")
|
||||
@DependsOn([IntegrationsPatch::class, LithoFilterPatch::class, SettingsPatch::class, BottomSheetHookPatch::class])
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ import app.revanced.patches.youtube.video.speed.custom.patch.CustomVideoSpeedPat
|
||||
import app.revanced.patches.youtube.video.speed.remember.fingerprint.InitializePlaybackSpeedValuesFingerprint
|
||||
import org.jf.dexlib2.iface.instruction.ReferenceInstruction
|
||||
|
||||
@Name("remember-playback-speed")
|
||||
@Name("Remember playback speed")
|
||||
@Description("Adds the ability to remember the playback speed you chose in the video playback speed flyout.")
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class, VideoInformationPatch::class, CustomVideoSpeedPatch::class])
|
||||
@Version("0.0.1")
|
||||
|
||||
@@ -18,7 +18,7 @@ import app.revanced.patches.youtube.video.videoid.fingerprint.VideoIdFingerprint
|
||||
import app.revanced.patches.youtube.video.videoid.fingerprint.VideoIdFingerprintBackgroundPlay
|
||||
import org.jf.dexlib2.iface.instruction.OneRegisterInstruction
|
||||
|
||||
@Name("video-id-hook")
|
||||
@Name("Video id hook")
|
||||
@Description("Hooks to detect when the video id changes")
|
||||
@VideoIdCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ import org.jf.dexlib2.iface.instruction.OneRegisterInstruction
|
||||
LithoFilterPatch::class,
|
||||
BottomSheetHookPatch::class
|
||||
])
|
||||
@Name("old-video-quality-menu")
|
||||
@Name("Old video quality menu")
|
||||
@Description("Shows the old video quality with the advanced video quality options instead of the new one.")
|
||||
@OldVideoQualityMenuCompatibility
|
||||
@Version("0.0.1")
|
||||
|
||||
Reference in New Issue
Block a user