A Couple YouTube Questions and Suggestions (1 Viewer)

mkdevo

Portal Member
February 13, 2010
14
0
Now that I've got OnlineVideos up and running, I have a couple questions and a suggestion about what I use it for the most - YouTube.

Question 1: How do I add a link to see my own channel?

I've tried to add my personal channel (my youtube username is mkdevo) two different ways with the RssLinks:

YouTube says to use this:
Code:
http://gdata.youtube.com/feeds/base/users/mkdevo/uploads

which gives me this error when I click on it: Error: Getting Category Videos

I saw another post on here that says to use this:
Code:
http://gdata.youtube.com/feeds/api/videos?orderby=published&author=mkdevo

That shows me a bunch of videos, but they're not mine. They seem to be completely random.

I also tried messing around with the Channels tab a bit, but couldn't figure it out.​

Question 2: With "HD" videoQuality, which HD stream are we getting?

Perhaps this is a dumb question, but YouTube recently added 1080p, so anything uploaded in 1080p will have 4 different qualities available: 1080p, 720p, 480p, and 360p. Does setting videoQuality to HD give us a default of 1080p or 720p for those videos?​

Suggestion 1: Implement a "My Channel" feature.

Since OnlineVideos already has Favorites as an available option using our username/password, it would be nice to also have a selectable "My Channel" option integrated as well. (This would also save me the headache of Question 1 above. ;))​

Suggestion 2: Show downloaded progress of current video.

Not sure if this is even possible, but I've found that I have to just hit pause at the start of a video and wait a bit for it to download before I start watching, to avoid the annoying hiccups if the playback is faster than the download. It would be nice to see exactly where the download is at in order to decide on when to start playing the video.​


Finally, offbyone, thanks so much for picking this project up and continuing work and support on it! Cheers!
 

offbyone

Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    I have reworked a few part of the YouTube code, maybe your feed from 1. will work in the new release.
    2. will be much more transparent, as with the new version (0.18) you can chose from all available which stream to play ;)

    Download Progress: Not 100% sure what you mean. Downloading a file is something different than playing it directly from the http source. For the playback part there is no way of knowing how much the direct show filter has buffered yet. (At leat not until someone develops a filter for us that will do so).
     

    DieBagger

    Retired Team Member
  • Premium Supporter
  • September 11, 2007
    2,516
    1,276
    39
    Austria
    Home Country
    Austria Austria
    Have you considered using the proxy class you're already using for apple trailers (iirc) to download the clip to a temporary file and starting playback with this (local) file? That way you can a) control how much is buffered b) show a loading progress and c)control user agent etc.

    I implemented something like this for apple trailers a while back and it worked pretty well...
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Do you know if the source filter will pick up the changed files size? I have tried this with flv once, and was disappointed to see that playback always stopped at the point where it got to the bytes that had been downlaoded at the point of playback start.
     

    DieBagger

    Retired Team Member
  • Premium Supporter
  • September 11, 2007
    2,516
    1,276
    39
    Austria
    Home Country
    Austria Austria
    I only tried it with apple trailers (mov) and it worked fine, live tv also worked using MediePlayer classic or WMP (tried that for my tv client)... Haven't tried with flv files unfortunately.

    Edit: Have you tried not giving the player a local file but instead buffer the WebStream of your Proxy? Now that I think about it I do remember having some problems like you described. Not sure though, I'd have to look at the source code (which I don't have available atm).
     

    mkdevo

    Portal Member
    February 13, 2010
    14
    0
    I have reworked a few part of the YouTube code, maybe your feed from 1. will work in the new release.
    2. will be much more transparent, as with the new version (0.18) you can chose from all available which stream to play ;)

    great, thanks. can't wait to check it out!

    Download Progress: Not 100% sure what you mean. Downloading a file is something different than playing it directly from the http source. For the playback part there is no way of knowing how much the direct show filter has buffered yet. (At leat not until someone develops a filter for us that will do so).

    sorry, i guess i should have used the term 'buffer' instead of 'download'. that's really what i meant.
     

    Sabbe

    Portal Pro
    January 7, 2007
    56
    2
    Västerås
    Home Country
    Sweden Sweden
    I saw another post on here that says to use this:
    Code:
    http://gdata.youtube.com/feeds/api/videos?orderby=published&author=mkdevo

    That shows me a bunch of videos, but they're not mine. They seem to be completely random.
    Above works if you you consider the &

    If you edit your XML-file directly you should use:

    Code:
    http://gdata.youtube.com/feeds/api/videos?orderby=published&author=mkdevo

    If you enter the URL in the config-tool you should use this URL:

    Code:
    http://gdata.youtube.com/feeds/api/videos?orderby=published&author=mkdevo

    There is a little script inside the Onlinevideos plugin that convert the URL:s to be UTF-8 compliant that is responsible for this hickup.
     

    Users who are viewing this thread

    Top Bottom