Kodi Community Forum
Release YouTube Plug-in Thread - 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 YouTube Plug-in Thread (/showthread.php?tid=267160)



RE: YouTube Plug-in **New Thread*** - jdf76 - 2016-06-20

No the question was for the people who don't want to put in an API key. Just something to install the youtube plugin and go, no API key needed, etc etc.


In general i'm trying to investigate if adding adds to fix the API issue is something people want to do. If it's a bad idea then we know it's a bad idea, but i need more than 2 people to tell me it sucks if i'm going to get a good sample of responses.

Jeff


RE: YouTube Plug-in **New Thread*** - Tarkus_ - 2016-06-20

I'd rather not deal with the ads, but I'd rather deal with the ads than have a plug-in that doesn't work.


RE: YouTube Plug-in **New Thread*** - gedisony - 2016-06-20

hello,
quick question:
I'm calling the youtube addon from my addon.

plugin://plugin.video.youtube/play/?video_id=

When my user clicks on an age restricted link, they're asked to login.

is there a way to call the youtube addon to bypass this?


RE: YouTube Plug-in **New Thread*** - jdf76 - 2016-06-20

(2016-06-20, 20:09)gedisony Wrote: hello,
quick question:
I'm calling the youtube addon from my addon.

plugin://plugin.video.youtube/play/?video_id=

When my user clicks on an age restricted link, they're asked to login.

is there a way to call the youtube addon to bypass this?

Unfortunately no, it's based off of your youtube account. You can't bypass their age restrictions.

Sorry

jeff


RE: YouTube Plug-in **New Thread*** - h0d3nt3uf3l - 2016-06-20

(2016-06-20, 18:36)zag Wrote: Thanks, but what was the idea of the question about the ads then?

Ads are fine if you can provide your own api keys and get around them, I don't see any issue

Like Jeff said its to get a higher quota for the Keys. Think its not possible to get around the ads if we implement it because than its in the code and detached from the key you'll use. Don't think that youtube is amazed because of our plugin running without these ads but I don't talk to them Wink
We don't want ads either, but if its the only way to get away from this quota exceed issue we'll have a look. We don't have tested it or tried anything with it, it's just a idea.

(2016-06-20, 20:09)gedisony Wrote: hello,
quick question:
I'm calling the youtube addon from my addon.

plugin://plugin.video.youtube/play/?video_id=

When my user clicks on an age restricted link, they're asked to login.

is there a way to call the youtube addon to bypass this?
Don't think you'll get around this because its a restriction Wink if your user isn't logged in, thatn google can't know his age. Without loggin in you won't have a chance.


RE: Official YouTube Plug-in Thread - jdf76 - 2016-06-20

(2016-06-20, 21:45)h0d3nt3uf3l Wrote:
(2016-06-20, 18:36)zag Wrote: Thanks, but what was the idea of the question about the ads then?

Ads are fine if you can provide your own api keys and get around them, I don't see any issue

Like Jeff said its to get a higher quota for the Keys. Think its not possible to get around the ads if we implement it because than its in the code and detached from the key you'll use. Don't think that youtube is amazed because of our plugin running without these ads but I don't talk to them Wink
We don't want ads either, but if its the only way to get away from this quota exceed issue we'll have a look. We don't have tested it or tried anything with it, it's just a idea.

Right this is more or less an informal poll to see what all the people think about the idea. It doesn't necessarily mean it's happening. We're just throwing the idea out there.

Jeff


RE: Official YouTube Plug-in Thread - mrsfixit - 2016-06-20

(2016-06-20, 20:06)Tarkus_ Wrote: I'd rather not deal with the ads, but I'd rather deal with the ads than have a plug-in that doesn't work.

+1

I agree.


RE: Official YouTube Plug-in Thread - bsoriano - 2016-06-20

(2016-06-20, 21:58)mrsfixit Wrote:
(2016-06-20, 20:06)Tarkus_ Wrote: I'd rather not deal with the ads, but I'd rather deal with the ads than have a plug-in that doesn't work.

+1

I agree.

+1


RE: Official YouTube Plug-in Thread - EricSol - 2016-06-21

Personal keys w/no ads. Ads simply make the experience horrible.


RE: Official YouTube Plug-in Thread - igenena - 2016-06-21

