How to add "Slideshow" button to the "My Music" window (1 Viewer)

rivera

Retired Team Member
  • Premium Supporter
  • December 1, 2008
    237
    21
    Home Country
    Russian Federation Russian Federation
    I am customizing an XFactor skin and would like to add a "Slideshow" button to "MyMusic" window.
    But I do not know how to associate a new button with an appropriate action.
    Can anybody help me?
     

    rivera

    Retired Team Member
  • Premium Supporter
  • December 1, 2008
    237
    21
    Home Country
    Russian Federation Russian Federation
    Logic is basically the same, just get the ID from the slideshow.xml file and use it for hyperlink #
    The onright/onleft etc. refer to the ID of the button that you should jump to when press the arrow keys
    Well, I know the required hyperlink of Slideshow window (id=2007).
    I already tried something like this:
    Code:
    	<control>
    		<type>button</type>
    		<id>...</id>
    		<label>Slideshow</label>
    		<posX>...</posX>
    		<posY>...</posY>
    		<width>...</width>
    		<height>...</height>
    		[b]<hyperlink>2007</hyperlink>[/b]
    	<control>
    After pressing this button I can see an empty black screen - I suspect that it is the required one with id=2007.
    But I have no started slideshow there.
    I think that if one more tag can be added - it will cause an event "Start slideshow":
    Code:
    	<control>
    		<type>button</type>
    		<id>...</id>
    		<label>Slideshow</label>
    		[b]<action>XXXXXXX</action>[/b]
    		....
    		[b]<hyperlink>2007</hyperlink>[/b]
    	<control>
    But I do not know the required ActionID...

    In the "MyPics.xml" we have something like this:
    Code:
    	<control>
    		<description>SlideShow button</description>
    		<id>6</id>
    		<type>button</type>
    		<label>108</label>
    		<font>font12</font>
    		<posX>460</posX>
    		<posY>1</posY>
    		<height>10</height>
    		<width>200</width>
    		<textYOff>0</textYOff>
    		<onleft>8</onleft>
    		<onright>7</onright>
    		<onup>50</onup>
    		<ondown>50</ondown>
    		<textureFocus>-</textureFocus>
    		<textureNoFocus>-</textureNoFocus>
    	</control>
    Here there is no <action> & <hyperlink> tags.
    I think that the "MyPictures" plugin using "<id>6</id>" to find out that the requested action is "Start slideshow".
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,743
    1,754
    New Zealand
    Home Country
    New Zealand New Zealand
    yea you need to action start slideshow within my pictures,
    could be implemented using a 2 or 3 step macro, but unsure if it is possible to do it eliquently
     

    rivera

    Retired Team Member
  • Premium Supporter
  • December 1, 2008
    237
    21
    Home Country
    Russian Federation Russian Federation
    Of course I can simply make like this:
    Code:
    	<control>
    		<type>button</type>
    		<id>...</id>
    		[b]<label>Switch to MyPictures</label>[/b]
    		....
    		[b]<hyperlink>2</hyperlink>[/b]		<!-- It's a link to "MyPictures" window-->
    	<control>
    and make the "Slideshow" button in the "MyPictures" window as a default.
    In this case I will need TWO steps to start a slideshow from "MyMusic":
    1. Press the "Switch to MyPictures" button
    2. Press the "Slideshow" button.
    Yes, it is quite not elegant :(
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,743
    1,754
    New Zealand
    Home Country
    New Zealand New Zealand
    remote macro that does the above with 1x button press?

    In the mean time you can put a saved playlist in the picture directory and it will start automatically when you start the slideshow. Just name it folder.m3u.
    The setting in MP Configuration, Music settings will determine if the playlist is shuffled at startup.
    ...

    another idea

    use a fullscreen music visualization that displays slideshow images from your computer.
    http://www.microsoft.com/windows/windowsmedia/player/visualizations.aspx
    use either Picture Viz I or Picture Viz II

    then when your music is playing just load up the visualization for the slideshow
     

    rivera

    Retired Team Member
  • Premium Supporter
  • December 1, 2008
    237
    21
    Home Country
    Russian Federation Russian Federation
    So, the macro must include:
    - call of the "MyPictures" window - and I have never heard about hotkey for this screen
    - emulating pressing the ENTER button
     

    rivera

    Retired Team Member
  • Premium Supporter
  • December 1, 2008
    237
    21
    Home Country
    Russian Federation Russian Federation
    use a fullscreen music visualization that displays slideshow images from your computer.
    You are right in common, but these particular plugins I tried last year and was unhappy because of bugs...
    I will try to find out another viz plugins...
    From other side - it will bond me: I will not be able to select a different nice plugin (I prefer MilkDrop Winamp plugin)...
     

    Users who are viewing this thread

    Similar threads

    It is present, but not with that name. It is called Scheduler, viz: Interesting. I had never noticed that when the "command" is "ACTION", the "cmdproperty" is the actual window id, but it makes sense that it is. Try this for yourself. First backup your working profile for the remote, then in the "Mapping" panel make a change to...
    It is present, but not with that name. It is called Scheduler, viz: Interesting. I had never noticed that when the "command" is...
    I would like to be able to go directly to the Scheduled recordings window without having to first go to the home menu. I saw this...
    Replies
    1
    Views
    1K
    How do you add a new selection to the TV Guide Rows option in the BasicHome Editor in DWHD? Id like to add an option for 8 Rows. Which xmls should I be looking at to change.? Thanks!
    How do you add a new selection to the TV Guide Rows option in the BasicHome Editor in DWHD? Id like to add an option for 8 Rows...
    How do you add a new selection to the TV Guide Rows option in the BasicHome Editor in DWHD? Id like to add an option for 8 Rows...
    Replies
    0
    Views
    1K
    I'm running 2.5 with the WMC skin. I have .mp4 files, along with the related .srt files in the same folder. I can watch the movies just fine. In past versions of MP, like 2.4x, I could press the More Info button on my remote twice, and on the second press, an option for showing/choosing the subtitles was listed. I'd select the...
    I'm running 2.5 with the WMC skin. I have .mp4 files, along with the related .srt files in the same folder. I can watch the...
    I'm running 2.5 with the WMC skin. I have .mp4 files, along with the related .srt files in the same folder. I can watch the...
    Replies
    0
    Views
    3K
    Hello, Name need to be the same as computer name. Also, logs could be useful.
    Hello, Name need to be the same as computer name. Also, logs could be useful.
    It is a bit of a long story! I successfully installed MP2 on my old PC as client/server with client on my laptop to confirm my...
    Replies
    2
    Views
    874
    Thanks CyberSimian, will give it a try!
    Thanks CyberSimian, will give it a try!
    I have recently installed mediaportal 1 and all is working fine, however I would like the startup page to be the TV guide. I guess...
    Replies
    2
    Views
    2K
    Top Bottom