Kodi Community Forum

Full Version: YouTube (IMPORTANT - READ FIRST POST)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2016-03-16, 17:33)Alanhit Wrote: [ -> ]Hello!
so this addon Kolifanes is that working?
Thanks :-)


yes. I'm using it on a RaspberryPI with RaspBMC. Just follow these instructions: http://forum.kodi.tv/showthread.php?tid=...pid2272482
Yes the addon at Kolifanes is working fine. Just click on the link in my signature to get the latest and greatest. We're still working out a central location and dev stuff.

Jeff
I posted this on a reddit post (https://www.reddit.com/r/kodi/comments/4...in/d12g557) which I think would be helpful for the Kodi users here, who want to use their own API keys (which I would suggest), to get this back working without having to go through all the posts on this forum (and if I made a mistake anywhere please let me know):

Quote:It actually is a really easy fix to get it back working. I would first suggest following the instructions here to generate your own Youtube API Key, which with these instructions is simple to follow (the instructions after the bold text 'End of edit 02/06/16' is no longer needed with the newer version you download in the next step) and also don't reinstall the youtube plugin like the author is stating after removing, that will be done in the 3rd step on my reddit post:

(1) http://forum.kodi.tv/showthread.php?tid=...pid2213129

(2) Then grab the latest youtube release from this person, which is located here, just grab the latest version .zip file:
https://github.com/Kolifanes/plugin.vide...e/releases

(3) You will need to manually install the zip via the addons option in Kodi, so find a place to store the zip file you can find it easily on Kodi.

(4) You will have to launch the new installed Youtube addon once and configure the initial settings for the file to be present you want to edit.

(5) After launching, I would suggest copying and pasting the api keys you generated from the first step into settings.xml file the addon creates, which the location of the settings.xml file is at the following link:
http://forum.kodi.tv/showthread.php?tid=...pid2276478

(6) The lines you want to edit in that settings.xml file are the three below, just replace the keys listed with your new keys you acquired in the first step. You can use any text editor but make sure you save it back as an xml file, not txt, if you use notepad:
<setting id="youtube.api.id" value="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" />
<setting id="youtube.api.key" value="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" />
<setting id="youtube.api.secret" value="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" />

Using your own keys you will never have to worry about them being overused by any other users. So, unless Google changes settings in youtube, this should continue to work. If you have any questions just reply to this post.
Thank you guys. It works well, I just installed
by zip file.
I'm sorry because some video does not find them. But there are on youtube.
Before it did not happen.
(2016-03-17, 15:29)Alanhit Wrote: [ -> ]Thank you guys. It works well, I just installed
by zip file.
I'm sorry because some video does not find them. But there are on youtube.
Before it did not happen.
No logs, no examples, no problem.
(2016-03-18, 03:29)nickr Wrote: [ -> ]
(2016-03-17, 15:29)Alanhit Wrote: [ -> ]Thank you guys. It works well, I just installed
by zip file.
I'm sorry because some video does not find them. But there are on youtube.
Before it did not happen.
No logs, no examples, no problem.

Here's an example: If you search for "gatto ti prego" in adddon doesn't find it.
The video is this: https://www.youtube.com/watch?v=KEYl3AWuDO0
It's just an example; before it was all over.
Thanks
Your search words were wrong. You can find it by typing gattotiprego
(2016-03-18, 12:46)Alanhit Wrote: [ -> ]
(2016-03-18, 03:29)nickr Wrote: [ -> ]
(2016-03-17, 15:29)Alanhit Wrote: [ -> ]Thank you guys. It works well, I just installed
by zip file.
I'm sorry because some video does not find them. But there are on youtube.
Before it did not happen.
No logs, no examples, no problem.

Here's an example: If you search for "gatto ti prego" in adddon doesn't find it.
The video is this: https://www.youtube.com/watch?v=KEYl3AWuDO0
It's just an example; before it was all over.
Thanks

Search "Un povero gattino affamato" and you will find it with addon
(2016-03-18, 16:22)*Spider* Wrote: [ -> ]Your search words were wrong. You can find it by typing gattotiprego

Thanks! Good both

Big Grin
(2016-03-18, 16:26)blueribb Wrote: [ -> ]Search "Un povero gattino affamato" and you will find it with addon

Thank you

Laugh
Kodi v17 crashes when Youtube is opened. But works when redirected to play video from external sources
And yet you provide no debug log (wiki)
Thanks amcfarla, this solved the issues I was having (I'd already gone through the API registration but was missing the latest version of the addon)

(2016-03-17, 00:03)amcfarla Wrote: [ -> ]I posted this on a reddit post (https://www.reddit.com/r/kodi/comments/4...in/d12g557) which I think would be helpful for the Kodi users here, who want to use their own API keys (which I would suggest), to get this back working without having to go through all the posts on this forum (and if I made a mistake anywhere please let me know):

Quote:It actually is a really easy fix to get it back working. I would first suggest following the instructions here to generate your own Youtube API Key, which with these instructions is simple to follow (the instructions after the bold text 'End of edit 02/06/16' is no longer needed with the newer version you download in the next step) and also don't reinstall the youtube plugin like the author is stating after removing, that will be done in the 3rd step on my reddit post:

(1) http://forum.kodi.tv/showthread.php?tid=...pid2213129

(2) Then grab the latest youtube release from this person, which is located here, just grab the latest version .zip file:
https://github.com/Kolifanes/plugin.vide...e/releases

(3) You will need to manually install the zip via the addons option in Kodi, so find a place to store the zip file you can find it easily on Kodi.

(4) You will have to launch the new installed Youtube addon once and configure the initial settings for the file to be present you want to edit.

(5) After launching, I would suggest copying and pasting the api keys you generated from the first step into settings.xml file the addon creates, which the location of the settings.xml file is at the following link:
http://forum.kodi.tv/showthread.php?tid=...pid2276478

(6) The lines you want to edit in that settings.xml file are the three below, just replace the keys listed with your new keys you acquired in the first step. You can use any text editor but make sure you save it back as an xml file, not txt, if you use notepad:
<setting id="youtube.api.id" value="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" />
<setting id="youtube.api.key" value="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" />
<setting id="youtube.api.secret" value="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" />

Using your own keys you will never have to worry about them being overused by any other users. So, unless Google changes settings in youtube, this should continue to work. If you have any questions just reply to this post.
Hello all,

Actually have the same crash problem with the last version of youtube addon 5.1.20.4 with Kodi v17 & the new skin.

Here is a crash log.

http://pastebin.com/fLBkjMUp

Not an expert but think the issue is in theses lines :
Seems that the extension doens't return correctly the directory list for the new skin.
NB : Tried to erase addon config before reproducing the issue to be sure.

Code:
12:58:49 T:1284    INFO: Loading skin file: MyVideoNav.xml, load type: KEEP_IN_MEMORY
12:58:49 T:3176   ERROR: XFILE::CDirectory::GetDirectory - Error getting
12:58:49 T:1284   ERROR: Previous line repeats 1 times.
12:58:49 T:1284   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.youtube/)
12:58:49 T:1284   DEBUG:   ParentPath = [plugin://plugin.video.youtube/]
12:58:49 T:1284   ERROR: CArchive::streamin_bufferwrap: can't stream in: requested 16777216 bytes, was read 6284 bytes
12:58:49 T:3176   DEBUG: CAddonDatabase::SetLastUsed[plugin.video.youtube] took 9 ms
12:58:49 T:1284   ERROR: CArchive::streamin_bufferwrap: can't stream in: requested 1684300124 bytes, was read 2410 bytes
12:58:50 T:1284   ERROR: exception in CApplication::FrameMove()
Hello,

To you who have followed the instruction how to install the new Youtube addon release 5.1.20.4 and got "login failed":

When configure the addon, the API id value should NOT contain ".apps.googleusercontent.com" at the end because the addon should add this automatically.