![]() |
|
[RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Help and Support (/forumdisplay.php?fid=33) +--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27) +---- Forum: Video Add-ons (/forumdisplay.php?fid=154) +---- Thread: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC (/showthread.php?tid=79487) Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 |
- jhonnieblack - 2012-01-19 12:41 hi mr ussing! im facing some troubles with the plugin, something with the showMessage attribute, the log says: 09:58:55 M: 26062848 ERROR: -->Python Initialized<-- 09:58:57 M: 23855104 NOTICE: YouTube-2.1.2 ARGV: ['plugin://video/YouTube/', '0', '?path=/root/search&action=play_video&videoid=P_Qm-yIM38U'] 09:58:58 M: 23666688 NOTICE: YouTube-2.1.2 fetching page : http://gdata.youtube.com/feeds/api/videos/P_Qm-yIM38U 09:58:58 M: 23646208 NOTICE: YouTube-2.1.2 _getvideoinfo: 5570 09:58:58 M: 23502848 NOTICE: YouTube-2.1.2 _getvideoinfo done : 1 09:58:58 M: 23494656 NOTICE: YouTube-2.1.2 _getVideoLinks trying website 09:58:58 M: 23494656 NOTICE: YouTube-2.1.2 fetching page : http://www.youtube.com/watch?v=P_Qm-yIM38U&safeSearch=none 09:59:00 M: 23490560 NOTICE: YouTube-2.1.2 construct video url failed contents of video item {'count': 13804, 'Plot': 'Date Uploaded: 2010-03-06, View count: 13804\nRipped from Armin van Buuren - A State of Trance 446\n\nBlue Soho Recordings : http://www.bluesohorecordings.com', 'Title': 'SoundLift - Nakhti (Original Mix)', 'apierror': u"Couldn't extract video url", 'Rating': 4.8630136999999998, 'videoid': u'P_Qm-yIM38U', 'next': 'false', 'Duration': '06:35', 'Genre': 'Music', 'Studio': 'TranceAtmosphereTV', 'user': 'TranceAtmosphereTV', 'Date': '2010-03-06T09:36:40.000Z', 'thumbnail': u'http://i.ytimg.com/vi/P_Qm-yIM38U/0.jpg'} 09:59:00 M: 23490560 ERROR: Error Type: exceptions.AttributeError 09:59:00 M: 23490560 ERROR: Error Contents: YouTubePlayer instance has no attribute 'showMessage' 09:59:00 M: 23486464 ERROR: Traceback (most recent call last): File "Q:\plugins\video\YouTube\default.py", line 52, in ? navigator.executeAction(params) File "Q:\plugins\video\YouTube\YouTubeNavigation.py", line 205, in executeAction player.playVideo(params) File "Q:\plugins\video\YouTube\YouTubePlayer.py", line 57, in playVideo self.showErrorMessage(self.__language__(30603), video["apierror"], status) File "Q:\plugins\video\YouTube\YouTubePlayer.py", line 365, in showErrorMessage self.showMessage(title, result) AttributeError: YouTubePlayer instance has no attribute 'showMessage' 09:59:00 M: 28942336 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://video/YouTube/?path=/root/search&action=play_video&videoid=P_Qm-yIM38U] im running it in an XBMC4Xbox. Built on May 16 2011 (SVN:30850, compiler 1310) and it just ran flawlessly until yesterday. can you help me? thank you very much! Youtube addon suddenly stops working - orangebox - 2012-01-19 13:11 Hi, I've been using the Youtube addon for a couple of weeks and it was working fine, but it has suddenly stopped working. Specifically, when I select a video and press play, it reports a script error and fails to play the video. I don't recall changing anything on the box recently that could have caused this change of behaviour. The debug log is at: http://http://pastebin.com/TjBKuSu2 The relevant part of the log appears to be: Code: 21:42:14 T:2997861232 M:1939259392 NOTICE: YouTube-2.1.3I'm using XBMCLive Dharma, 2.6.32-29-generic i686, built on Mar 9 2011. Youtube addon version is 2.1.3. I searched this thread for similar issues - I found something similar but I'm not sure whether it's related. I've tried rebooting as well as uninstalling the Youtube addon and then re-installing. Grateful for any suggestions. I desperately need to fix this to stop my kids from screaming!! Thanks, CL PS: big thanks to XBMC devs for developing such an awesome media player! - bOO9000 - 2012-01-19 17:28 Hi I just installed OpenELEC and the same issue here orangebox. Thanks - Robotica - 2012-01-19 17:36 A Youtube-upload script. http://code.google.com/p/youtube-upload/wiki/Readme Maybe this is something for this great plugin. - salvi - 2012-01-20 03:13 I have the same Issue as Orange, where trying to play any video, gives out a message alert, but no videos are actually being played. I just noticed this now, and I haven't made any chances to the box recently either. Maybe youtube changing something yet again? - anthony.selby - 2012-01-20 03:23 YouTube has changed ... if you go to the website and look at the player you now see a gear with the different resolutions available I hope someone smarter then me is looking at this ... Thanks - evanroheff21 - 2012-01-20 09:17 I just wanted to state that I am also having problems with the plugin, same as those listed by jhonnieblack, orangebox, etc. Seems to be a change in the API as some have already noted. I can provide additional logs if needed, but hopefully someone can fix this up and get a new version into the repo. Thanks for everyone's hard work! - enigma83 - 2012-01-20 09:41 If you don't understand this, and something breaks, it's not my fault. On line 303 in YouTubePlayer.py, changing ttsurl to fexp fixes things for me. ttsurl is referred to later on as well, lines 334/335 but I did not have to change those. 303c303 < data = re.findall('="(ttsurl=.*?)"', data) --- > data = re.findall('="(fexp=.*?)"', data) Edit: Should point out, I've been mucking about with this a bit, so it might be on a line "around" 303, but not on 303 exactly. Edit: Doesn't work on all clips. For the people who can follow programming logic, don't search for "ttsurl", search for Code: flashvars="(.*?)"303c303 < data = re.findall('="(ttsurl=.*?)"', data) --- > data = re.findall('flashvars="(.*?)"', data) - evanroheff21 - 2012-01-20 18:47 Thanks Enigma83! I tried out your fix on v2.1.3 of the plugin running on Ubuntu 10.04. For me, it was actually line 302. I'll post some more context of the code so others may try this out, until an official fix is released. Code before changes (YouTubePlayer.py) Code: else:Code after changes (YouTubePlayer.py) Code: else:- jonnysarmbrace - 2012-01-20 19:10 Worked perfectly, thanks guys! |