[RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC

  Thread Rating:
  • 24 Votes - 4.21 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
HenrikDK Offline
Skilled Python Coder
Posts: 539
Joined: Jul 2007
Reputation: 18
Thumbs Up  [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC
Post: #1
This plugin is now the official YouTube plugin in the add-on repo.

The latest stable version of the plugin is 3.1.0.

To run the plugin it is recommended that you use the stable XBMC 11 Eden release and simply get it from the official add-ons repo.

Login:
We understand that some users might be hesitant to pass on their google account credentials to the plug-in (paranoia is healthy Smile), and for these users we suggest only providing YouTube specific account credentials (ie. only the YouTube username and password).

NOTES:
Users who are still experiencing login issues should follow these guidelines when posting about their problems:
Troubleshooting Login issues

Since several components of the plugin are now distributed as distinct services, manual installation has become so complex that we've decided to no longer provide old version of the plugin on our website. The source code for the plugin can now be found in our Mercurial repository: here

Code:
We've had some requests for the source of the plugin lately, the plugin is still licensed under GPL3 and the code can be found here:
https://github.com/HenrikDK/youtube-xbmc-plugin

Issues and Problems:
Until now we've been using this thread to handle bug reporting, but it's gotten way to long, if you have persistent problems and you're unable to find answers on this forum, we suggest following this guide:

http://code.google.com/p/youtubexbmc/wik...llDebugLog

and posting an issue on our bug tracker here:

old: http://code.google.com/p/youtubexbmc/issues/list
new: https://github.com/HenrikDK/youtube-xbmc-plugin

Know issues and Testing
Part of this plugin also includes an extensive automated test suite where we test aprox. 70% of all the plugins functions nightly, if something breaks we'll usually know it. Please check the test results from this site before posting a bug on our tracker:
http://tc.tobiasussing.dk/jenkins/view/YouTube/

Source code:
https://github.com/HenrikDK/youtube-xbmc-plugin
(This post was last modified: 2013-08-22 13:49 by Martijn.)
find quote
TobiasTheCommie Offline
Skilled Python Coder
Posts: 618
Joined: Apr 2008
Reputation: 6
Post: #2
Comment and suggestions welcome.

In case you encounter any bugs with our plugin, please do report them so we can make this rock solid.
find quote
theuni Offline
Team-XBMC Communication Manager
Posts: 1,105
Joined: Oct 2007
Reputation: 2
Location: Atlanta, Ga, USA
Post: #3
Works great here, looks very nice.

TheUni
find quote
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #4
thanks! i try it !

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find quote
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #5
works great !!!
great video quality choice!
better search from what we got on the website, good work, my wife will be happy !!!

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find quote
malte Online
Skilled Python Coder
Posts: 1,346
Joined: Jan 2010
Reputation: 28
Location: Germany
Post: #6
looks great and no issues so far.

thanks a lotSmile
find quote
TobiasTheCommie Offline
Skilled Python Coder
Posts: 618
Joined: Apr 2008
Reputation: 6
Post: #7
Hehe, you might not have found any issues, but we have. Wink
find quote
skunkfu Offline
Member
Posts: 51
Joined: Jun 2010
Reputation: 0
Location: Sunny Scotland
Post: #8
This is VERY impressive. I highly suggest replacing nuka's youtube add-on with this master piece, beta or not. Kudos both of you. Nod
find quote
TobiasTheCommie Offline
Skilled Python Coder
Posts: 618
Joined: Apr 2008
Reputation: 6
Post: #9
Just uploaded a new zip.

Fixed:
- After showing the settings window on the first run it didn't login.
- Improved error messages related to login.
- Added some more error handling.
(This post was last modified: 2010-08-22 22:49 by TobiasTheCommie.)
find quote
mighty_bombero Offline
Member
Posts: 76
Joined: May 2007
Reputation: 0
Post: #10
Hi,

I'm having issues logging in on the latest svn built on Linux.

Getting this in the logs:

http://pastebin.com/ZpT6r2QP

Thanks for working on a better Youtube experience.

MB
find quote
HenrikDK Offline
Skilled Python Coder
Posts: 539
Joined: Jul 2007
Reputation: 18
Post: #11
mighty_bombero Wrote:Hi,

I'm having issues logging in on the latest svn built on Linux.

Getting this in the logs:

http://pastebin.com/ZpT6r2QP

Thanks for working on a better Youtube experience.

MB

Hi mighty_bombero,

could you please post the entire log with debug enabled.. we've seen these error's before, although not with the login function, but are at loss to explain them. From the snippet you posted i can't really see where the error occoures.. No
find quote
TobiasTheCommie Offline
Skilled Python Coder
Posts: 618
Joined: Apr 2008
Reputation: 6
Post: #12
mighty_bombero Wrote:Hi,

I'm having issues logging in on the latest svn built on Linux.

Getting this in the logs:

http://pastebin.com/ZpT6r2QP

Thanks for working on a better Youtube experience.

MB

I have looked in the code and httplib is only used after you login.

It is used when you add/remove favorites, subscriptions, contacts, etc. So it shouldn't even be used when you try to login.

Could you please give me your system information(OS, xbmc revision) as well as the debug log.

Also, could you try to login again after restarting XBMC.

We have seen this issue before, but we haven't been able to replicate it consistently, the few times it has happened it only happened once. If it happens consistently on your system we might have something to work with.

Sincerely
Tobias.
find quote
HenrikDK Offline
Skilled Python Coder
Posts: 539
Joined: Jul 2007
Reputation: 18
Post: #13
mighty_bombero Wrote:Hi,

I'm having issues logging in on the latest svn built on Linux.

Getting this in the logs:

http://pastebin.com/ZpT6r2QP

Thanks for working on a better Youtube experience.

MB

Hmm, I think i just might have recreated the same error on my system, logged in 3 times, while only entering my password and username the first time. First 2 times the plugin gave me an unknown error, third time it succeded, and the error log contains the same message 'NoneType' object is not callable".. very weird..
find quote
TobiasTheCommie Offline
Skilled Python Coder
Posts: 618
Joined: Apr 2008
Reputation: 6
Post: #14
mighty_bombero Wrote:Hi,

I'm having issues logging in on the latest svn built on Linux.

Getting this in the logs:

http://pastebin.com/ZpT6r2QP

Thanks for working on a better Youtube experience.

MB

Could you please update to the new version, I've added a bit of debug code to it.

That should give me more information.

Thanks Smile
(This post was last modified: 2010-08-23 01:20 by TobiasTheCommie.)
find quote
TobiasTheCommie Offline
Skilled Python Coder
Posts: 618
Joined: Apr 2008
Reputation: 6
Post: #15
I can't reproduce the error, but HenrikDK is getting this:

Quote:01:17:58 T:2694067456 M:280801280 INFO: Python, unloading python24.dll because no scripts are running anymore
01:17:58 T:2694067456 M:280801280 DEBUG: msg: Exception
01:17:58 T:2694067456 M:280801280 DEBUG: exceptions.TypeError
01:17:58 T:2694067456 M:280801280 DEBUG: msg: :
01:17:58 T:2694067456 M:280801280 DEBUG: msg: "
01:17:58 T:2694067456 M:280801280 DEBUG: msg: '
01:17:58 T:2694067456 M:280801280 DEBUG: msg: N
01:17:58 T:2694067456 M:280801280 DEBUG: msg: o
01:17:58 T:2694067456 M:280801280 DEBUG: msg: n
01:17:58 T:2694067456 M:280801280 DEBUG: msg: e
01:17:58 T:2694067456 M:280801280 DEBUG: msg: T
01:17:58 T:2694067456 M:280801280 DEBUG: msg: y
01:17:58 T:2694067456 M:280801280 DEBUG: msg: p
01:17:58 T:2694067456 M:280801280 DEBUG: msg: e
01:17:58 T:2694067456 M:280801280 DEBUG: msg: '

The first line says that python has been unloaded. So this problem appears to be an internal XBMC error.

So you should be able to login, even if you get that error.

If you continue having problems please give us a full log with debug enabled, with the newest release.

You can upload a log file here:
http://pastebin.ca/upload.php
find quote
Post Reply