-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add Slack Now Playing plugin #3242
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
base: master
Are you sure you want to change the base?
Conversation
It would be better to separate the Slack scrobbler as a standalone plugin, similar to the Discord RPC. The Scrobbler plugin is intended for services like LastFM or Listenbrainz. |
e.g. |
OK, I'll rework this as a standalone plugin. |
- Add isSlackNowPlayingConfig type guard function for better type checking - Replace unsafe type assertions with proper type guards
I wouldn't recommend adding a dependency like axios, especially in 2025, when the built-in fetch is as good. |
…node in Slack client
Why the extra dependency for formdata? |
That was a leftover when I was trying formdata instead of |
package.json
Outdated
"filenamify": "6.0.0", | ||
"formdata-node": "^6.0.3", |
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.
here
package.json
Outdated
@@ -273,7 +273,10 @@ | |||
"es-hangul": "2.3.3", | |||
"fast-average-color": "9.5.0", | |||
"fast-equals": "5.2.2", | |||
"fetch-blob": "^4.0.0", |
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.
here as well?
why so many polyfills? |
I believe that I've addressed all of the feedback that you've given. If there's something I've missed, or a new issue, please let me know. |
It would be hypocritical of me to say this in another PR and not here as well, so here we go.
Please do not use |
Reverted all languages except EN & ES (since I speak those languages and know that the meaning is correct). |
I wanted to be able to push my "Now Playing" status to my company's Slack.