Giter Club home page Giter Club logo

spotyxbmc's Introduction

spotyxbmc - Spotify in XBMC

BUILD SPOTYXBMC YOURSELF
--------------------------------
1. Download libspotify from http://developer.spotify.com/en/libspotify/overview/

2. Install libspotify (Follow instructions !)

3. Get the full xbmc source from svn

4. Download the spotyxbmc.diff and source files from from http://github.com/Kitof/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 "-lspotify" 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 

FAQS
--------------------------------

- Q : "I've got "/usr/include/libspotify/api.h:52: error: duplicate ‘unsigned’" when i tried to compile

- A : Use the api.h from the repository

CHANGELOG
--------------------------------

fork from Kitof 001
***********************
- Compatible with libspotify 0.4
- Compatible with latest xbmc revision

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

spotyxbmc's People

Contributors

akezeke avatar jwallden avatar

Watchers

Kitof avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.