Kodi Community Forum

Full Version: [depricated] old YouTube Plugin - XBMC 13.0 Frodo/Gotham only
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Thanks for the fast reply, Henrik!

HenrikDK Wrote:Hi as far as I can tell that seems to be an incomplete log, please post a full log with debug enabled in the plugin.

Oh right, I forgot to turn on debugging in the plugin itself. And yep, I extracted the lines I thought would be relevant. Smile I'll repeat the test and attach a full log.

Quote:What skin are you using?

I tried it with Confluence and currently I'm using Transparency. The issue occurs in both.

Quote:Yeah this seems to be an issue with xbmc's player core and the way youtube handles fastforwading through streems.

Alright, let's hope there will be a fix for that some time from the "core people". Smile
ghostelement Wrote:Feature Request - For user playlists, can we get the ability to play all items in the playlist? Also, can we get the ability to play the items in random order? Thanks!

You can shuffle the playlist made with "queue folder".
Loc2262 Wrote:Thanks for the fast reply, Henrik!



Oh right, I forgot to turn on debugging in the plugin itself. And yep, I extracted the lines I thought would be relevant. Smile I'll repeat the test and attach a full log.
On windows i see the size as being 0 bytes, until the download has completed. But it should complete.
@Tobias: Yeah actually you're right... About 10 minutes after I posted my report, I checked back in the target directory and found the download completed indeed.

I started it again now, and in my TCP Monitor I see that it's downloading at 75 kB/s, while the file stays at size 0 and also the free disk space does not decrease (on neither of my drives, not on the profile one, the XBMC application one or download destination one).

It's possible that I was just confused about that, since there's no visual (or file size) clue whatsoever that the transfer is running. Smile

Additional info about the list mode: I just tried the "Aeon MQ" skin, and there it also reverts to default view mode every time I change directories in Youtube.

Hinz

HenrikDK Wrote:Not sure I get this one, which is probably why it's missing Big Grin, could you elaborate (perhaps even make screenshots for the un-enlightened? Big Grin )

When you queue a video "Now playing..." (a link to the queue playlist) will appear in the context menu in the plugin everywhere except when bringing up the context menu on YouTube videos and on the subscriptions.

"Now playing" in the context menu with ".." selected:
http://img651.imageshack.us/img651/3213/...hot000.gif

"Now playing" missing when a video is selected:
http://img530.imageshack.us/img530/4188/...hot001.gif

"Now playing" missing when a subscription is selected:
http://img207.imageshack.us/img207/6589/...hot002.gif

It's not that important, but I actually thought the plugin had some own hidden video queue as "Now playing" didn't appear when I had the selection on a video.


Deleting favorites doesn't work in 1.9.2.
http://pastebin.ca/1971167
I can't seem to play any video unfortunately. I can browse videos just fine and i see the thumbnails for the videos but i cant play any video.
here's my log http://pastebin.com/f4uYUEZL

I tried to play this video if it matters. http://www.youtube.com/watch?v=wfjRHSA9oTo

i'm on dharma beta3 using 1.9.2 of the addon, i've had the same problem on beta2 and i've tried different versions of the add-on.
HenrikDK Wrote:We've tried to create a play all context menu item but couldn't get it to work, but Playlists should already have the Queue Folder option which would allow you to achieve almost the same thing (you have to start the first video but the rest should be the same). Don't know if XBMC has a shuffle option for video playlists but its basically out of our hands, please file a trac ticket if it isn't possible Smile.

Thanks, this does work like you said, but it's a bit cumbersome. If there's an easier way that can be built in, that would be awesome.
plumser Wrote:I can't seem to play any video unfortunately. I can browse videos just fine and i see the thumbnails for the videos but i cant play any video.
here's my log http://pastebin.com/f4uYUEZL

I tried to play this video if it matters. http://www.youtube.com/watch?v=wfjRHSA9oTo

i'm on dharma beta3 using 1.9.2 of the addon, i've had the same problem on beta2 and i've tried different versions of the add-on.

Neither me nor Henrik have any problem playing that video. And looking in the log it doesn't appear to have anything to do with our plugin.

