Fork MediaPortal on GitHub
MediaPortal Windows Media Center

Site navigation


Last Edit

Page last modified 03:55, 19 Jul 2014 by Dadeo
MediaPortal Wiki > MediaPortal 1 > Contribute > Skins > Skin Related Changes > 1.1.0 to 1.2.0 > Music Now Playing Love/Ban Buttons

Music Now Playing Love/Ban Buttons

Was this page helpful?

    Purpose

    • Required:  No
    • Type of Change:  Feature

    The music feature now allows for users to love/ban the current playing track on last.fm.    As part of this two new buttons have been added to the music Now Playing screen.

    Description of Change

    Now when in the music Now Playing screen a user can mark the current track as loved/banned on last.fm (if the LastFMScrobbler plugin is enabled). There are three ways to love/ban tracks (keyboard shortcuts (L/K), context menu or buttons on the now playing screen. Therefore if the buttons are not implemented in a skin users will still be able to perform these actions using one of the other two methods.

     

    Control ID Control Purpose
    30 Button (GUIButtonControl) This button will mark the current track as loved on last.fm
    31 Button (GUIButtonControl) This button will mark the current track as banned on last.fm

    Additional Information and References

    • Mantis Issue: 3175
    • Related xml(s):  MyMusicPlayingNow.xml
    • Window ID:  510
    • Related GUI property/control:  Button (GUIButtonControl)

    XML/Code Samples

    <window>
     <id>510</id>
     <defaultcontrol>33</defaultcontrol>
     <allowoverlay>no</allowoverlay>
     <controls>
     <control>
     <description>Last.fm Love Button</description>
     <type>button</type>
     <id>30</id>
     <posX>100</posX>
     <posY>200</posY>
     <ondown>31</ondown>
     </control>
     <control>
     <description>last.fm Ban Button</description>
     <type>button</type>
     <id>31</id>
     <posX>100</posX>
     <posY>250</posY>
     <onup>30</onup>
     </control>
     </controls>
    </window>



    Running the latest version?

    V1.8.0 - released July 2014
    Releasenews | Download
    Changelog
     | Requirements
    HTPC
    Team-MediaPortal
     
    About
    Contact |  Press
    Partners