• 1
  • 205
  • 206
  • 207(current)
  • 208
  • 209
  • 258
Release YouTube (IMPORTANT - READ FIRST POST)
(2016-02-19, 19:44)ateevee2 Wrote: Hi all!
This one definitely works:
https://github.com/kolinger/plugin.video...5.1.17.zip

I had another file (682.33 kb) that didn't work.
Make sure you have the plugin.video.youtube-5.1.17.zip that is 554.78kb (the one in the link).
What I did:
Uninstall youtube add-on
Delete the youtube plugin folder in useraaddon
Install from zip
Launch, go through the setup-wizard and sign in

I was having issues with youtube note retrieving video info (time, description) and most categories (subscriptions, etc) would return an error.
Now everything is working perfectly.

Thanks a lot to all involved =)


****Im running kodi helix 14.2 on an appletv2****

Hello,

last step didn't work for me. Got an error after the wanna set culture question

error LOG:
Code:
18:59:25 T:4760   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: 'items'
                                            Traceback (most recent call last):
                                              File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.video.youtube\default.py", line 7, in <module>
                                                runner.run(__provider__)
                                              File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\kodion\runner.py", line 32, in run
                                                __RUNNER__.run(provider, context)
                                              File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\kodion\impl\xbmc\xbmc_runner.py", line 23, in run
                                                results = provider.navigate(context)
                                              File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\kodion\abstract_provider.py", line 113, in navigate
                                                self._process_wizard(context)
                                              File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\kodion\abstract_provider.py", line 100, in _process_wizard
                                                wizard_step[0](*wizard_step[1])
                                              File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube\helper\yt_setup_wizard.py", line 49, in process
                                                _process_language(provider, context)
                                              File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube\helper\yt_setup_wizard.py", line 14, in _process_language
                                                items = json_data['items']
                                            KeyError: 'items'
                                            -->End of Python script error report<--
18:59:25 T:672   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.youtube/
18:59:25 T:672   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/) failed
(2016-02-19, 17:19)finalmakerr Wrote: xbmc.executebuiltin('PlayMedia(plugin://plugin.video.youtube/play/?video_id='+ url +')')

This is what I am using in Python.
If you want to use it from a skin command then it's should look like that:

PlayMedia(plugin://plugin.video.youtube/play/?video_id=WFwHq6cY040)
Thanks for your answer. May I be so bold as to write to you privately about this? I don't want to pollute the thread with a matter not relevant to the grand majority of users.
For troubleshooting and bug reporting please make sure you read this first (usually it's enough to follow instructions in the second post).
Sure
(2016-02-19, 20:03)M.t.B. Wrote:
(2016-02-19, 19:44)ateevee2 Wrote: Hi all!
This one definitely works:
https://github.com/kolinger/plugin.video...5.1.17.zip

I had another file (682.33 kb) that didn't work.
Make sure you have the plugin.video.youtube-5.1.17.zip that is 554.78kb (the one in the link).
What I did:
Uninstall youtube add-on
Delete the youtube plugin folder in useraaddon
Install from zip
Launch, go through the setup-wizard and sign in

I was having issues with youtube note retrieving video info (time, description) and most categories (subscriptions, etc) would return an error.
Now everything is working perfectly.

Thanks a lot to all involved =)


****Im running kodi helix 14.2 on an appletv2****

Hello,

last step didn't work for me. Got an error after the wanna set culture question

error LOG:
Code:
18:59:25 T:4760   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: 'items'
                                            Traceback (most recent call last):
                                              File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.video.youtube\default.py", line 7, in <module>
                                                runner.run(__provider__)
                                              File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\kodion\runner.py", line 32, in run
                                                __RUNNER__.run(provider, context)
                                              File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\kodion\impl\xbmc\xbmc_runner.py", line 23, in run
                                                results = provider.navigate(context)
                                              File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\kodion\abstract_provider.py", line 113, in navigate
                                                self._process_wizard(context)
                                              File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\kodion\abstract_provider.py", line 100, in _process_wizard
                                                wizard_step[0](*wizard_step[1])
                                              File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube\helper\yt_setup_wizard.py", line 49, in process
                                                _process_language(provider, context)
                                              File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube\helper\yt_setup_wizard.py", line 14, in _process_language
                                                items = json_data['items']
                                            KeyError: 'items'
                                            -->End of Python script error report<--
18:59:25 T:672   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.youtube/
18:59:25 T:672   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/) failed

Had same problem trying that. If I choose " no" it works. No idea why, sorry =)
(2016-02-19, 19:44)ateevee2 Wrote: Hi all!
This one definitely works:
https://github.com/kolinger/plugin.video...5.1.17.zip

I had another file (682.33 kb) that didn't work.
Make sure you have the plugin.video.youtube-5.1.17.zip that is 554.78kb (the one in the link).
What I did:
Uninstall youtube add-on
Delete the youtube plugin folder in useraaddon
Install from zip
Launch, go through the setup-wizard and sign in

I was having issues with youtube note retrieving video info (time, description) and most categories (subscriptions, etc) would return an error.
Now everything is working perfectly.

Thanks a lot to all involved =)


****Im running kodi helix 14.2 on an appletv2****

thank you.
its work!
Hi.

No luck here either. It could be that I am running an Android box and have no idea how to delete the youtube plugin folder. Is that a critical step?

Thanks everyone for working so hard on this. It is super frustrating, especially since the YT app on the playstore is such crap.
(2016-02-19, 21:29)tomchateau Wrote: Hi.

No luck here either. It could be that I am running an Android box and have no idea how to delete the youtube plugin folder. Is that a critical step?

Thanks everyone for working so hard on this. It is super frustrating, especially since the YT app on the playstore is such crap.

I don't have an android but from a websearch,it should be located here
Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data
Hope it helps

Ps: I'm a total noob, I have no idea if this step is really necessary but it's worth a try!
(2016-02-19, 21:29)tomchateau Wrote: Hi.

No luck here either. It could be that I am running an Android box and have no idea how to delete the youtube plugin folder. Is that a critical step?

Thanks everyone for working so hard on this. It is super frustrating, especially since the YT app on the playstore is such crap.
Do you have root access to your Android box? you could install an app called juiceSSH and check the path for the directory you need to delete. I don't have an Android box, but it might be something like...

Code:
$ cd /Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/

then enter ....

Code:
$ ls

to show directories below, you should see the one you need to delete called 'plugin.video.youtube'

if so then run the following command

Code:
$ rm -r /Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/plugin.video.youtube
Ok, I am getting nowhere with this. Thanks marriol123343 for the info, but I can't get anything to work. I even tried ADB to sideload the zip file and I'm using es file explorer, but I can't find it anywhere on the stick. I just want youtube back.

:UPDATE:
Thank you soooooo much marriol123343 and ateevee2 for all your help! Got it up & running again!
@tomchateau Yes, it's critical (because of the files client.py and client.pyo). Try to find it!

It is also critical after install the fixed version to (run setup assistant and) do the 2x activations to make sure using the new api keys.

Deleting the folder (that includes client.py and client.pyo) and doing the 2x activations ensure that new api key are used. That's important and than it works definitely!!!!
@Old Grey Beard I cannot help with the folderstructure of FTV, but maybe someone other can assist because it is critical to make your system clean of the folder/client.py+client.pyo
(2016-01-13, 01:57)activoice Wrote: Ok I think I got it working... someone else who has their's working should confirm that I've got this documented correctly...
(if this doesn't fix, or you mess things up you should be able to uninstall and reinstall the youtube plugin and it will reset to the default settings)


First uninstal the YOUTUBE addon (you probably don't have to do this but it was just cleaner this way I didn't have to delete any folders)

Then reinstal the YOUTUBE addon... don't sign in

Close KODI


Thent go to
https://console.developers.google.com/apis/

Click on Credentials, then New Credentials, then API key, and select Browser Key, give it a name and click Create (this creates the KEY)

Then back to Credentials
Click on Credentials, then New Credentials, then OAuth Client ID, select Other, give it a name and click Create (this creates the ID and SECRET)

At this point you've got 2 sets of credentials

Edited 02/06/16
Verify that the Youtube API is enabled

Go to
https://console.developers.google.com/apis/enabled
Verify that you see YouTube Data API v3 in the list

If it is NOT in the list go to
https://console.developers.google.com/apis/library

Click on the link for YouTube Data Api
Click on Enable API at the top

Go back to
https://console.developers.google.com/apis/enabled

Verify that YouTube Data API v3 is now in the list

End of edit 02/06/16


Locate the file - login_client.py
(On Windows it's located here - C:\Users\username\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube\client

Within the file login_client.py find the section that corresponds to the version of KODI that you're using in my case I'm running version 15.2

youtube-for-kodi-15': {
'system': 'Isengard',
'key': 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
'id': 'bbbbbbbbbbbbbbbbbbbbbbbbbbbbb.apps.googleusercontent.com',
'secret': 'ccccccccccccccccccccccccccc'

Set the Key to the Browser API key you created first
Set the ID to the OAuth Client ID you created second
Set the Secret to the Client Secret shown in OAuth Client ID

(Make sure that you're copying and pasting these between the quote marks)

Save the updated login_client.py file

Then launch KODI
Select the YOUTUBE Addon
Select SIGN IN

Then do the 2 x activation thing where you go to
youtube.com/activate

Enter the code from KODI, click NEXT then click ALLOW
Then enter the second code from KODI, click NEXT, then ALLOW

And that should be it... mine seems to be working...

Thank you for this fix. I would suggest once you confirm it works, and you have multiple Kodi media centers, save a copy of the modified 'login_client.py' file in a different location and then copy that file to the other devices after logging off youtube on each one. This worked on all my Kodi media centers.
Hi,

You are good, that pointed me right to the files to deleted.

Alas though, YT still no workie ;o(

Thanks Though
Stop the presses!!!!

After the convoluted two step activation process it seems to be working now. Go figure, thanks.
@tomchateau You will reach your aim Smile Did you run the setup assistant and do the 2x activation again? If not, try again:
(try do sign out in the addon), uninstall again, delete the folder, install the fixed version, do not start addon (!) rather go to configure - run setup assistant, do the 2x activation. give feedback ;-)
  • 1
  • 205
  • 206
  • 207(current)
  • 208
  • 209
  • 258

Logout Mark Read Team Forum Stats Members Help
YouTube (IMPORTANT - READ FIRST POST)20