@procrastinator:
Ok, actually getting somewhere, slowly, now with the rtmp thing. I can see that youtube doesn't give you a swfConfig, which we need to playback the video.
I've made some updates and here is revision 96.
http://rapidshare.com/files/415463144/pl...ta-r96.zip
Note: This version is just for procrastinator, download 0.9.7 instead of this unless you have rtmpe problems.
I hardened our swfConfig scraper. In did some other minor stuff.
I honestly don't know if anyone else have used rtmp at all. So this issue might be just you, or it may be a general one.
But it works for both me and HenrikDK.
Still, this needs to be fixed, even if it is is just you, someone else will encounter the same problem later.
The 30 second delay is weird. It is a login function(a different one) waiting for youtube.com to respond.
I have updated the function a bit, and hopefully it won't trigger now.
But the normal login, you got a [1] which meant it had to retry once before it logged in. So, backup loop kicked in. Which is good. That it was needed was bad.
I really think this login issue is not plugin specific. It seems more and more like it is a connection problem unrelated to our plugin(and most likely unrelated to xbmc as well).