DCOP is your (my) friend

I’m starting to appreciate the abilities of DCOP:

%./amaroktunewatcher > Notification: New Song (Streaming): Tom Wax – Maximal ssl > Notification: New Song (Streaming): Absolum – Push | Album: Sub Science > Notification: New Song (Streaming): Mili Sefic – 04 > Song has not changed. > Song has not changed.

Yeah, so all I’ve done so far is interface amaroK, so I can keep a small list of the last few songs I’ve listened to. It’s amazingly trivial. I have it take the current song and stuff it into a variable. If that variable doesn’t match the last-known song, then update the list, checksum, and ping my backend database here on my website. Practical upshot? I’ve got that tiny little ‘Last song’ blurb on the front page. An exercise in futility? Perhaps. It’s still fun, though!