N900 tips & tricks: How to reset your Pianobar (Pandora) username and password
I mentioned that I have a Pandora client loaded up on my Nokia N900 and then received a couple of Tweets from folks that had the same problem I had at first trying to get up and running with pyPianobar. When you first launch pyPianobar you will be prompted for your username and password. I entered what I thought was my Pandora username and password, but all I entered was the first part of my user ID and not the email username associated with my Pandora account. Unfortunately, I then ended up in a crazy loop where the program would try to restart 3 times and then quit so the application was unusable since there did not appear to be a way to reenter my username. I also found the white text on a white text entry field to be quite poor, especially when my N900 entered the first letter as a capital letter (discovered this later while looking at the config file).
I did a bit of research on the Maemo forums and discovered I could enter in X Terminal and edit the config file using Leafpad. I did this, but still experienced the same looping failure in pyPianobar so even entering the proper username and password into the config file itself wasn’t enough to override pyPianobar’s remembering of my correct credentials.
If you make this same mistake that I did then enter the following command into X Terminal (thanks to Fatalsaint for the help here) and you should be prompted again for your username and password:
rm. -f /home/user/.config/pianobar/config
Make sure to enter your Pandora username as the email address user name you have with your account. I recommend you visit the Pandora.com website on your computer and login to verify your username and password first so you get it right the first time.