Adding video description/summary
#1
I've written an addon for myself that is based off romanvm's plugin.video.example addon which was extremely helpful - thank you for that.

I've been trying to add a video description to a video that's in the list to appear below the Year, Duration and Genre in the UI:
VIDEOS = {'Animals': [{'name': 'Crab', 'thumb': 'http://www.vidsplay.com/wp-content/uploads/2017/04/crab-screenshot.jpg', 'video': 'http://www.vidsplay.com/wp-content/uploads/2017/04/crab.mp4', 'genre': 'Animals'},:
VIDEOS = {'Animals': [{'name': 'Crab',
'thumb': 'http://www.vidsplay.com/wp-content/uploads/2017/04/crab-screenshot.jpg',
'video': 'http://www.vidsplay.com/wp-content/uploads/2017/04/crab.mp4',
'genre': 'Animals',
'plot': 'Test'}


I've tried adding 'plot' and 'desc' to the the list under 'genre' but it doesn't work. From my reading, I understand that I need to define the type of file that is being played? If possible I'd rather just pop in hard-coded text to populate this information in the addon.
Reply
#2
you need to add the plot to list_item.setInfo() as well.
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
#3
(2020-09-10, 21:04)ronie Wrote: you need to add the plot to list_item.setInfo() as well.
Magic!

Added 'plot': category, to list_item.setInfo() and working lovely for me. Really appreciate that ronie Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Adding video description/summary0