v18 Want to show playlist on the player only
#1
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
Reply
#2
What code did you use for this list?
Reply
#3
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
Reply
#4
Any Response?
Reply
#5
the music osd dialog does not have a built-in list, meaning kodi is not going to fill your container automatically with whatever you want it to do.

you might create something similar by using a container with static content and use some musicplayer infolabels that allow to specify an offset.
the only limit is you can't some the entire playlist, but only a fixed number of items.

https://kodi.wiki/view/Skinning_Manual#F...ic_content
https://kodi.wiki/view/Skinning_Manual#Music_player
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#6
Is There any way to populate the label dynamically not statically?
Reply
#7
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.
Reply
#8
not possible, see answer above.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply

Logout Mark Read Team Forum Stats Members Help
Want to show playlist on the player only0