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

Long time for discord to update RPC. #105

Open
kadewu1 opened this issue Sep 2, 2024 · 3 comments
Open

Long time for discord to update RPC. #105

kadewu1 opened this issue Sep 2, 2024 · 3 comments
Labels
question Further information is requested

Comments

@kadewu1
Copy link

kadewu1 commented Sep 2, 2024

So basically discord takes a pretty long time to update (or begin showing) currently playing song. Idk if it's an issue with discord or what, but it's pretty annoying. Using latest Vencord (same thing happens on vanilla) and im on m2 mac air with Sonoma.

@NextFire
Copy link
Owner

NextFire commented Sep 2, 2024

See my (maybe related) reply here: #93 (comment)

You may or not want to update the timeout here:

static async create(defaultTimeout = 15e3): Promise<AppleMusicDiscordRPC> {

@kadewu1
Copy link
Author

kadewu1 commented Sep 2, 2024

See my (maybe related) reply here: #93 (comment)

You may or not want to update the timeout here:

static async create(defaultTimeout = 15e3): Promise<AppleMusicDiscordRPC> {

oh, so if that's how it works then i guess there's some reasoning behind that. would there be any noticeable impact if said value would be changed? would discord even register it? as its supposedly rate limited to 15s anyways

@NextFire
Copy link
Owner

NextFire commented Sep 2, 2024

Well it would surely introduce some additional system load (so ultimately battery issue), and quite unnecessarily indeed if the Discord client is still rate limiting to 1 per 15s (I haven’t tested that).

@NextFire NextFire added the question Further information is requested label Nov 16, 2024
@NextFire NextFire pinned this issue Nov 16, 2024
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