• 1
  • 59
  • 60
  • 61(current)
  • 62
  • 63
  • 315
Release [depricated] old YouTube Plugin - XBMC 13.0 Frodo/Gotham only
Therms Wrote:Is there a way (and, if not, could we get a way) to access YouTube 100? It would be great to just play through them like you can on the website....you know, start them playing and walk away and it plays the top 100 music videos. Bonus points if you can shuffle them!

If the dev doesn't want/have time, if you'd point me in the right direction I'll see about implementing it myself. I'm a Python dev with no XBMC experience...

http://gizmodo.com/5801695/screw-mtv-you...vant-again

Play All functionality is already in the current beta which you can get from svn, basically you just need to create a scraper that can fetch a list of video id's, and from there call our core to fetch the video information. Im currently busy working on the playlist management code and backporting some fixes to the release branch, so a patch would be very much appreciated.

Files to look into
This file gives several examples of other scrapers that we currently have something like the trailers scraper would probably be preferable:
http://code.google.com/p/youtubexbmc/sou...perCore.py

This file implements the queuing and automatic playback of several different listing types:
http://code.google.com/p/youtubexbmc/sou...Control.py

I would suggest also look into creating a more general scraper for the http://www.youtube.com/music section as it seems theres a lot of content there that would fit in nicely Smile
HenrikDK Wrote:Play All functionality is already in the current beta which you can get from svn, basically you just need to create a scraper that can fetch a list of video id's, and from there call our core to fetch the video information. Im currently busy working on the playlist management code and backporting some fixes to the release branch, so a patch would be very much appreciated.

Files to look into
This file gives several examples of other scrapers that we currently have something like the trailers scraper would probably be preferable:
http://code.google.com/p/youtubexbmc/sou...perCore.py

This file implements the queuing and automatic playback of several different listing types:
http://code.google.com/p/youtubexbmc/sou...Control.py

I would suggest also look into creating a more general scraper for the http://www.youtube.com/music section as it seems theres a lot of content there that would fit in nicely Smile

