Posts: 11
Joined: May 2018
Reputation:
0
Hello Everyone,
Can any one help me on this, that how we can display all playlist list on the music player while playing the song. I have tried to edit musicosd.xml file and added fixedlist control type to display the list of playlist but didn't got any success.
Thanks in advance
Posts: 17,626
Joined: Aug 2007
Reputation:
605
Hitcher
Team-Kodi Member
Posts: 17,626
What code did you use for this list?
Posts: 11
Joined: May 2018
Reputation:
0
Hi Hitcher,
I have add this on the musicOSD.xml file above this line "<control type="group" id="200">". I am very new to this please correct if i am doing anything wrong.
CODE:
<control type="fixedlist" id="2629">
<viewtype label="PlayerPlaylist">list</viewtype>
<left>351</left>
<top>112</top>
<width>950</width>
<height>550</height>
<orientation>vertical</orientation>
<focusposition>1</focusposition>
<visible>Container.Content(playlists) | Container.Content() | Window.IsActive(music)</visible>
<itemlayout width="585" height="190">
<control type="image">
<left>2</left>
<top>13</top>
<width>573</width>
<height>105</height>
<texture colordiffuse="button_focus">lists/focus.png</texture>
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<left>20</left>
<top>10</top>
<width>60</width>
<bottom>10</bottom>
<aspectratio>keep</aspectratio>
<texture>$INFO[ListItem.Icon]</texture>
</control>
<control type="label">
<left>10</left>
<top>107</top>
<width>633</width>
<height>60</height>
<align>left</align>
<label>$INFO[ListItem.Label]</label>
<font>font14</font>
<textcolor>FFFFFFFF</textcolor>
<selectedcolor>FFFFFFFF</selectedcolor>
<shadowcolor>text_shadow</shadowcolor>
</control>
</itemlayout>
<focusedlayout width="585" height="190">
<control type="image">
<left>2</left>
<top>13</top>
<width>573</width>
<height>105</height>
<texture colordiffuse="button_focus">lists/focus.png</texture>
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<left>20</left>
<top>10</top>
<width>60</width>
<bottom>10</bottom>
<aspectratio>keep</aspectratio>
<texture colordiffuse="grey">$INFO[ListItem.Icon]</texture>
</control>
<control type="label">
<left>105</left>
<top>0</top>
<bottom>0</bottom>
<right>100</right>
<aligny>center</aligny>
<label>$INFO[ListItem.Label]</label>
<shadowcolor>text_shadow</shadowcolor>
</control>
</focusedlayout>
</control>
Thanks In Advance
Posts: 11
Joined: May 2018
Reputation:
0
Is There any way to populate the label dynamically not statically?
Posts: 11
Joined: May 2018
Reputation:
0
How we can create a builtin list for music osd file? There will be some option as music nav file has built in list. Please let me know.
Posts: 15,274
Joined: Jan 2009
Reputation:
730
ronie
Team-Kodi Member
Posts: 15,274
not possible, see answer above.