I recently wrote about the Spotify integration in XBMC. The problem with the current state of the plugin, is that it does not automatically remember account information. This means that you have to enter it each time you start xbmc, which is quite frustrating.
To remedy this, open up your advancedsettings.xml in your userdata directory. If the file doesn’t exist, just create it — it’s not there by default. Then paste the following information into the file. Note that if you have other settings there as well, just accommodate the xml to fit.
<advancedsettings> <spotify> <enable>true</enable> <username>username</username> <password>password</password> <cachefolder>a temporary directory</cachefolder> <maxsearchartists>30</maxsearchartists> <maxsearchalbums>30</maxsearchalbums> <maxsearchtracks>150</maxsearchtracks> </spotify> </advancedsettings>
Just remember to set the username, password and a directory for the music cache and you are good to go!