Kodi Community Forum
Release [depricated] old YouTube Plugin - XBMC 13.0 Frodo/Gotham only - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: Release [depricated] old YouTube Plugin - XBMC 13.0 Frodo/Gotham only (/showthread.php?tid=79487)



RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - Tappy - 2014-04-02

(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.


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - LNoferin - 2014-04-04

(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


RE: [RELEASE] YouTube (Video) Plugin - lone-wolf - 2014-04-05

(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 broken - unexist - 2014-04-05

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.)


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - Clou42 - 2014-04-06

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:
Clou@Maia [/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
Clou@Maia [/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.


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - sraue - 2014-04-06

(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.


Curl - Clou42 - 2014-04-06

Thanks, downgrading worked Smile


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - Bazzu85 - 2014-04-06

Sorry, what's curl?
How you can downgrade?

Yesterday I haved much playback error..like posted before..


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - Martijn - 2014-04-06

Just install latest nightly version of xbmc


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - Bazzu85 - 2014-04-06

There isn't a fix using Frodo stable?


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - LNoferin - 2014-04-06

(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! :-)


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - Bazzu85 - 2014-04-06

Thx..anyone know for Windows?


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - peto - 2014-04-08

There is, for Youtube at least :
1. overwrite your existing plugin files with those : http://www.mediafire.com/download/m4i7djmau3hh1j8/plugin.video.youtube.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


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - binwiederda - 2014-04-08

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:
xbmc@pbox:~/.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


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - Bazzu85 - 2014-04-08

(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/m4i7djmau3hh1j8/plugin.video.youtube.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..