Reads your currently playing media from iTunes using the new JXA interface (osascript -l JavaScript
).
You must have Quassel client installed and coffeescript
in PATH
.
- Clone this repository.
- Run
install.sh
. - 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 aftermpris
will be ignored. The expansion should be/exec mpris
at minimum. See the screenshot below. - Type
/np
(or the alias you used) in a chat and if media is playing it will show the metadata publicly.