Display Album artist in small title in Player
#1
I noticed that some of the add-ons using this small title above the title text in Kodi player. (youtube).
I am trying to get it on my list item. but I cannot find a way to get it work. Please help me on this.
Image

I like to input in "Beck - Mutations" position.

this is my code
Code:
li = xbmcgui.ListItem('title', thumbnailImage='http://image.com/image.png')
        li.setInfo( "audio", { "Title" : 'hellop', "Artist " : 'Some artist', "Studio" : 'canal' } )
        xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]), url="http://example.com/sample.m3u8" listitem=li)

thank you,
Reply
#2
You can probably find the label used by looking in the xml files. I dont know which. Or alternatively find the youtube.pl and scan the files for xbmc.setinfo?
Reply
#3
Thank you for your information.
I found it. I was searching through Youtube before and it's difficult to find.
finally I got it.
Code:
li = xbmcgui.ListItem('title', thumbnailImage='http://image.com/image.png')
        li.setInfo( "audio", { "Title" : 'hellop', "Artist" : ['Some artist'], "Studio" : 'canal' } )
        xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]), url="http://example.com/sample.m3u8" listitem=li)

I have added space in Artist title. and artists should be list of artists. after that it will show up.
Reply
#4
Ah. I thought you posted working code in OP and was missing a tag. I am glad you got it working! There is a wiki on the JSON. It is a hard read, but has information.
Reply

Logout Mark Read Team Forum Stats Members Help
Display Album artist in small title in Player0