projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a07f913
)
fix url parsing.
author
kos
<kos@dev3>
Thu, 19 Jan 2012 05:10:58 +0000
(14:10 +0900)
committer
kos
<kos@dev3>
Thu, 19 Jan 2012 05:10:58 +0000
(14:10 +0900)
lib/python/Plugins/Extensions/WebBrowser/plugin.py
patch
|
blob
|
history
diff --git
a/lib/python/Plugins/Extensions/WebBrowser/plugin.py
b/lib/python/Plugins/Extensions/WebBrowser/plugin.py
index
b947a74
..
7626007
100644
(file)
--- 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":