Skip to content

Commit

Permalink
feat(YouTube): Clarify patch descriptions (#3350)
Browse files Browse the repository at this point in the history
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
  • Loading branch information
KobeW50 and oSumAtrIX authored Dec 2, 2023
1 parent 7d4d1bd commit f2b9df4
Show file tree
Hide file tree
Showing 15 changed files with 14 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction

@Patch(
name = "Enable slide to seek",
description = "Enable slide to seek instead of playing at 2x speed.",
description = "Enable slide to seek instead of playing at 2x speed when pressing and holding in the video player.",
dependencies = [IntegrationsPatch::class, SettingsPatch::class],
compatiblePackages = [
CompatiblePackage(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import java.nio.file.Files

@Patch(
name = "Custom branding",
description = "Changes the app icon and name to your choice (defaults to YouTube ReVanced and the ReVanced logo).",
description = "Changes the app name and icon to your choice (defaults to \"YouTube ReVanced\" and the ReVanced logo).",
compatiblePackages = [
CompatiblePackage("com.google.android.youtube")
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import app.revanced.patches.youtube.misc.settings.SettingsPatch

@Patch(
name = "Hide video action buttons",
description = "Adds the options to hide action buttons under a video.",
description = "Adds options to hide action buttons under a video.",
dependencies = [
ResourceMappingPatch::class,
LithoFilterPatch::class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import com.android.tools.smali.dexlib2.Opcode

@Patch(
name = "Hide captions button",
description = "Hides the captions button on video player.",
description = "Hides the captions button in the video player.",
dependencies = [
IntegrationsPatch::class,
SettingsPatch::class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.formats.Instruction3rc

@Patch(
name = "Hide player buttons",
description = "Adds the option to hide video player previous and next buttons.",
description = "Hides previous and next buttons in the video player.",
dependencies = [
IntegrationsPatch::class,
SettingsPatch::class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.formats.Instruction21c

@Patch(
name = "Hide endscreen cards",
description = "Hides the suggested video cards at the end of a video in fullscreen.",
description = "Hides the suggested video cards at the end of videos.",
dependencies = [
IntegrationsPatch::class,
HideEndscreenCardsResourcePatch::class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction

@Patch(
name = "Disable rolling number animations",
description = "Disables rolling number animations of video view count, upload time, and user likes",
description = "Disables rolling number animations of video view count, user likes, and upload time.",
dependencies = [IntegrationsPatch::class, SettingsPatch::class],
compatiblePackages = [
CompatiblePackage(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import app.revanced.patches.youtube.misc.settings.SettingsPatch

@Patch(
name = "Disable player popup panels",
description = "Disables panels from appearing automatically when going into fullscreen (playlist or live chat).",
description = "Disables panels (such as live chat) from opening automatically.",
dependencies = [IntegrationsPatch::class, SettingsPatch::class],
compatiblePackages = [
CompatiblePackage(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction

@Patch(
name = "Custom player overlay opacity",
description = "Change the opacity of the player background, when player controls are visible.",
description = "Change the opacity of the player background when player controls are visible.",
dependencies = [CustomPlayerOverlayOpacityResourcePatch::class],
compatiblePackages = [
CompatiblePackage("com.google.android.youtube")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import com.android.tools.smali.dexlib2.iface.reference.StringReference

@Patch(
name = "SponsorBlock",
description = "Integrates SponsorBlock which allows skipping video segments such as sponsored content.",
description = "Integrates SponsorBlock, which can skip undesired video segments such as sponsored content.",
compatiblePackages = [
CompatiblePackage(
"com.google.android.youtube", [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction
@Patch(
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.",
"This can be used to restore old UI elements and features.",
dependencies = [IntegrationsPatch::class, SettingsPatch::class],
compatiblePackages = [
CompatiblePackage(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction

@Patch(
name = "Remove tracking query parameter",
description = "Remove the tracking query parameter from links.",
description = "Remove the tracking query parameter from links you share.",
dependencies = [IntegrationsPatch::class, SettingsPatch::class],
compatiblePackages = [
CompatiblePackage(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import com.android.tools.smali.dexlib2.iface.reference.FieldReference

@Patch(
name = "Remember video quality",
description = "Adds the ability to remember the video quality you chose in the video quality flyout.",
description = "Adds the ability to remember the last video quality selected.",
dependencies = [IntegrationsPatch::class, VideoInformationPatch::class, SettingsPatch::class],
compatiblePackages = [
CompatiblePackage(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ import app.revanced.patches.youtube.video.speed.remember.RememberPlaybackSpeedPa

@Patch(
name = "Playback speed",
description = "Adds custom playback speeds and ability " +
"to remember the playback speed you chose in the video playback speed flyout.",
description = "Adds custom playback speeds and ability to remember the last playback speed selected.",
dependencies = [CustomPlaybackSpeedPatch::class, RememberPlaybackSpeedPatch::class],
compatiblePackages = [
CompatiblePackage(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import app.revanced.patches.youtube.video.speed.remember.fingerprint.InitializeP
import com.android.tools.smali.dexlib2.iface.instruction.ReferenceInstruction

@Patch(
description = "Adds the ability to remember the playback speed you chose in the playback speed flyout.",
dependencies = [IntegrationsPatch::class, SettingsPatch::class, VideoInformationPatch::class, CustomPlaybackSpeedPatch::class]
)
object RememberPlaybackSpeedPatch : BytecodePatch(
Expand Down

0 comments on commit f2b9df4

Please sign in to comment.