MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » Community Skins and Plugins » MediaPortal Plugins


Reply
 
LinkBack (2) Thread Tools Display Modes
Old 2009-11-30, 11:43   #21 (permalink)
Portal Member
 
Join Date: Aug 2007
Age: 28
Posts: 427
Thanks: 16
Thanked 113 Times in 41 Posts

Country:

My System

Default

Quote:
Originally Posted by cul8er View Post
Hi,

Thank you for a great plugin. This is really nice! Can you please consider updating the following MP tags when you start/stop a track in the plugin;
#Play.Current.Artist
#Play.Current.Album
#Play.Current.Title
#Play.Current.Genre
#duration
#currentplaytime

This makes the information available in all areas of MP (the Now Playing Overlay most skins have). It would also make it possible for me to in the x-factor skin to show fanart (backdrops) matching the current played artist.

best regards
cul8er
Yes, I will do that, it will available in the next release
seco is online now   Reply With Quote
2 Users Thank You:
Old 2009-11-30, 13:25   #22 (permalink)
Community Skin Designer
 
cul8er's Avatar
 
Join Date: Aug 2006
Posts: 1,297
Thanks: 420
Thanked 1,095 Times in 410 Posts

Country:


Default

Hi,

Thank you. By the way, do you have a timeframe for when next release will be available? Is it days or weeks. The reason for my question is that I'm planning for next version of the x-factor skin and would like to know if to wait for your version or not.

best regards
cul8er
__________________
Quote:
"A positive attitude may not solve all your problems, but it will annoy enough people to make it worth the effort." (Herm Albright)
X-Factor, a fanart oriented skin for MediaPortal.
Fanart Handler, a fanart scraper/presenter plugin for MediaPortal.
MPGrooveshark, a plugin for the online music site Grooveshark for MediaPortal.
2Level, a brand new skin in the making for MediaPortal.
cul8er is offline   Reply With Quote
Old 2009-11-30, 17:23   #23 (permalink)
Portal Member
 
Join Date: Aug 2007
Age: 28
Posts: 427
Thanks: 16
Thanked 113 Times in 41 Posts

Country:

My System

Default

Quote:
Originally Posted by cul8er View Post
Hi,

Thank you. By the way, do you have a timeframe for when next release will be available? Is it days or weeks. The reason for my question is that I'm planning for next version of the x-factor skin and would like to know if to wait for your version or not.

best regards
cul8er
I'll hope to finish 0.2 by the end of this week. However, what you requested requires me to implement IPlayer interface and act as a real player to MP. This is a good approach so the common.overlays.xml in skin files doesn't need to be touched and there's no need for separate skin stuff for Spotifier. The implementation requires a little bit polishing, but I already created a working proof-of-concept solution.
seco is online now   Reply With Quote
2 Users Thank You:
Old 2009-12-02, 09:26   #24 (permalink)
Portal Member
 
hulkhaugen's Avatar
 
Join Date: Nov 2008
Location: Arendal
Age: 25
Posts: 362
Thanks: 56
Thanked 21 Times in 15 Posts

Country:

My System

Default

Hello! Haven't tried your plugin yet (not at home for the moment), but i wanted to share this in case you can learn anything from it. It's a unofficial Windows mobile application, dunno if it's worth anything to us...

[APP] mySpot - a Spotify client for Windows Mobile [v0.50b 29-Nov-2009] - xda-developers
hulkhaugen is offline   Reply With Quote
These User Thank You:
Old 2009-12-02, 18:32   #25 (permalink)
Portal Member
 
Join Date: Jan 2007
Posts: 26
Thanks: 2
Thanked 0 Times in 0 Posts


Default

A couple of more plugins that could give some ideas.
Lyrics - Listdj spotify lyrics
Volume & control - Lars Werner SpotiAmp

And a bunch more here - Plugins for Spotify | Spotifyripping.com
qsec is offline   Reply With Quote
Old 2009-12-03, 15:31   #26 (permalink)
Portal Member
 
bushbrother's Avatar
 
Join Date: Feb 2008
Location: UK
Posts: 136
Thanks: 32
Thanked 5 Times in 5 Posts

Country:

My System

Default

This looks amazing and what everyone has been waiting for, I will be trying tonight

So am I right in saying that at the moment it cannot pull the playlists I have stored on the spotify server, but you will be adding this later? So currently I would need to re-create these playlists manually?

Keep up the great work!
bushbrother is offline   Reply With Quote
Old 2009-12-04, 07:25   #27 (permalink)
Portal Member
 
Join Date: Aug 2007
Age: 28
Posts: 427
Thanks: 16
Thanked 113 Times in 41 Posts

Country:

My System

Default

cul8er:

I'm not sure that I'm able to get the best user experience by implementing the IPlayer interface and act as a real player. It has some problems that I'm not able to overcome, because some stuff is executed in Mediaportal core code and there's nothing I can do about it (the biggest problem is that we shouldn't stop the playback when the commercial is on, but MP code removes now playing information anyhow when stop is pressed even that my player is still playing..).

Is it ok in the skinning point of view that I implement similar labels like

#Spotifier.Current.Artist
#Spotifier.Current.Album
#Spotifier.Current.Title
#Spotifier.Current.Genre
#Spotifier.duration
#Spotifier.currentplaytime

bushbrother:

Quote:
Originally Posted by bushbrother View Post
This looks amazing and what everyone has been waiting for, I will be trying tonight

So am I right in saying that at the moment it cannot pull the playlists I have stored on the spotify server, but you will be adding this later? So currently I would need to re-create these playlists manually?

Keep up the great work!
Unfortunately, based on what I know, there is no way to get your saved playlists from Spotify, so such feature probably cannot be implemented.

Last edited by seco; 2009-12-04 at 07:29.. Reason: Automerged Doublepost
seco is online now   Reply With Quote
Old 2009-12-04, 10:25   #28 (permalink)
Portal Member
 
bushbrother's Avatar
 
Join Date: Feb 2008
Location: UK
Posts: 136
Thanks: 32
Thanked 5 Times in 5 Posts

Country:

My System

Default

Thanks for the answer, is this because they have not released the API for this functionality? I hope they will provide an interface for this in the future.

I tested last night and it works well, even though I am using StreamedMP as my skin (I just copied the .xml in that folder). I only noted one real issue, and I think it is skin related anyway, for me the track lengths are all wrong and show tracks being like 24 hours 14 minutes ...

Great job, I will look forward to testing 0.2.



I just saw this C# wrapper for the spotify API ... would this be any use? I see it has the ability to look at playlists ... libspotify-sharp

Last edited by bushbrother; 2009-12-04 at 12:33.. Reason: Automerged Doublepost
bushbrother is offline   Reply With Quote
Old 2009-12-04, 14:29   #29 (permalink)
Community Skin Designer
 
cul8er's Avatar
 
Join Date: Aug 2006
Posts: 1,297
Thanks: 420
Thanked 1,095 Times in 410 Posts

Country:


Default

Hi seco,

Thank for your feedback. I think you can basically set these properties without using the iPlayer like;
GUIPropertyManager.SetProperty(#Play.Current.Artist, "Madonna");

or is this not possible?

best regards
cul8er
__________________
Quote:
"A positive attitude may not solve all your problems, but it will annoy enough people to make it worth the effort." (Herm Albright)
X-Factor, a fanart oriented skin for MediaPortal.
Fanart Handler, a fanart scraper/presenter plugin for MediaPortal.
MPGrooveshark, a plugin for the online music site Grooveshark for MediaPortal.
2Level, a brand new skin in the making for MediaPortal.
cul8er is offline   Reply With Quote
Old 2009-12-04, 14:44   #30 (permalink)
Portal Member
 
Join Date: Aug 2007
Age: 28
Posts: 427
Thanks: 16
Thanked 113 Times in 41 Posts

Country:

My System

Default

bushbrother:

libspotify-sharp is no use because it works only in Linux and uses the C API library which Spotify released a while ago.

cul8er:

Yes, but the those properties are also managed internally in Mediaportal core code when something is playing through the g_Player (the instance which holds the player for any media). This means that when watching TV and going to Spotifier, both plugins would try to update the now playing information which could lead into interesting scenarios. Of course, we could stop any playback in the g_Player when entering Spotifier, but that might be a bit confusing too..
seco is online now   Reply With Quote
Reply

Bookmarks

Tags
music, search, spotifier, spotify

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://forum.team-mediaportal.com/mediaportal-plugins-47/spotifier-beta-1-0-search-play-spotify-music-73821/
Posted By For Type Date
"Måste ha" programvara - Minhembio forum This thread Refback 2010-01-23 18:34
Spotify Resources | Pansentient League - a Spotify Blog This thread Refback 2010-01-18 03:00

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plugin for Spotify Frippe MediaPortal Plugins 137 2010-08-05 23:42
[SOLVED] Show/Play Full music list, Queue and search options ? wormhole2k Listen Music 2 2009-09-09 15:16
[PLAY ALL]: Understanding Music Management & Music Playing in MP Junoman Improvement Suggestions 9 2007-09-09 05:52


All times are GMT +1. The time now is 11:39.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden