It seems like Pandora has recently changed their station play links to be more “SEO friendly” and no longer include the long numeric station id in the URL.
Older stations that I’ve “saved” on the site have the older style play URLs but all the newer ones I find by browsing do not. For example:
80s Radio:
https://pandora.com/station/186578329288049494
Compare that with something like “Today’s Hits” which is advertised as a station but:
https://pandora.com/genre/todays-hits
They’re calling it a Genre in the URL and don’t provide an ID for it.
Has anyone found a way to grab the ID of a playing Pandora stream on a desktop browser? I’ve poked around with the various Chrome dev tools but haven’t had much luck. Alternatively, is there a better way to do this?
Thanks!
Jeremy
So sorry you are having trouble with this. We’ve been meaning to do a second pass on the Pandora integration. It was our first integration and is really lacking in features at this point.
At the moment on the backend we use pianobar for Pandora integration which uses Pandora’s old API. You can get the list of stations with pianobar by running it from the command line. This will tell you whether or not playing a station like this is even possible with pianobar.
Let us know how this goes. We can probably polish this interface a little bit soon.
I think I have a partial solution now. It appears that adding a new station to my “Collection” on Pandora makes it accessible to me via the more traditional URL so I can get the station ID more easily.
However, it does sound like eventually transitioning to their newer API would be helpful. I wonder if it’d be possible stream other elements as well, such as Playlists and Genres, etc.
Thanks!
Good to hear! We’ll try to come back to the Pandora integration soon.