<description lang="en">New.nbdom.net is an independent, listener-supported alternative news source. It operates on the principle of open source intelligence and provides podcasts, interviews, articles and videos about breaking news and important issues from 9/11 Truth and false flag terror to the Big Brother police state, eugenics, geopolitics, the central banking fraud and more..</description>
<language>en</language>
<platform>all</platform>
- <license>GNU GENERAL PUBLIC LICENSE. Version 3, June 2007</license>
- <forum>http://forum.xbmc.org/showthread.php?tid=177772</forum>
+ <license>GPL-2.0</license>
+ <forum></forum>
<website>http://news.nbdom.net/</website>
<email></email>
<source>http://news.nbdom.net/plugin.zip</source>
--- /dev/null
+import sys
+import xbmcgui
+import xbmcplugin
+import urllib,urllib2,re
+
+addon_handle = int(sys.argv[1])
+
+xbmcplugin.setContent(addon_handle, 'movies')
+
+url = 'http://localhost/some_video.mkv'
+li = xbmcgui.ListItem('My First Video!', iconImage='DefaultVideo.png')
+xbmcplugin.addDirectoryItem(handle=addon_handle, url=url, listitem=li)
+
+xbmcplugin.endOfDirectory(addon_handle)
+
+def getUrl(url):
+ req = urllib2.Request(url)
+ req.add_header('User-Agent', 'Kodi')
+ response = urllib2.urlopen(req)
+ content = response.read()
+ response.close()
+ return content