Talk:Pianobar

From ArchWiki
Latest comment: 30 January 2016 by Heath in topic Network error

Network error

Greetings Archers, I would like to add a paragraph within troubleshooting to address "Network error: TLS fingerprint mismatch." that I was getting from pianobar. Apparently ~/.config/pianobar/config now needs a line "tls_fingerprint = 13CC51AC0C31CD96C55015C76914360F7AC41A00"

Bob Saska provided the following command, the output of which is the tls fingerprint:

$ openssl s_client -connect tuner.pandora.com:443 < /dev/null 2> /dev/null | openssl x509 -noout -fingerprint | tr -d ':' | cut -d'=' -f2

Request for Guidance
I do not know if this problem is sufficiently widespread to be added to the configuration or infrequent and should be added to the Troubleshooting section.

Proposed Edit to Troubleshooting
If you are receiving the "Network error: TLS fingerprint mismatch" error when running pianobar the following fixes may be useful.
1. obtain the current tls_fingerprint by running the following command:

$ openssl s_client -connect tuner.pandora.com:443 < /dev/null 2> /dev/null | openssl x509 -noout -fingerprint | tr -d ':' | cut -d'=' -f2

2. add this output to ~/.config/pianobar/config:

 ~/.config/pianobar/config 
audio_quality == high
password == password
user == email addres
tls_fingerprint == 13CC51AC0C31CD96C55015C76914360F7AC41A00 

Heath (talk) 13:36, 30 January 2016 (UTC)Reply[reply]