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,746
    1,751
    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,746
    1,751
    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

    Hello, I would like to use a media server to display various learning categories. I prefer not to use software like Kodi, as it requires extensive metadata scraping that I don't need. Is it possible to instantly access the video categories when landing on the page? I would like to display a single media page with the following...
    Hello, I would like to use a media server to display various learning categories. I prefer not to use software like Kodi, as it...
    Hello, I would like to use a media server to display various learning categories. I prefer not to use software like Kodi, as it...
    Replies
    0
    Views
    321
    Ran into this problem following an otherwise sucessful upgrade from MP 1.34 x64 to MP 1.35 x64 the CEC Remote plugin which I use just to control volume and standby, will no longer put my devices (TV & AVR) to sleep when the HTPC is put in standby. Also when I wake up the HTPC MP closes or crashes (not sure which) as per the example in...
    Ran into this problem following an otherwise sucessful upgrade from MP 1.34 x64 to MP 1.35 x64 the CEC Remote plugin which I use...
    Ran into this problem following an otherwise sucessful upgrade from MP 1.34 x64 to MP 1.35 x64 the CEC Remote plugin which I use...
    Replies
    0
    Views
    453
    Please check the wiki, which explains how to prepare and use MP2. If files are stored as mp4, mkv, avi, ... does not really matter.
    Please check the wiki, which explains how to prepare and use MP2. If files are stored as mp4, mkv, avi, ... does not really matter.
    I am running MP2 on a computer running Windows 10 Pro. When I start MP2 I see a screen displaying square images to the left ...
    Replies
    1
    Views
    606
    It's getting weirder..... If I remove all the IP cards in the TVServer setup and then add them back I can scan the M3u and tune the stations but if I rescan it on the same card it just keeps updating the 1 channel. My brain is melting.........
    It's getting weirder..... If I remove all the IP cards in the TVServer setup and then add them back I can scan the M3u and tune the...
    Having great fun with this still. I have a fairly good PC setup, Ryzen 5 8500g, Msi Pro 650M-P with 32GB of RAM with a TBS 6281 and...
    Replies
    2
    Views
    254
    You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and check.
    You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and...
    I don't have a TV card in my HTPC setup, so I really only use plugins that browse and show media files, like MP TV-Series, Moving...
    Replies
    5
    Views
    2K
    Top Bottom