How to read what is playing on appletv via ssh?

Hi All,

I want to write a script that connects to the ATV2 via SSH and looks up what is now playing. Can anyone offer tips as to where on the device I can find this info?

Cheers

Jason

Found my answer: http://apple-tv.local/npx