Skip to content

🎵 Discord Rich Presence Client for the macOS Apple Music app and iTunes

License

Notifications You must be signed in to change notification settings

Ranoiaetep/apple-music-discord-rpc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

apple-music-discord-rpc

Deno + JavaScript for Automation (JXA) Discord Rich Presence Client for the macOS Apple Music app (Catalina and later) and legacy iTunes.

Works with local tracks and Apple Music streaming service.

Features

  • Can be started in background at login.
  • Minimalist: No status bar icon clutter and presence only shown when actually playing something.
  • Shows album artworks and links to Apple Music (when found) (#5).

Capture d’écran 2022-07-11 à 09 00 50

Usage

Choose one of the two methods below to install the script and enable the launch agent that starts it on login.

Homebrew

Install

After installing Homebrew, execute the following commands:

brew tap ranoiaetep/tap
brew install apple-music-discord-rpc
brew services restart apple-music-discord-rpc

These commands

  • add this tap to Homebrew,
  • install its apple-music-discord-rpc formula (and Deno),
  • enable the launch agent on login and start it.

The music-rpc.ts executable is also added to PATH.

Uninstall

brew services stop apple-music-discord-rpc
brew remove apple-music-discord-rpc
brew untap ranoiaetep/tap

Scripts

Install

Install Deno then clone the repository and execute install.sh:

git clone https://github.com/NextFire/apple-music-discord-rpc.git
cd apple-music-discord-rpc/
./scripts/install.sh

It will copy the launch agent into ~/Library/LaunchAgents/ and correctly edit it.

Uninstall

cd apple-music-discord-rpc/
./scripts/uninstall.sh
cd ../
rm -rf apple-music-discord-rpc/

About

🎵 Discord Rich Presence Client for the macOS Apple Music app and iTunes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 87.7%
  • Shell 12.3%