login

Irssi and iTunes

Hey, if you're using macirssi (or original irssi) in Mac OS X with iTunes, hope you will like alias that prints "now playing" to current channel. just enter these commands in irssi:

/alias np script exec \$np = `osascript -e 'tell application \"iTunes\" to get artist of current track & \" - \" & name of current track'`\; Irssi::active_win->command("me is now listening: \$np")
/save


15.03.2009 13:46:15 / 0 comments / permalink