11# apple-music-discord-rpc
22
3- ** [ Deno] ( https://deno.com ) + JavaScript for Automation (JXA) Discord Rich
4- Presence Client for the macOS Apple Music app (Catalina and later) and legacy
5- iTunes.**
3+ Deno + JavaScript for Automation (JXA) Discord Rich Presence client for the
4+ macOS Apple Music app (Catalina and later) and legacy iTunes.
65
7- Works with local tracks and Apple Music streaming service.
6+ Works with local tracks and the Apple Music streaming service.
87
98## Features
109
11- - Can start in background at login
10+ - Can start in the background at login
1211- No status bar icon clutter
13- - Small and (quite ) easy to understand script
14- - Presence is only enabled when actually playing something
12+ - Small and (relatively ) easy-to- understand script
13+ - Presence is enabled only when music is actually playing
1514- Apple Music matching
16- ([ #5 ] ( https://github.com/NextFire/apple-music-discord-rpc/pull/5 ) )
17- - Local artwork upload to Catbox fallback
15+ - Local artwork upload on catbox.moe as a fallback
1816
1917<img width =" 230 " height =" 47 " alt =" image " src =" https://github.com/user-attachments/assets/2e168586-4202-46a3-a2d5-0e4e499ecdc6 " />
2018<img width =" 296 " height =" 128 " alt =" image " src =" https://github.com/user-attachments/assets/d5c01904-d43e-4f10-990d-2c75ff3acc61 " />
2119
2220## Getting Started
2321
24- Follow one of the two sections below to download the script and enable the macOS
25- launch agent that will start it at login.
22+ Follow one of the two methods below to download the script and enable the macOS
23+ launch agent so it starts at login.
2624
2725### Homebrew (Recommended)
2826
2927#### Install
3028
31- After installing [ Homebrew] ( https://brew.sh ) , execute the following commands :
29+ After installing [ Homebrew] ( https://brew.sh ) , run :
3230
3331```
3432brew tap nextfire/tap
3533brew install apple-music-discord-rpc
3634brew services restart apple-music-discord-rpc
3735```
3836
39- These commands
37+ These commands add [ this tap] ( https://github.com/NextFire/homebrew-tap ) to
38+ Homebrew, install the ` apple-music-discord-rpc ` formula (and Deno), and enable
39+ the launch agent, starting it immediately.
4040
41- - add [ this tap] ( https://github.com/NextFire/homebrew-tap ) to Homebrew,
42- - install its ` apple-music-discord-rpc ` formula (and Deno),
43- - enable the launch agent and start it immediately.
44-
45- The ` music-rpc.ts ` executable is now also in ` PATH ` .
41+ The ` music-rpc.ts ` executable is also placed in your ` PATH ` .
4642
4743#### Upgrade
4844
@@ -63,17 +59,16 @@ brew untap nextfire/tap
6359
6460#### Install
6561
66- Install [ Deno] ( https://deno.com ) (v2+), clone the repository and execute
67- [ ` install.sh ` ] ( /scripts/install.sh ) :
62+ Install Deno (v2+), clone the repository, and run ` ./scripts/install.sh ` :
6863
6964```
7065git clone https://github.com/NextFire/apple-music-discord-rpc.git
7166cd apple-music-discord-rpc/
7267./scripts/install.sh
7368```
7469
75- It will copy the [ launch agent] ( /scripts/moe.yuru.music-rpc.plist ) into
76- ` ~/Library/LaunchAgents/ ` and edit it accordingly.
70+ It copies the [ launch agent] ( /scripts/moe.yuru.music-rpc.plist ) into
71+ ` ~/Library/LaunchAgents/ ` and edits it accordingly.
7772
7873#### Upgrade
7974
0 commit comments