Kodi Community Forum

Full Version: Adding video description/summary
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
you need to add the plot to list_item.setInfo() as well.
(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