Kodi Community Forum

Full Version: [depricated] old YouTube Plugin - XBMC 13.0 Frodo/Gotham only
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2014-04-02, 05:34)digitalb0y Wrote: [ -> ]
(2014-04-01, 13:45)Tappy Wrote: [ -> ]Are people logging into youtube within xbmc using their google account?
Yep. The same credentials that log you into anything Google should work. Example: [email protected] and your gmail password should do the trick.

Thanks but I have been trying and not able to.
(2014-03-27, 05:38)iowa-farmer Wrote: [ -> ]22:24:42 T:140151139227392 WARNING: FillBuffer: curl failed with code 35

[/code]

I found the same error: xbmc 12 from debian stable package
(2014-02-11, 23:54)lone-wolf Wrote: [ -> ]
(2014-02-08, 09:25)vbaros Wrote: [ -> ]I had the same problem with big timeouts after selecting videos. Than I downloaded the fixed python script from above and did one more thing. I erased username and password from settings.XML of YouTube plugin.

One more thing that maybe helped is when I did the Berre method I didn't do the last step of entering the token timeout.

For me the stream opens in about 3 seconds every time.

I just wanted to thank you and Berre for the suggestions & instructions, my youtube app seems to be working perfectly now.
Awesome work.

Now, oddly, I started getting something like 'cannot open playlist without a valid account'

Quote:19:51:27 T:2820666464 NOTICE: Thread XBPyThread start, auto delete: false
19:51:28 T:2820666464 NOTICE: -->Python Interpreter Initialized<--
19:51:30 T:2820666464 NOTICE: Loading cookies from :'/storage/.xbmc/userdata/addon_data/plugin.video.youtube/yt-cookiejar.txt'
19:51:30 T:2820666464 NOTICE: YouTube-4.4.6
19:51:32 T:2820666464 NOTICE: CommonFunctions-2.5.1
19:51:34 T:3047281168 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/?path=/root/video&action=play_video&videoid=ZB0CBjH0tkY]
19:51:38 T:2820666464 NOTICE: Thread BackgroundLoader start, auto delete: false
19:51:38 T:2896331872 NOTICE: Thread Jobworker start, auto delete: true

But it's only happening with a couple items in the playlist, other videos in the play list are playing fine.
Playback is completely broken now, curl cannot fetch contents from the stream URL anymore here.

Code:
11:30:26 T:140559874225920   ERROR: Open - failed to open source <https://*snip*>
11:30:26 T:140559874225920   ERROR: CDVDPlayer::OpenInputStream - error opening [https://*snip*]
11:30:26 T:140559874225920  NOTICE: CDVDPlayer::OnExit()

Edit: I removed the stream URLs, because the break the layout of the forum. (overflow-x set to scroll would bei nice tho.)
I am getting the same curl errors. I can load the URL from the log in Firefox and get the correct video playback, but using curl on the command line yields the same error 35:

Code:
[email protected] [/home/xbmc/] curl -vvvvvv -o /dev/null 'https://very_long_link_from_log'
* Hostname was NOT found in DNS cache
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 74.125.175.170...
* Connected to r5---sn-aiglln7d.googlevideo.com (74.125.175.170) port 443 (#0)
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
* SSLv3, TLS handshake, Client hello (1):
} [data not shown]
* SSLv3, TLS alert, Server hello (2):
{ [data not shown]
* error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Closing connection 0
curl: (35) error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
[email protected] [/home/xbmc/]

Seems that something is wrong with SSLv3 and curl (or the Google servers).

Is XBMC using its own curl or the one from the system? If it's the latter, I'm on Arch with
Code:
curl 7.36.0 (i686-pc-linux-gnu) libcurl/7.36.0 OpenSSL/1.0.1f zlib/1.2.8 libssh2/1.4.3
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP

wget on the same machine downloads the file just fine.
(2014-04-06, 01:02)Clou42 Wrote: [ -> ]I am getting the same curl errors. I can load the URL from the log in Firefox and get the correct video playback, but using curl on the command line yields the same error 35:

use curl before 7.35.0 (last working version 7.34.0) or update to xbmc-gotham beta git (last commit) or wait on the next beta.
Thanks, downgrading worked Smile
Sorry, what's curl?
How you can downgrade?

Yesterday I haved much playback error..like posted before..
Just install latest nightly version of xbmc
There isn't a fix using Frodo stable?
(2014-04-06, 13:49)Bazzu85 Wrote: [ -> ]How you can downgrade?

On debian wheezy you need to downgrade curl, libcurl and libcurl-gnutls.

On my wheezy there are 7.26 (working) and 7.34 (not working) versions.

Sorry. I don't know for other systems.

P.S.: thanks a lot for resolution of the problem, my sons thanks you too! :-)
Thx..anyone know for Windows?
There is, for Youtube at least :
1. overwrite your existing plugin files with those : http://www.mediafire.com/download/m4i7dj...outube.zip
2. then overwrite again with those : http://ulozto.net/xSvJm6MB/youtube-fix-zip
3. delete the yt-cookiejar.txt
4. profit

Works here Smile
Just in case this wasn't posted anywhere else. I encountered a "Login failed false" error.

Here is what I did to fix it (Frodo):
1. Disable & deinstall the plugin
2. Close XBMC
3. Remove .xbmc/addons/plugin.video.youtube
4. Remove .xbmc/userdata/addon_data/plugin.video.youtube
5. Reinstall it
6. Patch the following file:

Code:
[email protected]:~/.xbmc/addons/plugin.video.youtube$ diff YouTubeLogin.py.ORIG YouTubeLogin.py
191c191
<             nick = self.common.parseDOM(ret["content"], "p", attrs={"class": "masthead-expanded-acct-sw-id2"})
---
>             nick = self.common.parseDOM(ret["content"], "span", attrs={"id": "yt-masthead-user-displayname"})

Details also in this vide (not mine):
https://www.youtube.com/watch?v=__kjKGIoNdE
(2014-04-08, 19:25)peto Wrote: [ -> ]There is, for Youtube at least :
1. overwrite your existing plugin files with those : http://www.mediafire.com/download/m4i7dj...outube.zip
2. then overwrite again with those : http://ulozto.net/xSvJm6MB/youtube-fix-zip
3. delete the yt-cookiejar.txt
4. profit

Works here Smile

worked for me..
this can be fixed in next official version?

only one thing..

opening video is very slow..only for me?

thx

edit:
download functionality seems don't work..