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

Youtube music app not syncing #128

Open
Paprryk opened this issue Dec 25, 2024 · 1 comment
Open

Youtube music app not syncing #128

Paprryk opened this issue Dec 25, 2024 · 1 comment

Comments

@Paprryk
Copy link

Paprryk commented Dec 25, 2024

As in the title, app I'm using:

https://ytmdesktop.app/ (One of the supported ones)

Latest version v2.0.6.

Also a question, any plans to add the possibility to keep the information about caps/numlock etc and shove the the entire custom app a few pixels down? (This relates to apex pro keyboards as you probably know).

@mtricht
Copy link
Owner

mtricht commented Dec 26, 2024

Seems like they changed stuff. We could use the API that they expose for the companion app instead of the title.

Docs: https://github.com/ytmdesktop/ytmdesktop/wiki/v2-%E2%80%90-Companion-Server-API-v1
Request code:

POST http://localhost:9863/api/v1/auth/requestcode
{
  "appId": "gamesense-essentials",
  "appName": "Gamesense essentials",
  "appVersion": "1.0.0"
}

Code to token:

POST http://localhost:9863/api/v1/auth/request
{
  "appId": "gamesense-essentials",
  "code": "6247"
}

Get player state:

GET http://localhost:9863/api/v1/state

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

No branches or pull requests

2 participants