Skip to content
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

bug(YouTube Music): "Enable exclusive audio playback" fails to patch #4301

Open
3 tasks done
juniosxs opened this issue Jan 15, 2025 · 1 comment
Open
3 tasks done
Labels
Bug report Something isn't working

Comments

@juniosxs
Copy link

Bug description

error applying patch "Enable exclusive audio playback" in YouTube Music on Version 7.33.51 or Newer Versions, I am using the latest stable patches and revanced-cli, here is the error log.

Error logs

~/revanced $ sh ytmusic.sh
force delete resource cache
Updating ReVanced Dependencies
Download ReVanced Dependencies
Building YouTube Music ReVanced
INFO: Loading patches
INFO: Decoding app manifest
INFO: "Export all activities" disabled
INFO: "Spoof build info" disabled
INFO: "Hide mock location" disabled
INFO: "Spoof SIM country" disabled
INFO: "Spoof Wi-Fi connection" disabled
INFO: "Enable Android debugging" disabled
INFO: "Export internal data documents provider" disabled
INFO: "Hex" disabled
INFO: "Predictive back gesture" disabled
INFO: "Override certificate pinning" disabled
INFO: "Change package name" disabled
INFO: "Remove screen capture restriction" disabled
INFO: "Remove screenshot restriction" disabled
INFO: "Remove share targets" disabled
INFO: "Change version code" disabled
INFO: "Bypass certificate checks" disabled
INFO: Setting patch options
INFO: Deleting existing temporary files directory
INFO: Decoding resources
INFO: Initializing lookup maps
INFO: Executing patches
SEVERE: "Enable exclusive audio playback" failed:
app.revanced.patcher.patch.PatchException: Failed to match the fingerprint: app.revanced.patcher.Fingerprint@1b1f1ee4
        at app.revanced.patcher.Fingerprint.getException(Fingerprint.kt:254)
        at app.revanced.patcher.Fingerprint.getMatch(Fingerprint.kt:263)
        at app.revanced.patcher.Fingerprint.getMethod(Fingerprint.kt:392)
        at app.revanced.patches.music.audio.exclusiveaudio.EnableExclusiveAudioPlaybackKt.enableExclusiveAudioPlaybackPatch$lambda$2$lambda$1(EnableExclusiveAudioPlayback.kt:14)
        at app.revanced.patcher.patch.Patch.execute(Patch.kt:71)
        at app.revanced.patcher.patch.BytecodePatch.execute$revanced_patcher(Patch.kt:159)
        at app.revanced.patcher.Patcher$invoke$1.invokeSuspend$execute(Patcher.kt:84)
        at app.revanced.patcher.Patcher$invoke$1.invokeSuspend(Patcher.kt:109)
        at app.revanced.patcher.Patcher$invoke$1.invoke(Patcher.kt)
        at app.revanced.patcher.Patcher$invoke$1.invoke(Patcher.kt)
        at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:57)
        at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:226)
        at app.revanced.cli.command.PatchCommand$run$1$4.invokeSuspend(PatchCommand.kt:315)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
        at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
        at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
        at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
        at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
        at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
        at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
        at app.revanced.cli.command.PatchCommand.run(PatchCommand.kt:314)
        at picocli.CommandLine.executeUserObject(CommandLine.java:2030)
        at picocli.CommandLine.access$1500(CommandLine.java:148)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2465)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2457)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2419)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2421)
        at picocli.CommandLine.execute(CommandLine.java:2174)
        at app.revanced.cli.command.MainCommandKt.main(MainCommand.kt:12)

INFO: "GmsCore support" succeeded
INFO: "Hide 'Get Music Premium' label" succeeded
INFO: "Hide category bar" succeeded
INFO: "Hide music video ads" succeeded
INFO: "Permanent repeat" succeeded
INFO: "Remove background playback restrictions" succeeded
INFO: "Remove upgrade button" succeeded
INFO: "Spoof client" succeeded
INFO: Compiling modified resources
INFO: Aligning APK
INFO: Signing APK
INFO: Saved to /data/data/com.termux/files/home/revanced/youtube.music_8.02.52-patched.apk
INFO: Purging temporary files
INFO: Purged resource cache directory
Move Apk to Internal Storage
Finished 😀

Solution

No response

Additional context

No response

Acknowledgements

  • I have checked all open and closed bug reports and this is not a duplicate.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
@juniosxs juniosxs added the Bug report Something isn't working label Jan 15, 2025
@LisoUseInAIKyrios LisoUseInAIKyrios changed the title bug: "Enable exclusive audio playback" failed bug(YouTube Music): "Enable exclusive audio playback" fails to patch Jan 15, 2025
@LisoUseInAIKyrios
Copy link
Contributor

Patch the recommended version (7.29.52) or patch a slightly older version than 7.33.51.

Worth mentioning the likes are sometimes hidden and patching 7.16.53 fixes that.
Perhaps the recommended version should be changed to 7.16.53.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants