# now playing automation

Hehe, something geeky now.
Seeing some of those typical “now playing” tags in emails and blogs I was wondering how that could be automated, and perhaps posted into my blog.
I didn’t feel like auto adding a line at the bottom of my posts myself, hell that kind of tedious stuff is what computers where invented for, but there’s software that can do just that for you like the AMIP plugin for WinAmp.

What’s sweet about this plugin is that even though it’s originally designed for use with mIRC or other IRC clients, it had been extended for other purpouses as well. Like auto copying to the windows clipboard, or, which is really cool, to generater a “whats playing” HTML file, or as I customized it, a tiny javascript include which gets automatically uploaded through FTP on my webspace, and linked directly in this blog.

So whenever I play an mp3 for more than 10 second in WinAmp, the script gets updated, and uploaded and displayed in the sidebar, with a time indication!

Pretty sweet huh? Yeah, that’s what I was thinking too.

Just in case you’re interested in the specifics, this is what the AMIP output preset looks like:

/template:(e:\amipweb\in.js)e:\amipweb\nowplaying.js /exec:(c:\windows\system32\ftp.exe) -s:e:\amipweb\ftp.txt 

and the in.js looks like this:

document.write("&func_lc(%name) at &func_lc(%hstamp):&func_lc(%mstamp) &func_lc(%dstamp)/&func_lc(%monstamp)");

## 6 thoughts on “now playing automation”

1. n3wjack

Since I’m not a Mac user, I have no idea, but I see the AMIP plugin supports iTunes as a player, but I’m guessing that will be the Windows version only…
Check it out I’d say, and otherwise, there’s always Google :)

This site uses Akismet to reduce spam. Learn how your comment data is processed.