X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FPlugins%2FExtensions%2FWebBrowser%2Fplugin.py;h=7626007f299070352373c9b39b2115d4946c0c61;hp=b947a743b915519a4162304d461ba94bc3c6dc70;hb=e3ff8a18da07b9e4f513cb651a93cb22c5c3db76;hpb=a07f9132b537cc63e48bbca2f9337f282f719520 diff --git a/lib/python/Plugins/Extensions/WebBrowser/plugin.py b/lib/python/Plugins/Extensions/WebBrowser/plugin.py index b947a74..7626007 100644 --- a/lib/python/Plugins/Extensions/WebBrowser/plugin.py +++ b/lib/python/Plugins/Extensions/WebBrowser/plugin.py @@ -366,7 +366,7 @@ class VuPlayerService: if len(tmp) == 2 and tmp[0] == "http://www.youtube.com/watch": tmp = tmp[1].split("&") print tmp # ['v=BpThu778qB4', 'feature=related'] - if len(tmp) == 2: + if len(tmp) > 2: tmp = tmp[0].split("=") print tmp # ['v', 'BpThu778qB4'] if len(tmp) == 2 and tmp[0] == "v":