- March 30, 2012
- 13
- 11
- Home Country
- Netherlands
So to get straight to the point: too many things to fix and on top of that having to replace the currently used API with a half-baked web-API which doesn't even support the actual audio stream. I don't have nearly enough spare time to start tackling this, so unless I get really (and I mean really) bored, I won't touch this with a ten foot stick.
Here are some pointers for anyone else giving it a go:
- You need to have RdioSharp.dll referenced (kreeger/RdioSharp)
- You also need Torshify.dll (torshy/torshify) and newtonsoft's JSON (NuGet) referenced.
- I personally would remove all Rdio and GrooveShark routines, calls, methods and references (most of it has already been cleared out of the source)
- To get the source compiled correctly remove all NLog (logger) calls and references from the source (at least that's what was needed on my system)
- The plugin should function when compiled against the libraries of the current Mediaportal release (and after bumping version in the source). Mind you: only play/stop/next/prev, search and default playlist functionality are working properly.
- I recommend SpotifyAPI-NET (JohnnyCrazy/SpotifyAPI-NET) for easy integration of the web-API into VS.
Personal note: I guess it is tempting to make a hybrid plugin as a quick fix: use web-api for playlist and metadata handling, and keep using Torshify for the actual streaming/audio rendering, but since it's not clear for how long the libspotify.dll will keep functioning this would be a dead end in my opinion.
Here are some pointers for anyone else giving it a go:
- You need to have RdioSharp.dll referenced (kreeger/RdioSharp)
- You also need Torshify.dll (torshy/torshify) and newtonsoft's JSON (NuGet) referenced.
- I personally would remove all Rdio and GrooveShark routines, calls, methods and references (most of it has already been cleared out of the source)
- To get the source compiled correctly remove all NLog (logger) calls and references from the source (at least that's what was needed on my system)
- The plugin should function when compiled against the libraries of the current Mediaportal release (and after bumping version in the source). Mind you: only play/stop/next/prev, search and default playlist functionality are working properly.
- I recommend SpotifyAPI-NET (JohnnyCrazy/SpotifyAPI-NET) for easy integration of the web-API into VS.
Personal note: I guess it is tempting to make a hybrid plugin as a quick fix: use web-api for playlist and metadata handling, and keep using Torshify for the actual streaming/audio rendering, but since it's not clear for how long the libspotify.dll will keep functioning this would be a dead end in my opinion.
Last edited: