I recently moved away from the OCR method of reading data from pandora, and moved to a google chrome plugin. This has the downside of requiring chrome to be running, but it allows infinitely more control.
I’ll do a better writeup soon, but following files make up the plugin:
manifest.json
http://snipt.org/MaPj4
background.js
http://snipt.org/MaQf9
pandoraController.js
http://snipt.org/MaOc8