?

Log in

No account? Create an account
entries friends calendar profile It's Me Previous Previous Next Next
The Autobiography of Russell
Life from a different perspective
zimzat
zimzat
Music Detection for Pandora in LogJam / Linux
Some time back I made a script to work with LogJam (my LiveJournal client in Linux) to fill in the current music. Well, it only worked with Amarok via DCOP and had no way of working with Pandora. heh

Well, I finally got tired of that and started researching how to get a list of window captions / titles in KDE / Qt / X11. The sad fact is I couldn't find anything that let me do it. I tried under several dozen search words and still just a lot of flak (I even came across one mail list response asking the author "Why would you want that?" .... shows how much he knew). Somehow I stumbled upon wmctrl that did exactly what I was looking for. After getting it installed I was finally able to expand the script to work with Pandora as well.

It feels nice to finally have that over with after three plus hours of frustration not finding what I was looking for.

Current Mood: accomplished accomplished
Current Music: "Pretender" by Madonna

Leave a comment