Author Topic: Displaying Last Track Played in Theatre Mode  (Read 767 times)

abeniares

  • Newbie
  • *
  • Posts: 5
Hi, user of MB for a few years, first time poster....


I'm writing an xml Theatre Mode and I want to display the last two 'Previously Played Tracks', but can't find a Element IDs for them.

Is there one?


I will be posting the xml for feedback in the next month or so, if it works.

thanks,
ab

Freddy Barker

  • Sr. Member
  • ****
  • Posts: 751
  • 🎧 MB 3.4.7628P
Hi, user of MB for a few years, first time poster....
I'm writing an xml Theatre Mode and I want to display the last two 'Previously Played Tracks', but can't find a Element IDs for them.
Is there one?
I will be posting the xml for feedback in the next month or so, if it works.

I'm not sure that there is an option for already played individual tracks, but i've used this code before as a dirty fix - you just need to resize the Panel to get the required tracks to display....

Code
<!-- Now Playing List -->
<element type="Text" xAnchor="Panel.Right" x="-360" y="130" width="350" font="Segoe UI Light" style="Regular" size="22" fg="206,250,0">Playlist Mixer</element>
<element name="PlaylistOverlay" type="Block" xAnchor="Panel.Right" x="-380" y="130" width="365" heightDock="Panel" height="-310" bg="6,0,0,0"></element>
<element type="NowPlayingList" xAnchor="Panel.Right" x="-380" y="160" width="370" heightDock="Panel" height="-345" rowPadding="8" font="Segoe UI" style="Regular" size="12" fg="245,245,245" fg2="206,250,0" mouseOverFg="206,250,0">
    <child id="#" width="38" align="center"/>
    <child id="Title" width="150"/>
    <child id="Artist" width="110"/>
    <child id="Duration" width="50"/>
    <child id="Speaker" width="15"/>
</element>


abeniares

  • Newbie
  • *
  • Posts: 5
Documenting the modified code and screenshot here for future reference.

<!-- Last Track Played -->

<element type="NowPlayingList" xAnchor="#now_playing.left" x="0" yAnchor="#now_playing.189" y="0" widthDock="Panel.Width.45" align="center" heightDock="Panel.width.20" rowPadding="185" font="Calibri" style="Regular" size="20" fg="245,245,245">
<child>Last Played  -   </child>
<child id="Title"/>
</element>