home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Plugin for Spotify
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="craigbeat" data-source="post: 528379" data-attributes="member: 50797"><p>I started on a plugin for spotify last night that uses the newly released Metadata API for spotify. It's going to be very basic to start with, and will have the following sort of structure:</p><p>Search for and store artists that you like (at the moment I'm passing a list of pre-defined artists).</p><p>Whenever you go into an artist's details, it will get their most recent albums - I want to actually show all the albums for an artist without having to 'drill down' but spotify is limited to 10 queries per second from one IP address. I might change this so that it will load the cached albums, but update on a one-by-one basis - thoughts on this would be helpful.</p><p>Once you go into an album, another query is sent to spotify to return the track listing - again, this will be stored in a database.</p><p>You can then add tracks to a queue, and play them.</p><p></p><p>Please note: this whole method requires spotify to be running in the background, so it's not an ideal solution. The other problem is that the API does not return album covers yet, so I need a different solution.</p><p></p><p>Status: I only started it last night, but have got it to list albums from a pre-defined artist list within MediaPortal - a bit rubbish I know! Over the weekend, I'm going to try and get some time to do track listing and playing (no queue at this point). I'll take it from there!</p><p></p><p>Any thoughts or suggestions would be appreciated!</p></blockquote><p></p>
[QUOTE="craigbeat, post: 528379, member: 50797"] I started on a plugin for spotify last night that uses the newly released Metadata API for spotify. It's going to be very basic to start with, and will have the following sort of structure: Search for and store artists that you like (at the moment I'm passing a list of pre-defined artists). Whenever you go into an artist's details, it will get their most recent albums - I want to actually show all the albums for an artist without having to 'drill down' but spotify is limited to 10 queries per second from one IP address. I might change this so that it will load the cached albums, but update on a one-by-one basis - thoughts on this would be helpful. Once you go into an album, another query is sent to spotify to return the track listing - again, this will be stored in a database. You can then add tracks to a queue, and play them. Please note: this whole method requires spotify to be running in the background, so it's not an ideal solution. The other problem is that the API does not return album covers yet, so I need a different solution. Status: I only started it last night, but have got it to list albums from a pre-defined artist list within MediaPortal - a bit rubbish I know! Over the weekend, I'm going to try and get some time to do track listing and playing (no queue at this point). I'll take it from there! Any thoughts or suggestions would be appreciated! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Plugin for Spotify
Contact us
RSS
Top
Bottom