nega0 / pianobarfly

pandora2[mp3|m4a]
https://github.com/nega0/pianobarfly
Other
62 stars 31 forks source link

mp3 decoding error: lost synchronization #71

Open argentum2f opened 2 years ago

argentum2f commented 2 years ago

Was working a while ago (haven't used it for a few months, so not sure when exactly it stopped working. I just tried recompiling and running it again and same problem. It just keeps giving this error:

/!\ mp3 decoding error: lost synchronization

e.g.

Welcome to pianobarfly (2013.09.15-dev)! Press ? for a list of commands.
(i) Login... Ok.
(i) Get stations... Ok.
[...]
[?] Select station: 4
|>  Station [...redacted]
(i) Receiving new playlist... Ok.
|>  "[...redacted]
(i) The track and disc numbers were not included in the album explorer page (1:No match).
(i) The track and disc numbers will not be added to the tag.
/!\ mp3 decoding error: lost synchronization
(i) Deleting partially recorded file ([...redacted]).
|>  [...redacted]
/!\ mp3 decoding error: lost synchronization
(i) Deleting partially recorded file [...redacted]
|>  [...redacted]
/!\ mp3 decoding error: lost synchronization
...

and so on.

Just tried pianobar (2017.08.30) and it works fine. Ubuntu 18.04

argentum2f commented 2 years ago

got it working trying some different settings:

rpc_host = tuner.pandora.com
partner_user = android
partner_password = AC7IBG09A3DTSYM4R41UJWL07VLN8JI7
device = android-generic
encrypt_password = 6#26FRL$ZWD
decrypt_password = R=U!LH$O2B#

(I had been using rpc_host = internal-tuner.pandora.com and associated settings, not sure where I had copied those settings from). I copied these from this thread: https://github.com/PromyLOPh/pianobar/issues/591

Edit: Nevermind, now it's just using the lower quality bitrate codec. I really prefer the higher quality as a subscriber. Seems to just be a problem with the mp3 decoder?