-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Support for replay song #601
Comments
You’re talking about
https://help.pandora.com/customer/en/portal/articles/2590339-replays,
right?
There’s a new method onDemand.getReplayTrack, which probably does what
we’re looking for. However calling it fails with error code 9 (parameter
missing) and I can’t figure out which one is missing. If someone figures
out how to call that method I’ll have a look.
Simply reusing the known audio urls might be too fragile. They expire
after some time.
|
https://www.pandora.com/api/v1/ondemand/getReplayTrack is only available if you've watched an ad on the desktop version and says "Replay not available" otherwise ( my experience, also https://help.pandora.com/customer/en/portal/articles/2590339-replays ). Headers: Host: www.pandora.com https://www.pandora.com/api/v1/ad/useReplayReward useReplayReward and getReplayTrack are also used if you watch an ad and then switch on an adblocker of some type ( uBlock Origin or the like ). Let me know if you need me to get you anything else. |
Note that pianobar is using the mobile API at
tuner.pandora.com/services/json/ which is slightly different. I need
request url, request data and response data.
|
Hi folks, just found this while utilizing the windows binaries (https://github.com/thedmd/pianobar-windows-binaries) - if you pause the track with 0 seconds remaining, resuming will cause it to play from the beginning. I tested this a few times and got a song to play back 3 times. It's a bit of a hack but that could be reproduced in a feature pretty easily if the user indicates they wish to loop the current track. |
That’s a bug in the Windows port. It does not work here.
|
is there any way to access the pianobar cache to replay? |
There is no song cache.
|
Ok, it just streams the current song URL? Can the current song URL be posted to patiobar or a text file? Similar to the current song text file that gets overwritten? |
The file is streamed and its URL is not available to eventcmd scripts
for obvious reasons.
|
Hey, if you want to keep it hidden, your call 100%; but here's some reasons it's NOT obvious to me to keep it hidden.
example 1 - observe song URL straight from pandora.com |
Related to this, it would be really nice to have an option not just to replay the current song, but to choose a previous song to replay. |
Everthing that has been said so far is still valid: 1) URLs expire, 2) there is no cache and 3) it’s not known how to use the replay API calls. |
Makes sense, thanks for clarifying. |
Pandora Plus includes unlimited song skips and now support replaying the current song.
pianobar should include support for this feature.
The text was updated successfully, but these errors were encountered: