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

question: YT music (spoof client patch) - Why action bar components are unusable only when manual playback is initiated? #2639

Closed
4 tasks done
Karthik-Subbu opened this issue Jan 3, 2025 · 2 comments
Labels
Question Further information is requested

Comments

@Karthik-Subbu
Copy link

Karthik-Subbu commented Jan 3, 2025

Application

YouTube Music

Question description

With spoof client approach for YT music (versions > 7.16.53), it is understood that action bar layout is modified by IOS client spoofing which makes action bar components unusable (for e.g likes and dislikes counts and user actions thumbs up and down are not available). However it is observed that after the end of a track when next track auto playback is initiated, the action bar components are restored.

I am not sure why server response has to be different for manual and auto playbacks? Is there a way to make it look like auto playback call when actually a manual playback is initiated? or alternatively spoof using different clients for action bar and video?

I am resorting to spoof client because I have issues with dns and spoof streaming data is not usable for me.

Acknowledgements

  • This issue is not a duplicate of an existing question.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
  • I have written the title and contents in English.
@Karthik-Subbu Karthik-Subbu added the Question Further information is requested label Jan 3, 2025
@inotia00
Copy link
Owner

inotia00 commented Jan 3, 2025

The Spoof client patch modifies the ClientContext after the player has loaded (similar to spoofing the User-Agent)

The ClientContext is used not only when the player is loaded, but also on almost every request, such as when fetching content from a feed or fetching search results

If it is not spoofed properly, the action bar may be visible (which means that playback issues may occur)

@inotia00 inotia00 closed this as completed Jan 3, 2025
@Karthik-Subbu
Copy link
Author

Karthik-Subbu commented Jan 3, 2025

The Spoof client patch modifies the ClientContext after the player has loaded (similar to spoofing the User-Agent)

The ClientContext is used not only when the player is loaded, but also on almost every request, such as when fetching content from a feed or fetching search results

If it is not spoofed properly, the action bar may be visible (which means that playback issues may occur)

Is the client context used when next track is played automatically?

Please see this thread in ReVanced.

ReVanced/revanced-patches#4140 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants