Skip to content

Instantly share code, notes, and snippets.

Created August 5, 2016 17:38
Show Gist options
  • Save anonymous/9272d16fc58aa6fc17b90092a3d8af76 to your computer and use it in GitHub Desktop.
Save anonymous/9272d16fc58aa6fc17b90092a3d8af76 to your computer and use it in GitHub Desktop.
patch
default.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/default.py b/default.py
index bdbf433..25ef45e 100644
--- a/default.py
+++ b/default.py
@@ -92,7 +92,7 @@ class VideaceskyXBMCContentProvider(xbmcprovider.XBMCMultiResolverContentProvide
print 'Sending %s to player' % stream['url']
li = xbmcgui.ListItem(path=stream['url'], iconImage='DefaulVideo.png')
xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, li)
- xbmcutil.load_subtitles(stream['subs'])
+ xbmcutil.load_subtitles(stream['subs'],stream['headers'])
def resolve(self, url):
def select_cb(resolved):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment