Spotifier Beta 1.0 - search and play Spotify music (1 Viewer)

seco

Retired Team Member
  • Premium Supporter
  • August 7, 2007
    1,575
    1,239
    Home Country
    Finland Finland
    • Thread starter
    • Moderator
    • #21
    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 :)
     

    cul8er

    Retired Team Member
  • Premium Supporter
  • August 31, 2006
    2,159
    2,679
    Home Country
    Sweden Sweden
    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
     

    seco

    Retired Team Member
  • Premium Supporter
  • August 7, 2007
    1,575
    1,239
    Home Country
    Finland Finland
    • Thread starter
    • Moderator
    • #23
    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.
     

    bushbrother

    Portal Pro
    February 14, 2008
    192
    15
    UK
    Home Country
    United Kingdom United Kingdom
    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!
    :D
     

    seco

    Retired Team Member
  • Premium Supporter
  • August 7, 2007
    1,575
    1,239
    Home Country
    Finland Finland
    • Thread starter
    • Moderator
    • #27
    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:

    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!
    :D

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

    bushbrother

    Portal Pro
    February 14, 2008
    192
    15
    UK
    Home Country
    United Kingdom United Kingdom
    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.

    :D

    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
     

    cul8er

    Retired Team Member
  • Premium Supporter
  • August 31, 2006
    2,159
    2,679
    Home Country
    Sweden Sweden
    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
     

    seco

    Retired Team Member
  • Premium Supporter
  • August 7, 2007
    1,575
    1,239
    Home Country
    Finland Finland
    • Thread starter
    • Moderator
    • #30
    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..
     

    Users who are viewing this thread

    Top Bottom