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

  Thread Rating:
  • 14 Votes - 4.64 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
HenrikDK Offline
Skilled Python Coder
Posts: 538
Joined: Jul 2007
Reputation: 17
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: 620
Joined: Apr 2008
Reputation: 3
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: 538
Joined: Jul 2007
Reputation: 17
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: 620
Joined: Apr 2008
Reputation: 3
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: 620
Joined: Apr 2008
Reputation: 3
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
mighty_bombero Offline
Member
Posts: 76
Joined: May 2007
Reputation: 0
Post: #16
Thanks for your efforts. I just updated and am now able to log in. The log message is still there and I ran into a video that failed ...

videoid=IcgfdtkcIW0

http://pastebin.com/pspWkX9g

MB
find quote
TobiasTheCommie Offline
Skilled Python Coder
Posts: 620
Joined: Apr 2008
Reputation: 3
Post: #17
mighty_bombero Wrote:Thanks for your efforts. I just updated and am now able to log in. The log message is still there and I ran into a video that failed ...

videoid=IcgfdtkcIW0

http://pastebin.com/pspWkX9g

MB

ehm, we need the entire log. Please upload the entire log to the pastebin i provided above.

but i guess it doesn't really matter

http://www.youtube.com/watch?v=IcgfdtkcIW0 <- it is marked private.

I am not sure if we can filter those out, i'll look into it tomorrow.

At the very least i will make it provide a nice notification of why it doesn't play.
find quote
procrastinator Offline
Fan
Posts: 448
Joined: Aug 2008
Reputation: 4
Location: UK
Post: #18
Great to see an updated YouTube plugin. I haven't used it extensively, but I like it, and so far I can say that it certainly looks like the search results make a lot more sense than the original plugin! Great work so far.

Anyway, first off I just wanted to add a feature request: Would it be possible to have a feature to search against a particular user? For example you could do a search for "the IT crowd" against the user "4oDcomedy", which would mean that the results you'd get would all be from the channel that creates the program, and would be full episodes rather than clips.

Secondly, I'm also getting the "login failed" error when I attempt to watch certain videos from 4oD (UK restricted rtmpe streams) that normally present an age warning (example). I tried a few different ones without success but, as I say, I've not used the plugin extensively yet. I did also try some other videos from 4oD that would not provide an age warning (example: this one) which started playing OK, but after a minute or two these would stop playing by themselves. This reminded me of what happened to BBC iPlayer videos before rtmpe streams were supported in that plugin. I also tried a video which I don't believe would be using rtmpe or age restrictions, and that one worked absolutely fine (it was this one).

full debug log, attempting access of the example videos above:
http://pastebin.com/LnAZkuud
find quote
BlueCop Offline
bipedal omnivore
Posts: 1,657
Joined: May 2004
Reputation: 70
Post: #19
I was curious is vevo music video content is possible? I think they removed their content from the API a while back. I haven't looked at your code so don't know what you guys are using but just putting in a request if possible. I was looking into making one specifically for vevos site but all their distrobution is still by YouTubes network.

Thanks for the plugin.
find quote
mighty_bombero Offline
Member
Posts: 76
Joined: May 2007
Reputation: 0
Post: #20
Hi,

didn't try to open the video on the actual site. It must have become private after I had added it to my favourites.

As the feature requests are coming in I would like to add one.

It is really nice that you have added the playlists in. It would be really awesome if I could queue up a whole playlist from the context menu. I think bluecop is building such queues in the southpark plugin if you need sample code.

MB
find quote
Post Reply