From b951faa6b4771693f08b4002c771a508904d97a1 Mon Sep 17 00:00:00 2001 From: "\"Vincent Ambo ext:(%22)" Date: Wed, 22 Feb 2012 22:03:31 +0100 Subject: * initial checkin --- tools/music/gettitle | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 tools/music/gettitle (limited to 'tools/music/gettitle') diff --git a/tools/music/gettitle b/tools/music/gettitle new file mode 100755 index 000000000000..0bd4cc6979ec --- /dev/null +++ b/tools/music/gettitle @@ -0,0 +1,4 @@ +#!/bin/bash + +osascript -e 'tell application "iTunes" to get name of current track' +osascript -e 'tell application "iTunes" to get artist of current track' -- cgit 1.4.1