Guys, in my case its weird, first, the second authentication window was disappearing in a second, uninstalled youtube and reinstalled, now i have the 2nd auth, and i type it on the browser, but it still fails to load, heres a debug log, if someone can help plz: http://pastebin.com/sC0ewhyC

(log post deleted by MOD)


Added the pastebin debug log link


RE: Official YouTube Plug-in Thread - igenena - 2016-06-21

Here's the log without debug


03:23:01 2923.684814 T:1962692608 ERROR: Control 55 in window 10025 has been asked to focus, but it can't
03:23:07 2929.879883 T:1368388512 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.2) on Krypton (17.0) with Python 2.7.11
03:23:42 2964.003662 T:1384117152 ERROR: CPythonInvoker(25, /storage/.kodi/addons/plugin.video.youtube/default.py): script didn't stop in 5 seconds - let's kill it
03:23:42 2964.016357 T:1962692608 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/sign/in/
03:23:42 2964.018555 T:1962692608 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/sign/in/) failed
03:27:14 3176.715576 T:1325396896 ERROR: Unable to find plugin
03:27:14 3176.716064 T:1962692608 ERROR: GetDirectory - Error getting plugin://
03:27:14 3176.717285 T:1962692608 ERROR: CGUIMediaWindow::GetDirectory(plugin://) failed
03:27:41 3203.922607 T:1962692608 ERROR: Control 55 in window 10025 has been asked to focus, but it can't
03:27:46 3208.823730 T:1368388512 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.2) on Krypton (17.0) with Python 2.7.11
03:28:21 3243.449707 T:1748202400 ERROR: CPythonInvoker(26, /storage/.kodi/addons/plugin.video.youtube/default.py): script didn't stop in 5 seconds - let's kill it
03:28:21 3243.461426 T:1962692608 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/sign/in/
03:28:21 3243.463867 T:1962692608 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/sign/in/) failed
03:30:44 3386.399414 T:1325396896 ERROR: Unable to find plugin
03:30:44 3386.399658 T:1962692608 ERROR: GetDirectory - Error getting plugin://
03:30:44 3386.400879 T:1962692608 ERROR: CGUIMediaWindow::GetDirectory(plugin://) failed
03:30:45 3387.782715 T:1384117152 ERROR: GetDirectory - Error getting -
03:31:00 3402.119141 T:1962692608 ERROR: Window Translator: Can't find window musicsettings
03:31:31 3433.455078 T:1962692608 NOTICE: Log level changed to "LOG_LEVEL_DEBUG_FREEMEM"
03:31:31 3433.455322 T:1962692608 NOTICE: Enabled debug logging due to GUI setting. Level 2.
03:31:31 3433.455566 T:1962692608 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0


RE: Official YouTube Plug-in Thread - User 272336 - 2016-06-21

@igenena

Please stop posting directly logs or portions of logs.
This has a tendency to affect this site searches.
Please use pastebin.com or likewise and link logs.
Thanks.


RE: Official YouTube Plug-in Thread - igenena - 2016-06-21

(2016-06-21, 03:10)OTinley Wrote: @igenena

Please stop posting directly logs or portions of logs.
This has a tendency to affect this site searches.
Please use pastebin.com or likewise and link logs.
Thanks.


surething, will use that from now onwards, thanks 4 the tip

debug log http://pastebin.com/sC0ewhyC


RE: Official YouTube Plug-in Thread - gotiuser01 - 2016-06-21

Personal keys without Ads if I had to choose. I was reluctant to create my own keys because I thought it could be troublesome. But it actually took me less than 10 mins, thanks to the super-friendly guide written by jmh2002, and of course the new brilliant GUI option provided by the developers.

Would be great if this becomes switchable. I mean something like ads by default, but the personal key mode will still be selectable for people who don't want ads. Probably a lot of work or not even technically feasible but the users would get the best of both words.


RE: Official YouTube Plug-in Thread - gjwAudio - 2016-06-21

(2016-06-20, 19:08)jdf76 Wrote: ...If it's a bad idea then we know it's a bad idea, but i need more than 2 people to tell me it sucks if i'm going to get a good sample of responses.
Jeff

Hi Jeff
Yes... it sucks to be forced to watch ads. Been using my own API key since January this year, and didn't realize that may be partly responsible for my ad-free enjoyment of YT.

Please add my voice to the NO vote, if that's what you're counting Blush