OnlineVideos 0.33 (19.09.2011) (5 Viewers)

Status
Not open for further replies.

globaldonkey

MP Donator
  • Premium Supporter
  • April 23, 2007
    755
    79
    Home Country
    well i have no password filled in because i never use the favourites
    but nasa or tedtalks nothing worked no picture no sound

    The id / password question was meant for wlgspotter - nothing to do with your problem.

    That is interesting that you can play you tube mp4 streams on YouTube but cannot play NASA or TedTalks. Maybe post a graph of your working YouTube stream?
     

    wlgspotter

    Portal Pro
    December 3, 2006
    117
    10
    Auckland
    Home Country
    New Zealand New Zealand
    @wlgspotter - are you absolutely sure the password and id are good and you have some favourites added? Maybe double check through the web interface. Failing that, try posting logs.

    Well yes I'm absolutely sure it's correct. Tried it through the web interface and I managed to pull stuff off.

    I'll give it another go tonight, and will post the logs if it doesn't work.

    Thanks.
     

    jmain

    New Member
    July 27, 2009
    1
    0
    Is there a way to bookmark few of my common youtube searches?
    I usually watch a bunch of regular TV shows on youtube, what I used to do on XBMC is to let the plugin fetch my search url and display the video returned from the url.

    Does Online Video allows to add something like the following to the favorites or as a new site?
    YouTube - spongebob

    I found a way to convert youtube searches to RSS feeds as per YouTube Feeds
    But now the problem is when I add an RSS feed for the search, it doesn't show any video.
    The RSS feed I'm trying is,
    Code:
    http://gdata.youtube.com/feeds/api/videos?vq=spongebob
    And the line I added to youtube site is,
    Code:
    <Category xsi:type="RssLink" name="Test1">http://gdata.youtube.com/feeds/api/videos?vq=spongebob</Category>

    Anyone knows what is wrong?

    EDIT: more info
    Running Wireshark, I captured the html request and response for my RSS feed as requested by OnlineVideo.
    Code:
    GET /feeds/api/videos?vq=spongebob HTTP/1.1
    Content-Type: application/atom+xml; charset=UTF-8
    User-Agent: G-OnlineVideos/GDataGAuthRequestFactory-CS-Version=0.9.3.0
    X-GData-Client: ytapi-GregZ-OnlineVideos-s2skvsf5-0
    X-GData-Key: key=AI39si5x-6x0Nybb_MvpC3vpiF8xBjpGgfq-HTbyxWP26hdlnZ3bTYyERHys8wyYsbx3zc5f9bGYj0_qfybCp-wyBF-9R5-5kA
    GData-Version: 2.0
    Host: gdata.youtube.com
    
    
    HTTP/1.1 400 Bad Request
    X-GData-User-Country: CA
    Content-Type: application/vnd.google.gdata.error+xml
    Transfer-Encoding: chunked
    Date: Mon, 27 Jul 2009 04:33:06 GMT
    Expires: Mon, 27 Jul 2009 04:33:06 GMT
    Cache-Control: private, max-age=0
    X-Content-Type-Options: nosniff
    Server: GFE/2.0
    
    10E
    
    <errors xmlns='http://schemas.google.com/g/2005'>
    <error>
    <domain>GData</domain>
    <code>InvalidRequestUriException</code>
    <internalReason>The parameter &apos;vq&apos; is not available in this version. Please use &apos;q&apos; instead.</internalReason>
    </error>
    </errors>
    0
    Seems like some version mismatch issue, Other than that I have no idea which version is this refering. I'm hoping someone would be able to figure it out.

    EDIT: Finally got it solved.
    Just needed to replace vq= with q=

    If anyone is interested, you can convert your custom youtube search urls to rss feeds as described
    Code:
    http://googlesystem.blogspot.com/2008/01/youtube-feeds.html

    And if your url happens to be using vq= query type, Replace it with q= query. Add it to OnlineVideo xml file as rss feed.
     

    wlgspotter

    Portal Pro
    December 3, 2006
    117
    10
    Auckland
    Home Country
    New Zealand New Zealand
    @wlgspotter - are you absolutely sure the password and id are good and you have some favourites added? Maybe double check through the web interface. Failing that, try posting logs.

    I've tried again tonight, but it still does not work.

    I've attached my logs (have removed some info to keep the file size down, but hopefully I didn't missed out any parts related to OnlineVideos).
     

    globaldonkey

    MP Donator
  • Premium Supporter
  • April 23, 2007
    755
    79
    Home Country
    I've tried again tonight, but it still does not work.

    I've attached my logs (have removed some info to keep the file size down, but hopefully I didn't missed out any parts related to OnlineVideos).

    Well, I think you can probably see for yourself that an exception is being thrown:

    2009-07-27 20:11:03.875000 [Info.][MPMain]: OnMessage exception:confused:ystem.NullReferenceException: Object reference not set to an instance of an object.
    at OnlineVideos.Sites.YouTubeUtil.getVideoInfo(YouTubeEntry entry)
    at OnlineVideos.Sites.YouTubeUtil.parseGData(YouTubeQuery query)
    at OnlineVideos.Sites.YouTubeUtil.getFavorites(String fsUsername, String fsPassword)
    at OnlineVideos.GUIOnlineVideos.DisplayFavoriteVideos()
    at OnlineVideos.GUIOnlineVideos.OnClicked(Int32 controlId, GUIControl control, ActionType actionType)
    at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)

    Unfortunately, probably like you, I don't know why. Hopefully offbyone can offer some further help.:sorry:
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Can you give me just your your username at youtube so I can reproduce the error on my machine. It must be a problem with a specific video, because the error comes from getting the infos for one video (might have no thumb or no duration). I will put some error checks around that anyway, so one video with less info won't block the others from showing. :) Will be in next version.
     

    globaldonkey

    MP Donator
  • Premium Supporter
  • April 23, 2007
    755
    79
    Home Country
    Hi offbyone,

    While you are here, I'm having some problems with some mp4 streams on youtube. Here's an example (there are several doing the same thing):

    http://youtube.com/get_video?video_id=hiPR6kA4_iU&t=&fmt=18&ext=.mp4

    I can't play it in MP, and when I try to download it, I get the thumbnail saved, but a 0kb mp4 file in my saved files location.

    I also can't render the url in MPC-HC.

    This link appears under the HD Content catagory - it's the Alice in Wonderland trailer.
     

    hoborg

    Portal Pro
    June 13, 2008
    4,413
    1,644
    Nový Jičín
    Home Country
    Czech Republic Czech Republic
    Hi offbyone,

    While you are here, I'm having some problems with some mp4 streams on youtube. Here's an example (there are several doing the same thing):

    http://youtube.com/get_video?video_id=hiPR6kA4_iU&t=&fmt=18&ext=.mp4

    I can't play it in MP, and when I try to download it, I get the thumbnail saved, but a 0kb mp4 file in my saved files location.

    I also can't render the url in MPC-HC.

    This link appears under the HD Content catagory - it's the Alice in Wonderland trailer.

    This seems to be youtube issue. Link to this file provide 0kb mp4 file output.
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom