Kodi Community Forum

Full Version: YouTube
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I just created an api code in google but I can not get te key in de you tube add on of the raspberry. I can not select "API" in the settings. I can press General, mpegdash, folders, users, advanced, http server but not api. I uninstalled you tube en instaled it back and the problem is still the same.
What do I wrong?
(2020-12-13, 11:53)DarrenHill Wrote: [ -> ]@vladis - your thread has been merged into the main YouTube support thread (the post is on the previous page to this one, at the bottom).

Just in case you were wondering where it had gone.

Thanks, I have to get used to the forum Smile
@vladis - no problem, we just like to keep things neat and tidy here.

@Timmy 269 - similarly your thread has been merged into the YouTube addon support thread (this one). Your post is a couple above this one.

Again just in case you wondered where it had gone.
Thanks DarrenHill, but I can not find the answer why  I can not choose the option API in the menu.
May I ask how you implement the resolve of supported video url sent from kodi client? I mean the case when kodi client share video links to an available kodi server to play, and youtube addon rather than other addons will handle the url then play. Because I am trying to add such feature to another video addon. I have already read the source code "resources/lib/youtube_resolver.py", but I have no idea what makes the resolve function registered with kodi.
@vladis 
Will try to reproduce when I get a chance.

@Timmy 269 
You need to scroll the categories, some are off screen until your scroll.

@ArchieMeng 
If you're wanting the YouTube add-on to play the content, you would use the playable url for your listitem/builtin.
Code:
plugin://plugin.video.youtube/play/?video_id=CQypyGazkw
(2020-12-13, 21:17)anxdpanic Wrote: [ -> ]@vladis 
Will try to reproduce when I get a chance.

@Timmy 269 
You need to scroll the categories, some are off screen until your scroll.

@ArchieMeng 
If you're wanting the YouTube add-on to play the content, you would use the playable url for your listitem/builtin.
Code:
plugin://plugin.video.youtube/play/?video_id=CQypyGazkw

In fact, the caller I mean is the kodi mobile controller: kodi on Android. When share youtube links to kodi via these clients, the youtube addon will take over the resolve then play rather than other addons.
@ArchieMeng 
This is done app side, not something that can be configured afaik. edit: By this I mean the remotes usually use playable urls like above, which point to the youtube add-on.

@vladis 
Can you please provide a complete debug log (wiki) reproducing the issue.


I've updated post #2 and the repositories with 6.8.9~beta3
Code:
~beta3
[fix] items per page settings on Kodi 19
[chg] recommendations only available for users with custom history playlist id configured
@anxdpanic Thank you. So I have to work with kodi android now. lol.
So out of no where Youtube stoped working
LoginException:[500]

I have no time to look in to it deeper now.
Work is calling Sad
(2020-12-14, 14:15)Bigfood Wrote: [ -> ]So out of no where Youtube stoped working
LoginException:[500]

I have no time to look in to it deeper now.
Work is calling Sad

Youtube is down for big part of the world, nothing to do with this plugin.

https://downdetector.com/status/youtube/map/

jonib
@anxdpanic
can you please provide some help to configure ”custom history playlist id”?
@angelitto 

1. Create a playlist and name it something like 'Kodi Watch History 01' (really what ever you want)
    - In the add-on this can be done by opening the Context Menu on a video and choose 'More...' - 'Add to...' (you'll be able to create a new playlist here)

2. In the add-ons Main Menu choose 'Playlists' then open the Context Menu on 'Kodi Watch History 01' and choose 'Set as History'

Done.

The add-on will add videos you watch to the playlist you created, and recommendations will use this playlist for recommendations. This won't sync your YouTube watch history, but you will be able to access your Kodi watch history from other YouTube platforms. I hope that helps.
mmmmmmmmm.. @anxdpanic :

From about 2 hours it's not anymore to reproduce any video whit DASH enabled. I have also tryed to step back on some video of past days and no solution. Disabled DASH for video and all back to works.

It's some other can confirm this ?

On normal log it's appears this errrors:
Code:
2020-12-14 17:28:40.468 T:1915921328  NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.youtube/play/?video_id=9tgozkIW8_w
2020-12-14 17:28:40.478 T:1085272288  NOTICE: Creating InputStream
2020-12-14 17:28:40.480 T:1085272288   ERROR: IAddonInstanceHandler::CreateInstance: inputstream.adaptive returned bad status "Permanent failure" during instance creation
2020-12-14 17:28:40.480 T:1085272288   ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.youtube/play/?video_id=9tgozkIW8_w]
2020-12-14 17:28:40.481 T:1085272288  NOTICE: CVideoPlayer::OnExit()
2020-12-14 17:28:40.685 T:1915921328  NOTICE: CVideoPlayer::CloseFile()
2020-12-14 17:28:40.685 T:1915921328  NOTICE: VideoPlayer: waiting for threads to exit
2020-12-14 17:28:40.685 T:1915921328  NOTICE: VideoPlayer: finished waiting
2020-12-14 17:29:01.708 T:1915921328  NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.youtube/play/?video_id=TnuYbp_vqxY
2020-12-14 17:29:01.715 T:1263530208  NOTICE: Creating InputStream
2020-12-14 17:29:01.716 T:1263530208   ERROR: IAddonInstanceHandler::CreateInstance: inputstream.adaptive returned bad status "Permanent failure" during instance creation
2020-12-14 17:29:01.717 T:1263530208   ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.youtube/play/?video_id=TnuYbp_vqxY]
2020-12-14 17:29:01.717 T:1263530208  NOTICE: CVideoPlayer::OnExit()
2020-12-14 17:29:01.930 T:1915921328  NOTICE: CVideoPlayer::CloseFile()
2020-12-14 17:29:01.930 T:1915921328  NOTICE: VideoPlayer: waiting for threads to exit
2020-12-14 17:29:01.931 T:1915921328  NOTICE: VideoPlayer: finished waiting
@DjDiabolik 
It's working here, it looks like you have to disable 'Settings - Advanced - Use YouTube website urls' and 'Settings - Advanced - Support Alternative Player'

edit: maybe not. not sure what is going on there actually.