Skip to content
forked from akezeke/spotyxbmc

This project integrates Spotify into XBMC using the libspotify and openspotify API:s.

Notifications You must be signed in to change notification settings

joymyr/spotyxbmc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

spotyxbmc - Spotify in XBMC

INSTALL COMPILED SPOTYXBMC IN WINDOWS
--------------------------------
1. Download http://cloud.github.com/downloads/akezeke/spotyxbmc/spotyxbmc_alpha015.exe

2. Run spotyxbmc_alpha015.exe

3. Enable the music library

--------------------------------

INSTALL COMPILED SPOTYXBMC IN UBUNTU32
--------------------------------
You are recommend to use Ubuntu 9.10.
Pulse-audio should be disabled and it is recommended that you update your alsa-drivers to at least 1.0.22.
Follow this guide:
http://monespaceperso.org/blog-en/2009/12/17/upgrade-alsa-1-0-22-on-ubuntu-karmic-koala-9-10/

1. Open a terminal

2. # wget http://cloud.github.com/downloads/akezeke/spotyxbmc/spotyxbmc_alpha014_ubuntu32.tar.gz

3. # tar -xvf spotyxbmc_alpha014_ubuntu32.tar.gz

4. # cd spotyxbmc_alpha014_ubuntu32

5. # sudo chmod +x ./install.sh

6. # sudo ./install.sh

7. # xbmc

8. Scan music to your music library

9. Enable library

--------------------------------

INSTALL COMPILED SPOTYXBMC IN UBUNTU64
--------------------------------
You are recommend to use Ubuntu 9.10.
Pulse-audio should be disabled and it is recommended that you update your alsa-drivers to at least 1.0.22.
Follow this guide:
http://monespaceperso.org/blog-en/2009/12/17/upgrade-alsa-1-0-22-on-ubuntu-karmic-koala-9-10/

1. Open a terminal

2. # wget http://cloud.github.com/downloads/akezeke/spotyxbmc/spotyxbmc_alpha014_ubuntu64.tar.gz

3. # tar -xvf spotyxbmc_alpha014_ubuntu64.tar.gz

4. # cd spotyxbmc_alpha014_ubuntu64

5. # sudo chmod +x ./install.sh

6. # sudo ./install.sh

7. # xbmc

8. Scan music to your music library

9. Enable library

--------------------------------

BUILD SPOTYXBMC YOURSELF
--------------------------------
Download openspotify.

1. git clone git://github.com/noahwilliamsson/openspotify.git

2. Follow instructions!

3. Get the full xbmc source from svn

4. Download the spotyxbmc.diff and source files from from http://github.com/akezeke/spotyxbmc.

5. Replace the files in your downloaded xbmc source with the spotyxbmc ones.

6. Apply the patch with patch -p0 -i ./spotyxbmc.diff

7. Follow the instructions located in xbmc/README.linux.

8. # ./bootstrap

9. # ./configure --disable-pulse

10. After ./configure manually add "-lopenspotify" to LIBS in Makefile.

11. Get your own spotify API key from http://developer.spotify.com/en/libspotify/application-key/
   add it to the beggining of ./xbmc/xbmc/spotinterface.cpp.

12. # make

13. # sudo make install

14. Scan music to your music library

15. Enable library

--------------------------------

TINKER AROUND (OPTIONAL)
--------------------------------
No need for a advancedsettings, spotify is now enabled by default but if you dont want to enter your
spotify username and password on every XBMC session this is the only way to do it.

Ubuntu: Create advancedsettings.xml in ~/.xbmc/userdata/
Windows: Create advancedsettings.xml in whereever yoy did choose to keep your userdata, it might be in
INSTALLDIR/userdata or USER/appdata/roaming/XBMC/userdata/

Possible settings for the advancedsettings.xml is in full:

<advancedsettings>
	<spotify>
		<enable>true</enable>
		<username>USERNAME</username>
		<password>SECRETPASSWORD</password>
		<cachefolder>/home/YOURUSER/cache/spotify/</cachefolder>
		<maxsearchartists>30</maxsearchartists>
		<maxsearchalbums>30</maxsearchalbums>
		<maxsearchtracks>150</maxsearchtracks>
	</spotify>
</advancedsettings>

Run XBMC the usual way, and hopefully everything works as expected.
NOTE that you have to activate library mode to be able to access the Spotify content.
--------------------------------

KNOWN ISSUES
--------------------------------
- Changing of track to fast might cause a crash
- Albums with multiple discs will only appear as one 


CHANGELOG
--------------------------------
alpha015
***********************
- Music library can be enabled without adding any songs to it
- Fixed search problems


alpha014
***********************
- fixed bug with unplayable albums after xbmc restart


alpha013
***********************
- Fixed bug when two or more albums has the same coverart it would only show on one of them
- Precompiled ubuntu32 binary is now based on XBMC 9.11 stable


alpha012
***********************
- Fixes

alpha011
***********************
- Added similar artists!
- other stuff

alpha010
***********************
- Moved to openspotify due to license stuff
- Moved almost all menu logic to the spotifyDirectory, some things are not working at all yet
- Fixed tracks rating
- The ability to determine if an album or track is available in your country is currently not implemented, therefor you will get a lot of albums that are not playable when you search and browse
- A lot of new problems, I know
- Crashes and slowdowns 
- We have switched to libopenspotify but you can however still use libspotify if you dare. Just download it, install it and set the lib dependencies to libspotify!

alpha009
***********************
- Rewrite of large portions of the code, better looking code, some solved issues, some new ones

alpha008
***********************
- Recompiled with VDPAU enabled
- Some smaller fixes

alpha007
***********************
- Fixed problem with buffer

alpha006
***********************
- Player is now waiting for buffer to fill up before it starts to play, probably got rid of the clicking sounds
- changed menu logic
- added disconnect and reconnect as different user menu items

alpha005
***********************
- Added .jpg to thumbs again, some skins don't like images without extensions!

***********************

CONTACT
--------------------------------
http://github.com/akezeke/spotyxbmc 
http://spotyxbmc.tumblr.com/
[email protected]

/David

About

This project integrates Spotify into XBMC using the libspotify and openspotify API:s.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published