Kodi Community Forum

Full Version: Extended info - Mostloved tracks
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Sorry for all the topics, I'm an a intensive user of the skinning thread Tongue
I'm trying to do a horizontal automatic scroll list with the most loved tracks of an artist.
I made something like this. The problem is that nothing appears and I have errors on the log file
PHP Code:
<control type="list">
                <
itemlayout height="64" width="300">
                    <
control type="label">
                        <
scroll>true</scroll>
                        <
width>300</width>
                        <
scroll>true</scroll>
                        <
centertop>50%</centertop>
                        <
height>64</height>
                        <
align>left</align>
                        <
aligny>center</aligny>
                        <
font>Flag</font>
                        <
textcolor>Dark2</textcolor>
                        <
label>$INFO[ListItem.label]</label> (tried title too)
                    </
control>
                </
itemlayout>
                
                <
focusedlayout>
                    <
control type="label">
                        <
scroll>true</scroll>
                        <
width>300</width>
                        <
scroll>true</scroll>
                        <
centertop>50%</centertop>
                        <
height>64</height>
                        <
align>left</align>
                        <
aligny>center</aligny>
                        <
font>Flag</font>
                        <
textcolor>Dark2</textcolor>
                        <
label>$INFO[ListItem.label]</label>(tried title too)
                    </
control>
                </
focusedlayout>
                 <
content>plugin://script.extendedinfo?info=mostlovedtracks&amp;&amp;artistname=$INFO[ListItem.Artist]</content>
            
</control

LOG
Code:
2:10:20.706 T:12756 WARNING: CPythonInvoker(132, C:\Users\Diogo\AppData\Roaming\Kodi\addons\script.extendedinfo\plugin.py): the python script "C:\Users\Diogo\AppData\Roaming\Kodi\addons\script.extendedinfo\plugin.py" has left several classes in memory that we couldn't clean up. The classes include: class XBMCAddon::xbmcgui::DialogBusy
12:10:20.942 T:1152   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.extendedinfo/?info=mostlovedtracks&&artistname=
12:10:21.867 T:5608   ERROR: NEWADDON Unknown Music Info Key "path"
12:10:21.940 T:5608   ERROR: Previous line repeats 3 times.
12:10:21.940 T:5608 WARNING: CPythonInvoker(133, C:\Users\Diogo\AppData\Roaming\Kodi\addons\script.extendedinfo\plugin.py): the python script "C:\Users\Diogo\AppData\Roaming\Kodi\addons\script.extendedinfo\plugin.py" has left several classes in memory that we couldn't clean up. The classes include: class XBMCAddon::xbmcgui::DialogBusy

I'm sure that I'm making something wrong because I'm new at this list and content stuff, but I don't know what. That's why I need your help.

Thanks in advance
Best Regards
Why you use label...that content have images Smile
Code:
$INFO[ListItem.Icon]
and for name I use <label>$INFO[Container(###).ListItem.Label]</label>

Image
I have label because I'm not interested in showing the image/video thumb, just the name of the songs. in the lastfm i'm also just interested in showing the artist and maybe the listeners, without any image.
Mostloved Tracks are Videos,most of them are from youtube for that artist.
If you have only label then it will be "My Humps" in mine image......then you must make feke button to play this video.