Posts: 270
Joined: Mar 2014
Reputation:
4
2016-11-18, 16:16
(This post was last modified: 2016-11-18, 16:32 by cat2115.)
I did not. Thanks. Just a question if possible.
Is there a way to enable the API instead of actually open YouTube and manually enable it? Will this work.
In __config__.py line "not __settings.get_bool('youtube.api.enable', True) else False"
Also is this how I put the API key (see red font):
<setting id="youtube.api.key" type="text" label="30201" default="KEY HERE" visible="eq(-1,true)"/>
<setting id="youtube.api.id" type="text" label="30202" default="KEY HERE" visible="eq(-2,true)"/>
<setting id="youtube.api.secret" type="text" label="30203" default="KEY HERE" visible="eq(-3,true)"/>
[/quote]
Posts: 5
Joined: Jan 2015
Reputation:
0
2016-11-19, 13:22
(This post was last modified: 2016-11-19, 13:48 by FrankDeRyder.)
Hi,
So I've got the latest add-on version installed 5.3.3 on the latest nightly Milhouse build of Kodi 17 for RPi.
I generated my own API keys as described in the start of this thread, all good, they are entered into the YouTube plugin settings.
But selecting 'Sign In' leaves me with a busy spinning icon and nothing actually happens, I don't get the option to 'Sign In'.
Am I doing something wrong?
Known issue with Milhouse build?
Anyone else experiencing this problem?
I've tried to search the thread but can't find anything similar.
Any pointers would be appreciated, would a log help? If so which one?
Thanks,
Frank
EDIT - Leaving it for sometime eventually the first verify code appeared which I input into the youtube.com/activate URL. Unfortunately nothing else has happened. No 2nd activation code etc.
Double EDIT - Got signed in eventually. There is an issue with how long it takes to sign in, well on my set up at least. Leaving the login boxes for an unreasonable amount of time, eventually the activation keys appear both times. But the whole process is taking around 20 mins to complete.
Posts: 128
Joined: Apr 2014
@jdf76:
Now that I gathered some experience in Kodi addon developement, I started experimenting with a few arguments changes at youtube addon.
There seems to be some inconsistency with newer Kodi versions and platforms having older python versions. For example Jarvis on Windows has 2.7.X and android was left with 2.6.X.
1) Line 281
here code is unreachable. Perhaps we may have to try commenting line #279 in the same file.
2) There is lot of legacy code left
here. I suggest changing it to at least this, which is ok at least from Helix:
Code:
item = xbmcgui.ListItem(label=video_item.get_title())
item.setArt({'thumb': video_item.get_image()})
item.setIconImage(video_item.get_image()) # deprecated since Jarvis
3) There is a bug affecting Jarvis and older versions of Kodi. If an addon calls youtube, its list_item will be replaced with the one from youtube, unless this addon has cacheToDisc=False in xbmcplugin.endOfDirectory.
Other than the above youtube works really fine for me. I also inserted my own api keys.
Posts: 268
Joined: Aug 2010
Reputation:
0
ix400
Senior Member
Posts: 268
Hi there,
are there any plans on implementing suppot for youtube 4k video playback?
This would be great!
Cheers,
Chris
unRAID Server, Pioneer VSX-LX52, Panasonic 65VT30, Marusys VU+ Duo, Zotac AD10