Kodi Community Forum
Release [depricated] old YouTube Plugin - XBMC 13.0 Frodo/Gotham only - 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 [depricated] old YouTube Plugin - XBMC 13.0 Frodo/Gotham only (/showthread.php?tid=79487)



- HenrikDK - 2011-08-09

Japaja Wrote:What nmirza said login doesn't work I get this in log:

Code:
03:55:13 T:1728  NOTICE: YouTube2.6.0
03:55:13 T:1236   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.youtube/?path=/root/login&action=settings&
03:55:13 T:1236   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/?path=/root/login&action=settings&) failed
and there are two strings from settings/explore youtube missing in strings.xml:

<setting id="music" type="bool" label="30286" default="true" />
<setting id="live" type="bool" label="30287" default="true" />

edit: also these errors are in the log

Code:
File "C:\Users\japaja\AppData\Roaming\XBMC\addons\plugin.video.youtube\default.py", line 66, in <module>
    __login__.login()
File "C:\Users\japaja\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeLogin.py", line 76, in login
    (result, status) = self._apiLogin()
File "C:\Users\japaja\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeLogin.py", line 135, in _apiLogin
    oauth = json.loads(ret["content"])
File "C:\Program Files\XBMC\system\python\Lib\json\__init__.py", line 307, in loads
    return _default_decoder.decode(s)
File "C:\Program Files\XBMC\system\python\Lib\json\decoder.py", line 319, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\XBMC\system\python\Lib\json\decoder.py", line 338, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Hmm those json errors are interesting, could you try and follow this guide and give us a complete log?
http://code.google.com/p/youtubexbmc/wiki/TroubleShootingLoginIssues


login error - GregKael - 2011-08-09

I'm getting a login error with version 2.6.0 running on the 7th August nightly build of XBMC.

It was a clean install of xbmc. Previous stable build with the plugin (not sure which version) did work, although only when moderate search was on.

http://pastebin.com/QFTNDPDZ


- HenrikDK - 2011-08-09

GregKael Wrote:I'm getting a login error with version 2.6.0 running on the 7th August nightly build of XBMC.

It was a clean install of xbmc. Previous stable build with the plugin (not sure which version) did work, although only when moderate search was on.

http://pastebin.com/QFTNDPDZ

Yeah im seeing it here now too, seems youtube changed their oauth2 verification procedure.


- HenrikDK - 2011-08-09

I've just pushed a bug fix that should reenable login functionality for people on eden-pre (v.2.6.1).


- illiac4 - 2011-08-09

TobiasTheCommie Wrote:@dimzon & @speed32219

This is a version 2.1.1 zip file that you can install.
http://www.zshare.net/download/9338349727da08ae/

Note: Do not use this if you have an otherwise functioning stable version of youtube.

@dimzen:

Specifically what do you mean by the subtitle addon no longer works?
All the plugins version that you have pushed does not work for me. This is one tat works, but it is always updated automatically and so broken every day. Is it possible to disable the update check for just one addon or. What shuold i change so the addon will thibk that it is most recent and will not do auto updates.to


- HenrikDK - 2011-08-09

illiac4 Wrote:All the plugins version that you have pushed does not work for me. This is one tat works, but it is always updated automatically and so broken every day. Is it possible to disable the update check for just one addon or. What shuold i change so the addon will thibk that it is most recent and will not do auto updates.to

Without knowing what XBMC version you're running (nightly or stable, and how old) or an error log to look at it's hard knowing what's going on with your xbmc. but if you want to keep that version just change its version number in the addon xml to something like 3.0.0 then it'll be a while before you get an update again, please not this is NOT recommended since you will not get updates when youtube change something.


- GregKael - 2011-08-09

HenrikDK Wrote:I've just pushed a bug fix that should reenable login functionality for people on eden-pre (v.2.6.1).

Thanks


- Japaja - 2011-08-10

HenrikDK Wrote:Hmm those json errors are interesting, could you try and follow this guide and give us a complete log?
http://code.google.com/p/youtubexbmc/wiki/TroubleShootingLoginIssues

Just read this, but the login problem is solved in this latest 2.6.1 update so I guess there is no need for that complete log. Smile

And so u don't forget u are still missing those 2 strings..
Image


- Hirs - 2011-08-10

I can't login with my application-specific password, is there any reason for this?


- TobiasTheCommie - 2011-08-10

Hirs Wrote:I can't login with my application-specific password, is there any reason for this?

With no more information.. Who knows.

If you are running eden-pre then you should have version 2.6.1 which doesn't need application-specific passwords. It does 2-factor authentication properly.

If you are running Dharma stable, i would need a debug log (Note: For dharma you will have to enable debug, and then restart xbmc, and then try to login).


- TobiasTheCommie - 2011-08-10

Japaja Wrote:Just read this, but the login problem is solved in this latest 2.6.1 update so I guess there is no need for that complete log. Smile

And so u don't forget u are still missing those 2 strings..
Image

Thanks, we will get it fixed. Smile


- Hirs - 2011-08-10

TobiasTheCommie Wrote:With no more information.. Who knows.

If you are running eden-pre then you should have version 2.6.1 which doesn't need application-specific passwords. It does 2-factor authentication properly.

If you are running Dharma stable, i would need a debug log (Note: For dharma you will have to enable debug, and then restart xbmc, and then try to login).

I'm running eden-pre 2:11.0~git20110809.52a14da-0ubuntu1~ppa1~natty

According to google, last time I used the youtube-xbmc specific pass was on august 8. The plugin says the user or pass is invalid. I have created a new one, but still the same


Code:
13:27:45 T:139991559198464  NOTICE: -->Python Interpreter Initialized<--
13:27:45 T:139991559198464  NOTICE: YouTube2.6.1
13:27:45 T:139992161343424   ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/?path=/root/login&action=settings&
13:27:45 T:139992161343424   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/?path=/root/login&action=settings&) failed
13:27:45 T:139991550805760  NOTICE: -->Python Interpreter Initialized<--
13:27:45 T:139991550805760  NOTICE: YouTube2.6.1


This is the debug log with debugging enabled: http://pastebin.com/00PyU5Kj

Oh, the username is my youtube username, I've tried my google username as well

Log with the plugin debug enabled (I have changed only my pass): http://pastebin.com/Nqy4jNbZ


Of course! - wasabi - 2011-08-10

HenrikDK Wrote:CD icon? I don't remember creating a cd icon for the plugin ever, so that would be a no Smile

you should be able to select download from the context menu as pictured here:
http://code.google.com/p/youtubexbmc/wiki/VideoFeed1

If that doesnt work please create a debug log and upload it to pastebin.

Thanks a lot, Hendrik.
HuhNewbies, eh.


- TobiasTheCommie - 2011-08-10

Hirs Wrote:I'm running eden-pre 2:11.0~git20110809.52a14da-0ubuntu1~ppa1~natty

According to google, last time I used the youtube-xbmc specific pass was on august 8. The plugin says the user or pass is invalid. I have created a new one, but still the same


Code:
13:27:45 T:139991559198464  NOTICE: -->Python Interpreter Initialized<--
13:27:45 T:139991559198464  NOTICE: YouTube2.6.1
13:27:45 T:139992161343424   ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/?path=/root/login&action=settings&
13:27:45 T:139992161343424   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/?path=/root/login&action=settings&) failed
13:27:45 T:139991550805760  NOTICE: -->Python Interpreter Initialized<--
13:27:45 T:139991550805760  NOTICE: YouTube2.6.1


This is the debug log with debugging enabled: http://pastebin.com/00PyU5Kj

Oh, the username is my youtube username, I've tried my google username as well

Log with the plugin debug enabled (I have changed only my pass): http://pastebin.com/Nqy4jNbZ

Ok, i see a problem.

We will look into it.


- Jackhari - 2011-08-10

In the stable version of the plugin,
When I go to movies>indian cinema it doesn't list any videos.
Can this bug be looked at.
Same happens in pre Eden beta.