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
    2K
    Thanks for the update on this. I should have searched before posting, always assume it is something I have done wrong.
    Thanks for the update on this. I should have searched before posting, always assume it is something I have done wrong.
    Hi All, I have a strange one. I recently added 2 new TV series to my setup and they are not being correctly identified in the...
    Replies
    2
    Views
    532
    I don't know about MP2 but as you said you tried MP1 too, how is the MP music config ? MP(1) will only use LAV if you select "Internal DirectShow player" as music output, but then you lose gapless playback. If you you don't have multichannel music you can choose WASAPI as the output and set the number of speakers to stereo. I have...
    I don't know about MP2 but as you said you tried MP1 too, how is the MP music config ? MP(1) will only use LAV if you select...
    Not sure if this a a bug/config/settings problem. I am running a media portal 2.5 server with 2.41 client but it seems I get the...
    Replies
    1
    Views
    981
    Thankyou High_Five, that worked perfectly, I now remember doing that 10 years ago, thanks for jogging my old memory. Cheers Tony
    Thankyou High_Five, that worked perfectly, I now remember doing that 10 years ago, thanks for jogging my old memory. Cheers Tony
    Hi everyone, I have been using it For 16 years now (from V1.1.1) and it has worked flawlessly. I only use TV Series and Moving...
    Replies
    2
    Views
    633
    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
    2K
    Top Bottom