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.
Can't logon with 2.1.3 either. read a few pages and 1.8 appears to only be for Eden, does that simply mean youtube-logon on Dharma is broken?
2.1.3 has the same login code as 2.8.0

If it doesn't work for you.

http://wiki.xbmc.org/index.php?title=Add..._debug_log
pike Wrote:http://pastebin.com/ErtGFsZJ

I had forgotten about your addon's debug mode, I don't think I've disabled it manually since last time, but nevertheless it was disabled, on this log it's enabled.

Are you still having problems, It should work for you now(even if you have done nothing).
I nuked that file you told me to and then My Likes re-appeared. But I don't enjoy having to ssh into the machine for these issues Smile
Agreed. And this is why we have beta's Smile
I'm running very latest pre-eden openelec build and trying to get youtube working.

Every time i'm getting login failed, no matter what i do.

I followed wiki on how to get around login fails but nothing works, i can't even delete youtube addon because it's needed by themoviedb plugin.

I'm using MQ3 skin and here is the youtube log

http://pastebin.com/QFZ7KSeF

:update:
I installed 2.7.0 over 2.8.0 and now it works. Maybe bug in 2.8.0 ?
schumi2004 Wrote:I'm running very latest pre-eden openelec build and trying to get youtube working.

Every time i'm getting login failed, no matter what i do.

I followed wiki on how to get around login fails but nothing works, i can't even delete youtube addon because it's needed by themoviedb plugin.

I'm using MQ3 skin and here is the youtube log

http://pastebin.com/QFZ7KSeF

:update:
I installed 2.7.0 over 2.8.0 and now it works. Maybe bug in 2.8.0 ?

Yeah, 2.7.0 will not work. The 2.8.0 release was pushed specifically to solve the login issue with 2.7.0.

In any case the login problem is OpenELEC related. Bad SSL support.

PHP Code:
00:59:36 T:2620459888  NOTICE: [YouTube-2.8.0_fetchPage 'URLError : <urlopen error _ssl.c:316: Invalid SSL protocol variant specified.>' 
schumi2004 Wrote:I'm running very latest pre-eden openelec build and trying to get youtube working.

Every time i'm getting login failed, no matter what i do.

I followed wiki on how to get around login fails but nothing works, i can't even delete youtube addon because it's needed by themoviedb plugin.

I'm using MQ3 skin and here is the youtube log

http://pastebin.com/QFZ7KSeF

:update:
I installed 2.7.0 over 2.8.0 and now it works. Maybe bug in 2.8.0 ?

I have been informed that using your Username instead of your email address may solve the problem.

We have not been able to verify this on a Mac. YMMV.
I have found out why Android YouTube app cannot share (send to play) video on Windows XBMC with YouTube addin. It seems that the app is sending the link in the form of:
http://www.youtube.com/watch?v=dQw4w9WgX...ata_player

(Sorry, the forum processes the link, it ends with: /watch?v=dQw4w9WgXcQ&feature=youtube_gdata_player)

while YouTube Addin expects just:
http://www.youtube.com/watch?v=dQw4w9WgXcQ

More about this here:
http://forum.xbmc.org/showthread.php?p=928638

I am not sure where it should be fixed - on the Android app side or in the YouTube addin? It seems that stripping the player info in the addin would make sense, but I may be wrong here...
JabberwockPL Wrote:I have found out why Android YouTube app cannot share (send to play) video on Windows XBMC with YouTube addin. It seems that the app is sending the link in the form of:
http://www.youtube.com/watch?v=dQw4w9WgX...ata_player

(Sorry, the forum processes the link, it ends with: /watch?v=dQw4w9WgXcQ&feature=youtube_gdata_player)

while YouTube Addin expects just:
http://www.youtube.com/watch?v=dQw4w9WgXcQ

More about this here:
http://forum.xbmc.org/showthread.php?p=928638

I am not sure where it should be fixed - on the Android app side or in the YouTube addin? It seems that stripping the player info in the addin would make sense, but I may be wrong here...

Unless something has changed lately, this is not a plugin issue, but an issue with the XBMC Remote for Android not launching the plugin.
TobiasTheCommie Wrote:Unless something has changed lately, this is not a plugin issue, but an issue with the XBMC Remote for Android not launching the plugin.

Well, it is not exactly a matter of launching... If I copy the link from Android YouTube, edit it in a text editor, paste into a browser and play (share) the link from there, it works perfectly. The only difference is the &feature portion of the URL string.
The log i see says that the YouTube plugin is never called. (Problem with XBMC remote)

If the youtube plugin is called and it still fails, then the youtube plugin is called wrong (Problem with XBMC Remote)

Though a proper XBMC Debug log would be needed to be certain.(Not just plugin debug log. but XBMC itself). But in all cases the problem is NOT with the plugin.

It sounds like sharing works from your android browser, but not from your android YouTube app. The problem happens when the XBMC Remote send the url to XBMC. through the android browser it launches "plugin://path_to_plugin?videoid=someid". Through the YouTube app it launches "http://www.youtube.com/?v=someid&maybe_more=params".

As long as the "plugin://" path isn't called, there is nothing... i repeat NOTHING... we can do in our plugin.

Besides for the Leanback remote, i have never successfully sent a video from my android to XBMC.
Thank you very much for your detailed explanations! Now it is clear... I will ask around in the Remote forum then, although I am not sure it is still being developed.
JabberwockPL Wrote:Thank you very much for your detailed explanations! Now it is clear... I will ask around in the Remote forum then, although I am not sure it is still being developed.

Well, if you could give me an (xbmc and plugin) debug log i could be 100% certain. right now i'm just at about 95% certain that i'm right. Smile (As i said, things might have changed since last i looked).
Hi Tobias

Do you plan to support youtube playlist in the future versions (or is it already supported)? That way we could just pass the playlist id and be done. Thanks.