universal-np icon indicating copy to clipboard operation
universal-np copied to clipboard

Pandora Desktop Support

Open buffet-time opened this issue 5 years ago • 1 comments

Just figured out that Pandora has a desktop application now

https://www.pandora.com/desktop. Any chance of adding support for this?

buffet-time avatar May 12 '20 19:05 buffet-time

I just looked into it briefly. The short answer is "it might be possible". As far as I can tell, I can't use any simple methods to get the now playing track and artist from the desktop application.

But, and this is a big but, there might be an undocumented local webserver running, or some other undocumented local API, that would allow universal-np to get that information.

If it was an undocumented webserver, the way to find it would be to sniff packets with WireShark. If its some undocumented API built into a binary, you'd probably have to disassemble it and check.

There are also other ways to potentially accomplish getting information from any running processes, like reading the raw memory (could probably be done by using something like https://github.com/Rob--/memoryjs).

pendo324 avatar May 13 '20 04:05 pendo324