I'll look over it this weekend and let you know in the next couple days if I'm going to tackle this project. Thanks for the pointers!
I was just coming here to request the same thing - an option in the youtube menu called "100 Music" or something, and then a list of the current top 100 music videos that we can browse Smile
Thumbs Up 
HenrikDK Wrote:The buffer length is controlled by XBMC and theres no way for us to manipulate it from the plugin. I think there might be an advanced setting though i'm not quite sure.
The streaming speed is controlled by youtube, and they've chosen to throttle most stream qualities very harshly. There's nothing we can do about that on the plugin side (We've tried messing with urls and such but non of it works), and I don't think there's anything XBMC can do about it either (Though I may be wrong here, since it seems flash player is better at buffering and streaming from youtube that xbmc is).


The next beta will automatically playback already downloaded videos from local storage (so long as they're not moved etc etc.). I realize that probably wont help you're situation but i guess we could look into creating a "download and then play" functionality even-though its not nearly as smooth as what I would want to offer. Huh

Good News everyone that runs Git HEAD of XBMC, a while back I managed to convince grandmaster Elupus to enable something that can best be described as "Download to local disk and then play" it's all transparent but (for now) it needs an advanced setting added/changed:

Code:
<network>
   <cachemembuffersize>0</cachemembuffersize>
  </network>

with this in place, XBMC will download http videos to disk transparently, you might have noticed there is new buffer info in the dialog ? If you pause playback, this will increase until it reached 100% this means the full video clip sits local on hdd. It can best be described as how Youtube works in a WWW browser or Quicktime.

So if you're feeling that youtube is throttling you too much, simply pause playback for a minute or so and that should give trouble free playback for X mins depending on length of clip and your connection.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
pike Wrote:Good News everyone that runs Git HEAD of XBMC, a while back I managed to convince grandmaster Elupus to enable something that can best be described as "Download to local disk and then play" it's all transparent but (for now) it needs an advanced setting added/changed:

Code:
<network>
   <cachemembuffersize>0</cachemembuffersize>
  </network>

with this in place, XBMC will download http videos to disk transparently, you might have noticed there is new buffer info in the dialog ? If you pause playback, this will increase until it reached 100% this means the full video clip sits local on hdd. It can best be described as how Youtube works in a WWW browser or Quicktime.

So if you're feeling that youtube is throttling you too much, simply pause playback for a minute or so and that should give trouble free playback for X mins depending on length of clip and your connection.

Nice Smile

I welcome anything that makes xbmc's web-streaming more like the default YouTube player Smile
that makes 2 of us then Smile This obviously needs some refining, but it's already an amazing improvement IMHO

there's one BIG caveat though... You need local space for the video in question, so it may rule out htpc's running from a USB stick or really small partition.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
pike Wrote:that makes 2 of us then Smile This obviously needs some refining, but it's already an amazing improvement IMHO

there's one BIG caveat though... You need local space for the video in question, so it may rule out htpc's running from a USB stick or really small partition.

Thanks for this, it will be very handy. Running it on atv2, am i correct then in presuming that at this stage a networked drive cannot be nominated for the new cache fuction.
Macmini Server 2011 i7 Quad Core, OS 10.8.2, Amp Onkyo TX-SR308 USB WD drives 3x2TB TV Samsung Plasma 720p EyeTV Integration
There are only 10 kinds of people in this world, those who understand binary, and those who don't.



Hello,
For the last week I have not been able to play any videos, with this plug-in. I even installed XBMC on another computer and I get the same error. All other functions work fine, its just playback. Here is the link to my log file.

http://pastebin.com/N5ekc06D

Any help would be greatly appreciated. Thanks
liemaz Wrote:Hello,
For the last week I have not been able to play any videos, with this plug-in. I even installed XBMC on another computer and I get the same error. All other functions work fine, its just playback. Here is the link to my log file.

http://pastebin.com/N5ekc06D

Any help would be greatly appreciated. Thanks

There seems to be something wrong with your XBMC installation and xbmc doesnt seem able to access the internet, have you changed anything on your network?
HenrikDK Wrote:There seems to be something wrong with your XBMC installation and xbmc doesnt seem able to access the internet, have you changed anything on your network?
No changes to the network. Search function in the Youtube plug-in works, and I can browse the categories and even log in to my Youtube account though the plugin. All other internet plugins such as TED talks etc... work fine.
liemaz Wrote:No changes to the network. Search function in the Youtube plug-in works, and I can browse the categories and even log in to my Youtube account though the plugin. All other internet plugins such as TED talks etc... work fine.

It's kinda hard for me to offer anymore help than that.. as the problem doesn't really appear in the plugin, but in XBMC when the dvdplayer tries to open the video stream from YouTube there's a curl error that indicates that youtube is returning Http >400 errors, but sadly xbmc doesn't give more information than that.
Code:
09:29:31 T:1640 M:4294967295  NOTICE: YouTube-2.0.3 - Playing video: Call of Duty Black Ops: Top 10 Amazing Kills: Episode 22 by Anoj - -AhibiieqAA - http://v20.lscache2.c.youtube.com/videoplayback?sparams=id,expire,ip,ipbits,itag,ratebypass&fexp=914002,906717&itag=22&ipbits=8&signature=8AF4B4220170AF40B507BC4A3510DE28EBF2503C.54FE7FF962DA63B8FE89EC5C64297437FAAA6DBD&sver=3&ratebypass=yes&expire=1305482400&key=yt1&ip=69.0.0.0&id=f808626e289ea800 | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
09:29:32 T:2412 M:4294967295  NOTICE: DVDPlayer: Opening: http://v20.lscache2.c.youtube.com/videoplayback?sparams=id,expire,ip,ipbits,itag,ratebypass&fexp=914002,906717&itag=22&ipbits=8&signature=8AF4B4220170AF40B507BC4A3510DE28EBF2503C.54FE7FF962DA63B8FE89EC5C64297437FAAA6DBD&sver=3&ratebypass=yes&expire=1305482400&key=yt1&ip=69.0.0.0&id=f808626e289ea800 | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
09:29:32 T:2412 M:4294967295 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
09:29:32 T:3768 M:4294967295  NOTICE: Creating InputStream
[b]09:29:32 T:3768 M:4294967295 WARNING: XFILE::CFileCurl::CReadState::FillBuffer: curl failed with code 22[/b]
09:29:32 T:3768 M:4294967295   ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
09:29:32 T:3768 M:4294967295   ERROR: XFILE::CFileCache::Open - failed to open source <http://v20.lscache2.c.youtube.com/videoplayback?sparams=id,expire,ip,ipbits,itag,ratebypass&fexp=914002,906717&itag=22&ipbits=8&signature=8AF4B4220170AF40B507BC4A3510DE28EBF2503C.54FE7FF962DA63B8FE89EC5C64297437FAAA6DBD&sver=3&ratebypass=yes&expire=1305482400&key=yt1&ip=69.0.0.0&id=f808626e289ea800 | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8>
09:29:32 T:3768 M:4294967295   ERROR: CDVDPlayer::OpenInputStream - error opening [http://v20.lscache2.c.youtube.com/videoplayback?sparams=id,expire,ip,ipbits,itag,ratebypass&fexp=914002,906717&itag=22&ipbits=8&signature=8AF4B4220170AF40B507BC4A3510DE28EBF2503C.54FE7FF962DA63B8FE89EC5C64297437FAAA6DBD&sver=3&ratebypass=yes&expire=1305482400&key=yt1&ip=69.0.0.0&id=f808626e289ea800 | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8]
09:29:32 T:3768 M:4294967295  NOTICE: CDVDPlayer::OnExit()
09:29:32 T:3768 M:4294967295  NOTICE: CDVDPlayer::OnExit() deleting input stream
09:29:32 T:2412 M:4294967295   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/?path=/root/explore/feeds/discussed&action=play_video&videoid=-AhibiieqAA]
09:29:32 T:2412 M:4294967295  NOTICE: CDVDPlayer::CloseFile()
09:29:32 T:2412 M:4294967295 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED

Code:
CURLE_HTTP_RETURNED_ERROR (22)

This is returned if CURLOPT_FAILONERROR is set TRUE and the HTTP server returns an error code that is >= 400.
Have you tried downloading a video from the plugin?
HenrikDK Wrote:
Code:
09:29:31 T:1640 M:4294967295  NOTICE: YouTube-2.0.3 - Playing video: Call of Duty Black Ops: Top 10 Amazing Kills: Episode 22 by Anoj - -AhibiieqAA - http://v20.lscache2.c.youtube.com/videoplayback?sparams=id,expire,ip,ipbits,itag,ratebypass&fexp=914002,906717&itag=22&ipbits=8&signature=8AF4B4220170AF40B507BC4A3510DE28EBF2503C.54FE7FF962DA63B8FE89EC5C64297437FAAA6DBD&sver=3&ratebypass=yes&expire=1305482400&key=yt1&ip=69.0.0.0&id=f808626e289ea800 | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
09:29:32 T:2412 M:4294967295  NOTICE: DVDPlayer: Opening: http://v20.lscache2.c.youtube.com/videoplayback?sparams=id,expire,ip,ipbits,itag,ratebypass&fexp=914002,906717&itag=22&ipbits=8&signature=8AF4B4220170AF40B507BC4A3510DE28EBF2503C.54FE7FF962DA63B8FE89EC5C64297437FAAA6DBD&sver=3&ratebypass=yes&expire=1305482400&key=yt1&ip=69.0.0.0&id=f808626e289ea800 | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
09:29:32 T:2412 M:4294967295 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
09:29:32 T:3768 M:4294967295  NOTICE: Creating InputStream
[b]09:29:32 T:3768 M:4294967295 WARNING: XFILE::CFileCurl::CReadState::FillBuffer: curl failed with code 22[/b]
09:29:32 T:3768 M:4294967295   ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
09:29:32 T:3768 M:4294967295   ERROR: XFILE::CFileCache::Open - failed to open source <http://v20.lscache2.c.youtube.com/videoplayback?sparams=id,expire,ip,ipbits,itag,ratebypass&fexp=914002,906717&itag=22&ipbits=8&signature=8AF4B4220170AF40B507BC4A3510DE28EBF2503C.54FE7FF962DA63B8FE89EC5C64297437FAAA6DBD&sver=3&ratebypass=yes&expire=1305482400&key=yt1&ip=69.0.0.0&id=f808626e289ea800 | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8>
09:29:32 T:3768 M:4294967295   ERROR: CDVDPlayer::OpenInputStream - error opening [http://v20.lscache2.c.youtube.com/videoplayback?sparams=id,expire,ip,ipbits,itag,ratebypass&fexp=914002,906717&itag=22&ipbits=8&signature=8AF4B4220170AF40B507BC4A3510DE28EBF2503C.54FE7FF962DA63B8FE89EC5C64297437FAAA6DBD&sver=3&ratebypass=yes&expire=1305482400&key=yt1&ip=69.0.0.0&id=f808626e289ea800 | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8]
09:29:32 T:3768 M:4294967295  NOTICE: CDVDPlayer::OnExit()
09:29:32 T:3768 M:4294967295  NOTICE: CDVDPlayer::OnExit() deleting input stream
09:29:32 T:2412 M:4294967295   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/?path=/root/explore/feeds/discussed&action=play_video&videoid=-AhibiieqAA]
09:29:32 T:2412 M:4294967295  NOTICE: CDVDPlayer::CloseFile()
09:29:32 T:2412 M:4294967295 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED

It's kinda hard for me to offer anymore help than that.. as the problem doesn't really appear in the plugin, but in XBMC when the dvdplayer tries to open the video stream from YouTube there's a curl error that indicates that youtube is returning Http >400 errors, but sadly xbmc doesn't give more information than that.

Code:
CURLE_HTTP_RETURNED_ERROR (22)

This is returned if CURLOPT_FAILONERROR is set TRUE and the HTTP server returns an error code that is >= 400.
Have you tried downloading a video from the plugin?
It does not download videos either. Its not a big deal, maybe it a problem with my router or something my ISP as messed up.

I appreciate you taking a look at it.
I get similar errors as posted below if I add the line <cachemembuffersize>0</cachemembuffersize> to my advancedsettings.xml.

<network>
<disableipv6>true</disableipv6>
<cachemembuffersize>0</cachemembuffersize>
</network>

I lose streaming from apple movie trailers, cnn, cnet, etc. it continues through the meus and selections as if everrything is good, but when you select a stream you get the following error. If you remove or comment out the cachemembuff entry and reload xbmc it will start working again.

Code:
14:19:48 T:2904890224 M:1805402112  NOTICE: [PLUGIN] - Apple Movie Trailers Lite (Version: 1.9.0-r1639) initialized!
14:19:48 T:2904890224 M:1805402112  NOTICE: ======================================================================
14:19:51 T:3078657920 M:1798991872  NOTICE: DVDPlayer: Opening: http://trailers.apple.com/movies/independent/13assassins/13assassins-tlr1_h640w.mov?|User-Agent=QuickTime%2F7.6.5+%28qtver%3D7.6.5%3Bos%3DWindows+NT+5.1Service+Pack+3%29
14:19:51 T:3078657920 M:1798991872 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
14:19:51 T:2904890224 M:1798991872  NOTICE: Creating InputStream
14:19:52 T:2904890224 M:1798991872  NOTICE: Creating Demuxer
14:20:25 T:2904890224 M:1794568192 WARNING: could not find codec parameters for http://trailers.apple.com/movies/independent/13assassins/13assassins-tlr1_h640w.mov?|User-Agent=QuickTime%2F7.6.5+%28qtver%3D7.6.5%3Bos%3DWindows+NT+5.1Service+Pack+3%29
14:20:25 T:2904890224 M:1794568192   ERROR: OpenDemuxStream - Error creating demuxer
14:20:25 T:2904890224 M:1794568192  NOTICE: CDVDPlayer::OnExit()
14:20:25 T:2904890224 M:1794568192  NOTICE: CDVDPlayer::OnExit() deleting input stream
14:20:25 T:3078657920 M:1794695168   ERROR: Playlist Player: skipping unplayable item: 0, path [http://trailers.apple.com/movies/independent/13assassins/13assassins-tlr1_h640w.mov?|User-Agent=QuickTime%2F7.6.5+%28qtver%3D7.6.5%3Bos%3DWindows+NT+5.1Service+Pack+3%29]
14:20:25 T:3078657920 M:1794695168  NOTICE: CDVDPlayer::CloseFile()
14:20:25 T:3078657920 M:1794695168 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
14:20:25 T:3078657920 M:1794695168  NOTICE: DVDPlayer: waiting for threads to exit
14:20:25 T:3078657920 M:1794695168  NOTICE: DVDPlayer: finished waiting

Hope this helps, but what release/date do I need installed for the cache to work. I am current running the following:

Starting XBMC, Platform: Linux (Ubun
tu 10.10, 2.6.35-28-generic i686). Built on Mar 9 2011 (Git:Unknown)

I installed a release using git, it is XBMC 10.1 Git Unknown Compiled March 9, 2001.
not sure, May 1 2011 should work I think

time to checkout GIT and build yourself maybe :p
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
@pike finally a sensible approach, before I had set <cachemembuffersize> to a multiple of my internet download speed thinking it would be an approximation of buffering time but I found myself watching the codec info more than the content itself.

@pike and HenrikDK So what chance a more intelligent buffer for the future, if you know the size of the stream and the type of codec used with the user setting their max download speed couldn't <cachemembuffersize> be set automatically, this of course makes an assumption of number of network conditions.
  • 1
  • 59
  • 60
  • 61(current)
  • 62
  • 63
  • 315

Logout Mark Read Team Forum Stats Members Help
[depricated] old YouTube Plugin - XBMC 13.0 Frodo/Gotham only28