2023-03-13, 16:08
Hi,
I wonder if there is a way to get the music/video-infodialog of the currently playing video/song when in home.xml.
I was thinking of a hiddenlist, but I don't know which content path to use?
When using a ..playlist:// path i only get the full playlist:
Using a button, that sets the focus and calls info action works fine so far and info dialog gets shown:
But i have no idea, how to limit the playlist to the current playing item...
Anyone have an idea?
I wonder if there is a way to get the music/video-infodialog of the currently playing video/song when in home.xml.
I was thinking of a hiddenlist, but I don't know which content path to use?
When using a ..playlist:// path i only get the full playlist:
<control type="list" id="999999">
<width>500</width>
<height>500</height>
<orientation>vertical</orientation>
<itemlayout height="36" width="1000">
<control type="label">
<label>$INFO[ListItem.Label]</label>
</control>
</itemlayout>
<focusedlayout height="36" width="1000">
<control type="label">
<label>$INFO[ListItem.Label]</label>
</control>
</focusedlayout>
<content>playlistmusic://</content>
</control>
Using a button, that sets the focus and calls info action works fine so far and info dialog gets shown:
<control type="button">
<width>48</width>
<height>48</height>
<label/>
<font />
<texturefocus colordiffuse="$VAR[ColorHighlight]" flipx="true">osd/info.png</texturefocus>
<texturenofocus colordiffuse="Dark2" flipx="true">osd/info.png</texturenofocus>
<onclick>SetFocus(999999)</onclick>
<onclick>Info</onclick>
</control>
But i have no idea, how to limit the playlist to the current playing item...
Anyone have an idea?