Giter Site home page Giter Site logo

ranoiaetep / apple-music-discord-rpc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nextfire/apple-music-discord-rpc

1.0 0.0 0.0 81 KB

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

License: MIT License

Shell 12.30% TypeScript 87.70%

apple-music-discord-rpc's Introduction

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/

apple-music-discord-rpc's People

Contributors

nextfire avatar rxri avatar ranoiaetep avatar ryantanrk avatar alexanderbira avatar trsvsr avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.