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.


3 Comments to N900 tips & tricks: How to reset your Pianobar (Pandora) username and password

Jason Harris
January 31, 2010

I can now access Pianobar and Pandora on my N900 thanks to this tip…thanks again Matt!

February 1, 2010

I find it absolutely hysterical that I went through the exact same steps as you. Load the app, enter my username without the email part, watch the app crash, scratch my head for a few minutes, read the python code to find the config file, try editing the config file by hand with vi, watch that not work, delete the config file, re-enter the right credentials when re-running the app and voila :)

February 1, 2010

Same problem, thanks for the tip. Loving my n900. By far the most fun I have ever had with a smartphone.

Nokia N8 Guide

Nokia E73 Mode Guide
Nokia N900 Guide