View on GitHub

quassel-itunes-np

iTunes now playing script for use with Quassel Client on macOS.

iTunes script for Quassel

Reads your currently playing media from iTunes using the new JXA interface (osascript -l JavaScript).

Installation

You must have Quassel client installed and coffeescript in PATH.

  1. Clone this repository.
  2. Run install.sh.
  3. Add a custom alias to Quassel Client (Preferences) named whatever you like such as np. This is meant to be compatible with the existing mpris script installed on a Linux version. Arguments after mpris will be ignored. The expansion should be /exec mpris at minimum. See the screenshot below.
  4. Type /np (or the alias you used) in a chat and if media is playing it will show the metadata publicly.

screen shot 2017-12-26 at 01 34 05