-
Notifications
You must be signed in to change notification settings - Fork 576
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
Added Discord rich presence and added extra properties to songInfo provider #124
Conversation
semvis123
commented
Jan 12, 2021
- Added Discord rich presence
- Added extra properties to songInfo provider:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks promising! Just a question/remark and should be good to go!
Note: #125 will refactor the providers, the second PR to be merged will have to be updated to take into account changes.
transport: 'ipc' | ||
}); | ||
|
||
const clientId = '790655993809338398'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quick question about the ID, did you register an application in Discord under your own account?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uhm yes, but it can be changed to yours if you want :)
plugins/discord-rpc/back.js
Outdated
@@ -0,0 +1,41 @@ | |||
const DiscordRPC = require('discord-rpc'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: would have just called the plugin discord
(rpc being an implementation detail, it might not be necessary to have it in the plugin name)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah no, sorry for the confusion, I was talking about the filename plugins/discord-rpc/back.js
-> plugins/discord/back.js
! The code looks good 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, merging, thanks for the contribution!
The individual discord account needs to have its respective youtube account connected in order to show valid information. Could this be written in some docs (README) on these changes with the other available plugins? |
@AlxBrn Hmm that shouldn't be necessary, I don't have my YouTube account connected to my Discord and it works fine for me. Have you restarted both discord and YouTube music before you checked? Also could you clarify what you mean with "in order to show valid information"? |
@semvis123 Would it be possible to rename the client to YouTube Music instead of Youtube Music? :p |
@NNowakowski It should be updated right now, thanks for your suggestion! |