![]() |
|
[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 |
- HenrikDK - 2011-04-29 22:00 pike Wrote:It asks me to verify that I am indeed over 18 in order to view the video, want a screenshot ? Hmm wierd, obviously the login and verification process is failing for some reason but our debug logs aren't enough to work out why, this problem is hard to debug since, in my experience, after the first time you verify you're 18 YouTube remembers (or atleast it does if you're using a google account, it would ). Also this: speed32219 Wrote:Seems youtube is requiring a link to a google email (I had a yahoo email intially)l. I had to sign up for a gmail account and link it to my youtube account (WHich was setup with my yahoo email account), but then in your xbmc video add-ons you need to change your userid and password to the new google account id and passwd. I think!would seem to indicate not all youtube accounts are created equal and this issue i suspect is further complicating matters. It's gonna be a while before we can get to the end of this. - TobiasTheCommie - 2011-04-30 01:53 pike Wrote:It asks me to verify that I am indeed over 18 in order to view the video, want a screenshot ? we have finally been able to verify this problem. I'm not entirely sure what is going on right now, our best guess is that google has changed what cookies they are requiring. We tried to confirm with curl, but that doesn't work either. And google doesn't give us any error messages at all. PHP Code: $ curl -b "LOGIN_INFO=edab65c4f02386d2954a1b2acdbba7e8c3YAAAB7IjEiOiAxLCAiMyI6IDYzMjc2MzE2MywgIjIiOiAib2hteWduaHZDTGU5elptRFV6d0dTQT09IiwgIjQiOiAiR0FJQSIsICI3IjogMTMwNDExOTM5NywgIjYiOiBmYWxzZSwgIjgiOiA5MzY2MjI2NjQ5Nzl9" "http://www.youtube.com/verify_age?next_url=http%3A//www.youtube.com/watch%3Fv%3DMaBjiMu770Y%26safeSearch%3Dnone%26hl%3Den_us&action_confirm=1"What we get from python is even more useless than this reply. I have an idea or two i'm going to test out, but for now i really don't feel comfortable giving a timeframe for when this can be solved. I will try a few things on the morrow, and if i get anything usable i'll post an alpha-beta. As a work around, for me at least, once i have confirmed my age(just once) in my browser, i never have to confirm it again. This is not how i remember YouTube operating half a year ago, but in the last month i haven't seen an age request once. - pike - 2011-04-30 12:30 Currently I login your script using my google login, but my www. session is logged in using the youtube account. Do you want me to leave this intact so I can test future changes, or try and also login the www. using google login ? - TobiasTheCommie - 2011-04-30 15:21 pike Wrote:Currently I login your script using my google login, but my www. session is logged in using the youtube account. Do you want me to leave this intact so I can test future changes, or try and also login the www. using google login ? It would be nice if we could get confirmation from you once we find a solution. My first and second attempt already failed(Cookie jar, and manual cookies in curl). I'm kinda at a loss here, mostly because i get nothing back from google. - HenrikDK - 2011-05-01 21:58 Just wanted to provide an update on the non-working age verification situation, After Tobias hard work, I wen't back to the drawing board and started examining the trafic with live headers. Seems YouTube added a Cross-site scripting token to their site, probably to prevent this kinda of automation. I've managed to get a working prototype up and running but it will be a few days before we can get the code ready for beta testing. - gobbledigook - 2011-05-02 23:55 HenrikDK Wrote:Just wanted to provide an update on the non-working age verification situation. i was just coming to ask about this keep up the good work!thanx - speed32219 - 2011-05-03 01:21 The quick way is to login into youtube from a browser. Then select an R rated movie (youtube movies, horror, blood dancers is a R). It iwll ask you to login to verify your age, but then it will pop up another window saying you need an account with google. (gmail) You either create or sign in your account with gmail and link it back to youtube (Just follow prompts). Add new user and password from the newly created gmail account in the YouTube plugin within xbmc and your good to go. Now YouTube from the video addons will work without the 18+ error from now on until they change it again. But that dang nasty rtmp 9 protocol is growing like a virus. Eating away at the movie DB. - spiff - 2011-05-03 09:49 'other videos by foo' in context menu seems to be horribly borken. i miss it. - HenrikDK - 2011-05-03 10:00 speed32219 Wrote:It will ask you to login to verify your age, but then it will pop up another window saying you need an account with google. (gmail) Just wanted to comment on the login process as Google has rolled out an update changing the requirements for Youtube login credentials. Seems YouTube has begun limiting access to users with Google accounts only. : http://apiblog.youtube.com/2011/03/clientlogin-fail.html Quote:As was recently announced on the main YouTube blog, all YouTube accounts must be linked to a Google Account or else logins will start fail—the current plan is to disable logins for unlinked accounts towards the end of April. The only workaround is to have your users link their YouTube account to a Google Account. If they login from a web browser, either at http://www.youtube.com or using AuthSub/OAuth, they’ll be taken through the steps to link accounts. If you've recently been experience problems with login and haven't got a linked account yet that is the problem, head over to YouTube to link your accounts. We understand that some users might be hesitant to pass on their google account credentials to the plug-in (paranoia is healthy ), and for these users we suggest switching to Googles "2 factor" authentication scheme and generating an application specific password for the plug-in. Note that once you enable 2 factor authentication you will need to generate an application specific password for the plugin to work again.
- HenrikDK - 2011-05-03 10:01 spiff Wrote:'other videos by foo' in context menu seems to be horribly borken. i miss it. Will look into it
|