pianobar icon indicating copy to clipboard operation
pianobar copied to clipboard

Relax mode selection results in unknown error.

Open scoaste opened this issue 1 year ago • 6 comments

Subject of the issue

Relax mode selection results in unknown error.

Your environment

  • version of pianobar 2020.11.28
  • your Linux distribution and release version Xubuntu 22.04.2 LTS
  • ffmpeg/libav version and the flags it was compiled with (if you compiled yourself) n/a
  • your config file user = ************ password = *********** autostart_station = ************ audio_quality = high buffer_seconds = 10 ca_bundle = /etc/ssl/certs/ca-certificates.crt

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.

scoaste avatar Jul 19 '23 18:07 scoaste

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 “→”)?

PromyLOPh avatar Jul 20 '23 05:07 PromyLOPh

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]

scoaste avatar Jul 20 '23 16:07 scoaste

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 …

PromyLOPh avatar Jul 23 '23 10:07 PromyLOPh

Here is all output: pianobar.log

scoaste avatar Jul 23 '23 17:07 scoaste

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 :(

PromyLOPh avatar Jul 24 '23 08:07 PromyLOPh

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.

scoaste avatar Jul 24 '23 16:07 scoaste