myYouTube (3 Viewers)

SilentException

Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    does anyone know how to detect if video can be played in HQ?

    i have solved this quick and dirty by trying to download HQ url, if i get 404 then the file cannot be played in hq :)

    let me know if there are other solutions but i don't think google api has one.. pretty stupid..
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    The way I did it was to parse the html and look for the play in hq link.

    that does not work, all the pages have that text and then its parsed by javescript afterwards.. i used the method from above, works just fine here :)

    anyhow here is my updated version with the source..

    cleaned the code, fixed few bugs, made it more robust, updated to latest google api, ..., ...

    before installing delete your current myYouTube db coz i added some stuff there too (its located in C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\database\myYouTube.db3)

    i just haven't managed to get the #Play.Current.* gui properties to work.. i set them up after player is started but they get cleared sometime later by idontknowwhat.. :confused:

    enjoy!


    edit: i've added black&white skin file i'm using for reference
     

    Attachments

    • myYouTube.rar
      30.6 KB
    • myyoutube.xml
      30.6 KB

    suntrip

    New Member
    January 31, 2009
    4
    0
    Home Country
    Denmark Denmark
    Having an odd problem. I noticed that some videos didn't show up when searching. Examples: 'gasping wow' (should return two videos) and 'rave channel' (should return a couple of Marusha videos). However typing gaspingwow and ravechannel without the space between the words made the videos appear for some strange reason.
     

    Spragleknas

    Moderator
  • Team MediaPortal
  • December 21, 2005
    9,474
    1,822
    Located
    Home Country
    Norway Norway
    Is this broken now, or is it just broke @ my system?
    EDIT: Gotto try SilentExcept's version first...
    EDIT2: WORKED :THX:
     

    DieBagger

    Retired Team Member
  • Premium Supporter
  • September 11, 2007
    2,516
    1,276
    40
    Austria
    Home Country
    Austria Austria
    Does anyone know how to play the youtube videos with quality 34 and 35 in MP (see -> youtube quality).

    I toyed a little with the source and I'm able now to choose which quality I want to play/download, but I can't get those 2 formats to play...

    Here are two samples for this format, any help would be highly appreciated!

    Sample 1 (34)
    Sample 2 (35)
     

    BrownGhost

    MP Donator
  • Premium Supporter
  • October 15, 2008
    435
    30
    Home Country
    Denmark Denmark
    i cant play them right in my media player, thy are lagging in som strange way, like mini frezz. thy may be bad..
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    here is myYouTube v0.3.. just small fixes: updated to latest google api, configuration bug fix (delete), compiled against mp 1.0.1..

    black & white 1080 skin files included..
     

    Attachments

    • myYouTube0.3.rar
      30.6 KB

    DieBagger

    Retired Team Member
  • Premium Supporter
  • September 11, 2007
    2,516
    1,276
    40
    Austria
    Home Country
    Austria Austria
    I've written a small app (attached) for testing purposes which parses a youtube site and shows direct links for all available formats.

    Is anyone able to play the formats 34 and 35 in MediaPortal?

    thx
     

    Attachments

    • YoutubeParser.rar
      30.6 KB

    Users who are viewing this thread

    Top Bottom