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

Time bar for discord RPC #1915

Open
1 of 2 tasks
YUG38 opened this issue Sep 24, 2024 · 0 comments
Open
1 of 2 tasks

Time bar for discord RPC #1915

YUG38 opened this issue Sep 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@YUG38
Copy link

YUG38 commented Sep 24, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Pain

I'd like to have time bar instead of just time for the song time thingy

Suggested solution

You could update the discord RPC code to have a time bar thingy instead of just the normal time ( Yes it works now, discord recently changed code to allow it for other RPC's too and not just spotify special )

Useful resources

const activity: Activity = {
application_id,
name: "whatever",
type: ActivityType.LISTENING,
flags: 0,
details: "details",
state: "state",
timestamps: {
start: Date.now(),
end: (Date.now() + (e.track.duration ?? 0))
},
assets: {
large_image,
large_text: "album"
},
buttons: [],
metadata: {
button_urls: []
}
};

Additional information

No response

Self grab

  • I'm ready to work on this issue!
@YUG38 YUG38 added the enhancement New feature or request label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant