projects
/
vuplus_dvbapp-plugin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18e98a6
)
MytubeService.py: -better way returning the Video_ID.
author
Mladen Horvat
<acid-burn@opendreambox.org>
Wed, 7 Oct 2009 11:17:14 +0000
(11:17 +0000)
committer
Mladen Horvat
<acid-burn@opendreambox.org>
Wed, 7 Oct 2009 11:17:14 +0000
(11:17 +0000)
This fixes "Video not available" in some conditions where the videoid was returned wrong but the video was available
mytube/src/MyTubeService.py
patch
|
blob
|
history
diff --git
a/mytube/src/MyTubeService.py
b/mytube/src/MyTubeService.py
index
81a56ad
..
01715bc
100755
(executable)
--- a/
mytube/src/MyTubeService.py
+++ b/
mytube/src/MyTubeService.py
@@
-105,7
+105,8
@@
class MyTubeFeedEntry():
if ret == 'youtube_gdata':
tmpval=split.pop()
if tmpval.endswith("&feature"):
- ret = tmpval.strip("&feature")
+ tmp = tmpval.split("&")
+ ret = tmp.pop(0)
return ret
def getTitle(self):