aboutsummaryrefslogtreecommitdiff
path: root/com.ted.mpd_trigger.plist
diff options
context:
space:
mode:
Diffstat (limited to 'com.ted.mpd_trigger.plist')
-rw-r--r--com.ted.mpd_trigger.plist16
1 files changed, 16 insertions, 0 deletions
diff --git a/com.ted.mpd_trigger.plist b/com.ted.mpd_trigger.plist
new file mode 100644
index 0000000..36b209e
--- /dev/null
+++ b/com.ted.mpd_trigger.plist
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>Label</key>
+ <string>com.ted.mpd_trigger</string>
+ <key>ProgramArguments</key>
+ <array>
+ <string>/Users/ymf/Downloads/mpd_trigger/mpd_trigger</string>
+ <string>-e</string>
+ <string>/usr/local/bin/terminal-notifier -title "{title}: {state} ({elapsed_pct}%)" -subtitle "{artist}" -message "{album} @ {track?{track}:unknown track}" -sender com.apple.iTunes</string>
+ </array>
+ <key>RunAtLoad</key>
+ <true/>
+</dict>
+</plist>