Jason Gray

Results 424 comments of Jason Gray

I'll hack something together that assumes the playlists don't expire and give it some testing.

@TingPing how do we want to proceed once the song is replayed? Do we want to play the next song in the playlist after the replayed song(which itself could have...

Well bad news. Songs still expire. They must be re-retrieving the urls somehow.

I have no idea how to go about doing that,lol!!! And I'm ashamed to admit I am currently using an old iPhone 5c because I broke my last Android phone...

There's a music.getTrack method that's not documented maybe I can get that to return a song?

Well kinda good news self.pandora.json_call('music.getTrack', {'musicId': d['musicId']}) (where d is the song returned from the playlist method) will get you most of the metadata. But no luck so far on...

It returns for example: ``` python {'albumName': 'Lukas Graham', 'trackToken': 'S5264080', 'artistName': 'Lukas Graham', 'albumArtUrl': 'http://mediaserver-cont-dc6-2-v4v6.pandora.com/images/public/gracenote/albumart/9/6/6/9/800079669_500W_500H.jpg', 'score': '', 'songName': '7 Years', 'musicId': 'S5264080', 'songDetailUrl': 'http://www.pandora.com/lukas-graham/lukas-graham/7-years', 'musicToken': '2b0dc86c994aa1e9425ba2910f7abf8b'} ```

Using this: https://gist.github.com/JasonLG1979/e489d2834ac89b792549c861be63ad5c I have determined that a playlist is only good for about an hour.

The PLAYLIST_VALIDITY_TIME in the pandora module is 3 times that. It should probably be changed to 60 \* 60 instead of 60 \* 60 \* 3.

There's got to be some new api stuff going on. I have 2 Pandora accounts. A Pandora Plus and a free account. I'm not sure when this happened but now...