PromyLOPh / pianobar

Console-based pandora.com player
http://6xq.net/pianobar/
Other
1.74k stars 320 forks source link

Relax mode selection results in unknown error. #742

Closed scoaste closed 6 months ago

scoaste commented 1 year ago

Subject of the issue

Relax mode selection results in unknown error.

Your environment

Steps to reproduce

Tell us how to reproduce this issue.

  1. Select station info (=)
  2. Fetch modes (m)
  3. Select Relax (7)

    Expected behaviour

    Tell us what should happen. Playlist should restart in Relax mode

Actual behaviour

Tell us what happens instead, including a copy of all error messages. (i) Selecting mode "Relax"... Error: Unknown.

PromyLOPh commented 1 year ago

I don’t see the relax option at all. Is it shown for all of your stations? Are you subscribed to premium? Could you compile pianobar without -DNDEBUG, run PIANOBAR_DEBUG=1 ./pianobar and post the last network response (line starting with “→”)?

scoaste commented 1 year ago

I only have the one station. I am not subscribed. Here is a screen print showing the Relax option:

image

Here is the debug log line as requested:

[snip]

PromyLOPh commented 1 year ago

Ah, sorry, I should have been more specific. What you posted is the reply to Receiving new playlist.... I need the reply to Selecting mode …

scoaste commented 1 year ago

Here is all output: pianobar.log

PromyLOPh commented 1 year ago

I’m gonna remove that logfile, because it contains your unredacted login token. Looking at it though, it seems like Pandora advertises this mode as isModeAvailable=true and isPremiumOnly=false, yet when requested to do so, it does not switch to it (i.e., no error response). The same happens to me when trying to use the premium-only “Artist only” mode. So I guess there’s not much we can do here :(

scoaste commented 1 year ago

Thanks for removing the file. I tried to overwrite it but it kept the old version.

I didn't realize it was just a pass-through of "available" options. Thanks for looking into it.