pianobar
pianobar copied to clipboard
Relax mode selection results in unknown error.
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.
- Select station info (=)
- Fetch modes (m)
- 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.
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 “→”)?
I only have the one station. I am not subscribed. Here is a screen print showing the Relax option:
Here is the debug log line as requested:
[snip]
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 …
Here is all output: pianobar.log
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 :(
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.