mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 21:27:43 +02:00
fix(YouTube Music - Spoof client): Skip response encryption in OnesiePlayerRequest
has also been applied to YouTube Music (Closes https://github.com/inotia00/ReVanced_Extended/issues/2819)
This commit is contained in:
@ -106,18 +106,4 @@ public class BlockRequestPatch {
|
||||
|
||||
return initPlaybackRequestUri;
|
||||
}
|
||||
|
||||
/**
|
||||
* Injection point.
|
||||
* Skip response encryption in OnesiePlayerRequest.
|
||||
*/
|
||||
public static boolean skipResponseEncryption(boolean original) {
|
||||
Logger.printDebug(() -> "response Encryption: " + original);
|
||||
|
||||
if (BLOCK_REQUEST) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return original;
|
||||
}
|
||||
}
|
||||
|
@ -62,6 +62,18 @@ public class SpoofStreamingDataPatch extends BlockRequestPatch {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Injection point.
|
||||
* Skip response encryption in OnesiePlayerRequest.
|
||||
*/
|
||||
public static boolean skipResponseEncryption(boolean original) {
|
||||
if (!SPOOF_STREAMING_DATA) {
|
||||
return original;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Injection point.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user