From: Nicolas Boisselier Date: Tue, 23 Apr 2019 11:40:44 +0000 (+0100) Subject: addon.py X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=7a9e72e9a23c4576f2c7e512acaa628676a2337f;p=plugin.video.news.nbdom.net.git addon.py --- diff --git a/addon.py b/addon.py index 8a6cd0f..f0163df 100644 --- a/addon.py +++ b/addon.py @@ -145,11 +145,11 @@ for row in json.loads(content): li = xbmcgui.ListItem(title, iconImage="DefaultVideo.png", thumbnailImage=iconimage) #row['link'] = build_url({'mode' :'play', 'playlink' : row['link']}) #li.setProperty('IsPlayable' , 'true') - li.setInfo( 'video', infoLabels={ 'title': title, 'plot': row['description'] - } ) + }) + xbmcplugin.addDirectoryItem(handle=addon_handle,url=row['link'],listitem=li) # NB 17.04.19 url = 'https://nbdom.net/data/en/911-experiments-The_Force_Behind_the_Motion.mp4' diff --git a/addon.xml b/addon.xml index a2d146a..b3634f5 100644 --- a/addon.xml +++ b/addon.xml @@ -10,11 +10,11 @@ - --> + video