But please try the following:
1 - Play a movie.
2 - Find the playback url in the log (it looks like this "http://v14.lscache5.c.youtube.com/videoplayback?ip=85.0.0.0&sparams=id,expire,ip,ipbits,itag,ratebypass&fexp=905301&itag=22&ipbits=8&sver=3&ratebypass=yes&expire=1287972000&key=yt1&signature=850E8AD03D1D6B24CE3D5F2FEC73949EFA6BEBFE.24D28145A8C9F5C7F13C21140C143AEA6C953CE0&id=c1f8d11d203da13a". Look at line 1239 in your log.
3 - Play the link in vlc/mplayer and see if it fails.

If it works in vlc/mplayer the problem is most likely with xbmc(proxy settings or something?), if vlc/mplayer can't play the video the problem is with your network setup(route, firewall, etc).
Release You Tube Beta 1.9.3

http://code.google.com/p/youtubexbmc/downloads/list

Changelog:
- Improved api login
- Improved http login
- Added YouTube Show Scraper
- Fixed Disco Search (YouTube broke it)
- Fixed missing context menu items from folders everywhere..
- Hardened handling of age restricted videos
- No longer try login when no credentials have been provided.

Enjoy. Smile

Btw, if someone can patch our plugin to work with xbox we would love to pull it in before the final 2.0 release.
skila Wrote:Err, plugin makers, I don't know if you are interested, but I did some hacking of your code to try and add in browsing for TVShows in YouTube.

http://www.megaupload.com/?d=BL4T84WH

I created a YouTubeScraperShows python file which currently extends the YouTubeScraperCore class in order to avoid messing with that. The code currently allows me to list show categories, browse these for shows and then play individual episodes. Currently the scraper for episodes only scrapes the "current season" and does not take the paging into account, but you are welcome to the code for what it's worth.

The other changes - search for "SKILA_MODIFIED"
YouTubeNavigation.py - uses YouTubeScraperShows rather than YouTubeScraperCore, adds in a category for the scraper "shows", modifies scrape & parseFolderList to use the scraper called "shows".
YouTubeCore - added urls for "shows" and "show" (sorry missed off the "SKILA_MODIFIED" bit)
language XML: add "TVShows" string

Let me know if it's a pile-o-sh**e or any use - it was hacked up fairly quickly Wink

Hi Skila, Just wanted to thank you for this code, alot of it made it into the final version, though i integrated it differently than you Smile (didn't want to duplicate the scraper pagination, as that code is filled with so many strange numbers and other darkmagic that even I get confused by it sometimes). I also changed a few things

1. Used our batch function for requesting video info,
2. Implemented a "local cache" of sorts to reduce load on googles servers and reduce the number of http request roundtrips.
3. Selected a higher quality thumbnail from the "shows" grid
4. Added option for user to select show season
TobiasTheCommie Wrote:Neither me nor Henrik have any problem playing that video. And looking in the log it doesn't appear to have anything to do with our plugin.

But please try the following:
1 - Play a movie.
2 - Find the playback url in the log (it looks like this "http://v14.lscache5.c.youtube.com/videoplayback?ip=85.0.0.0&sparams=id,expire,ip,ipbits,itag,ratebypass&fexp=905301&itag=22&ipbits=8&sver=3&ratebypass=yes&expire=1287972000&key=yt1&signature=850E8AD03D1D6B24CE3D5F2FEC73949EFA6BEBFE.24D28145A8C9F5C7F13C21140C143AEA6C953CE0&id=c1f8d11d203da13a". Look at line 1239 in your log.
3 - Play the link in vlc/mplayer and see if it fails.

If it works in vlc/mplayer the problem is most likely with xbmc(proxy settings or something?), if vlc/mplayer can't play the video the problem is with your network setup(route, firewall, etc).

Thx for the reply, i was at first not able to play the stream with mplayer but after a complete reinstallation i was able to get it to play with mplayer but not with the plugin. I can even download youtube movies with the plugin and watch them in movie player/vlc etc.. but not the plugin!? this is so weird..
I've tried opening ports with no improvements. I disabled ipv6 since it seemed to cause problems when using mplayer in the beginning.
I don't use any proxy.
Does anyone have a suggestion?
Hey guys,

I can't login to youtube. Sad However, playing videos works fine.
The plugin keeps telling me:
"Maximum login attempts tried."

Is this a known bug?

My configuration:
Shuttle XS35GT
Openelec.tv 4432 (includes Dharma B4)
plugin.video.youtube.beta-1.9.3

Did not work with youtube 1.8 and Dharma B3 either. :/

Any ideas?
counter Wrote:Hey guys,

I can't login to youtube. Sad However, playing videos works fine.
The plugin keeps telling me:
"Maximum login attempts tried."

Is this a known bug?

My configuration:
Shuttle XS35GT
Openelec.tv 4432 (includes Dharma B4)
plugin.video.youtube.beta-1.9.3

Did not work with youtube 1.8 and Dharma B3 either. :/

Any ideas?

Hi, it's pretty hard to tell what's wrong without a debug log (remember to enable debug in the plugin settings) Wink
plumser Wrote:Thx for the reply, i was at first not able to play the stream with mplayer but after a complete reinstallation i was able to get it to play with mplayer but not with the plugin. I can even download youtube movies with the plugin and watch them in movie player/vlc etc.. but not the plugin!? this is so weird..
I've tried opening ports with no improvements. I disabled ipv6 since it seemed to cause problems when using mplayer in the beginning.
I don't use any proxy.
Does anyone have a suggestion?
Have you tried playing other web streams og web sourced content from within xbmc?

You could also try removing as many layers between xbmc and your internet router as possible.. I can't really imagine that it's not related to some network or system configuration problem as the error came from within xbmc player core. Could you also try enabling debug in xbmc's settings and uploading a new log?, maybe that will help specify the error Huh. Also remember to update to the latest beta.. Smile
Hinz Wrote:When you queue a video "Now playing..." (a link to the queue playlist) will appear in the context menu in the plugin everywhere except when bringing up the context menu on YouTube videos and on the subscriptions.

"Now playing" in the context menu with ".." selected:
http://img651.imageshack.us/img651/3213/...hot000.gif

"Now playing" missing when a video is selected:
http://img530.imageshack.us/img530/4188/...hot001.gif

"Now playing" missing when a subscription is selected:
http://img207.imageshack.us/img207/6589/...hot002.gif

It's not that important, but I actually thought the plugin had some own hidden video queue as "Now playing" didn't appear when I had the selection on a video.


Deleting favorites doesn't work in 1.9.2.
http://pastebin.ca/1971167

Hmm, I can understand the confusion that might create, but im not really fond of adding another "xbmc legacy" context menu item as the menu's all ready quite full Sad.