Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hex2f/amrpc
Discord RPC for Apple Music on macOS Catalina.
https://github.com/hex2f/amrpc
Last synced: 8 days ago
JSON representation
Discord RPC for Apple Music on macOS Catalina.
- Host: GitHub
- URL: https://github.com/hex2f/amrpc
- Owner: hex2f
- Created: 2019-10-20T00:48:23.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T02:40:59.000Z (over 1 year ago)
- Last Synced: 2024-11-01T06:34:23.433Z (15 days ago)
- Language: TypeScript
- Size: 619 KB
- Stars: 20
- Watchers: 5
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Apple Music Presence for Discord
Displays your currently playing Apple Music tracks in Discord, similar to Spotify.
![Preview Screenshot: Playing a game. Music. Drama featuring Charli XCX. By Bladee & Mechatok. One minute and 14 seconds elapsed.](https://i.imgur.com/yw82Zmf.png)## How to use
`npm start` lints, compiles and runs the program. Once it has been compiled you can use `node out/index.js`.
You'll need to create an application named `Music` in the Discord developer panel.
Upload the [logo](https://cdn.discordapp.com/app-assets/635251785136603166/842193816881463306.png), [paused](https://cdn.discordapp.com/app-assets/635251785136603166/842185296523034634.png) and [empty](https://cdn.discordapp.com/app-assets/635251785136603166/845730360264491020.png) assets to the applications art assets (named accordingly).Create a `config.json` in the root directory of this project containing
```json
{
"id": "Your Discord Application ID",
"token": "Your personal Discord token"
}
```If you want to avoid any chance of being banned for selfbotting, create a new user for the application and use that token instead.
## Known flaws
Album covers are not displayed properly in Discord the first time they're displayed. This is due to Discord's CDN not being ready to serve the image by the time it's requested by the persence.