Sopcast streaming in MP, possible? (1 Viewer)

TheDane

Portal Member
December 9, 2010
14
0
Denmark Denmark
atdhe.net support would fitt into this category aswell. Most of their stuff is flash based, but some is Veetle and Vshare so that might be harder I don't know. But atdhe is great on sports.
Flash based links from Firstrow.net and atdhe.net are collected from different hosts and flash video types - So it is probably much harder to parse these types of links.

But Sopcats links are very easy to do, because all links can be retrieved through myp2p.eu and the sopcasts filter handles the rest.

But until now, no one has offered to help on parsing Sopcast links to Onlinevideos.

So we still need help with my previous post #7, since i'm no parsing expert:-S

Anyone?

/Morten

Yeah come on brainiacs help us out :p And the people will always be grateful for your efforts put in to this :) Unfortunately I know nothing about parsing, or at least have never heard of it, so assume I know nothing of it, and beside the "coding" looks like mumbojumbo to me :confused:

But surely there has to be somebody that knows all about this, that can "fix it" in a matter of minutes... Or at least I hope so, as it would be the greatest plugin/feature to incorporate in MP.
 

doskabouter

Development Group
  • Team MediaPortal
  • September 27, 2009
    3,567
    1,784
    Nuenen
    Netherlands Netherlands
    Country flag
    First attempt:
    Code:
        <Site name="please fill" util="GenericSite" agecheck="false" enabled="true" lang="please fill">
          <Description>please fill</Description>
          <Configuration>
            <item key="dynamicCategoriesRegEx"><![CDATA[<td\swidth="8%"\sstyle="[^"]*"\sonmouseover="[^"]*"\sonmouseout="toggle\(null\);"\sclass="navbar_1"\sonclick="location\.href='(?<url>[^']*)';"\sid="[^"]*"\salign="center"><img\ssrc="(?<thumb>[^"]*)"\s/><br><span\sclass="subtext"><b>(?<title>[^<]*)</b></span></td>]]></item>
            <item key="videoListRegEx"><![CDATA[<tr><td\sclass="itemlist_alt0"\srowspan="2"\swidth="30"\salign="center"><img\ssrc="(?<ImageUrl>[^"]*)"\s/></td><[^>]*><b>(?<Airdate>[^<]*)</b>(?:(?!Live!).)*Live!</b></font></span></td><td\srowspan="2"\sclass="itemlist_alt0"\salign="right"\swidth="30"><a\shref="(?<VideoUrl>[^"]*)"><img\ssrc="http://www\.myp2p\.eu/gfx/icon_broadcast\.gif"\sborder="0"\s/></a></td></tr><tr\sheight="16"><td\sclass="itemlist_alt0"\sstyle="border-top:\s0px;\sbackground:\stransparent;"\swidth="20"\salign="center"><[^>]*></td><[^>]*>&nbsp;</td><td\sclass="itemlist_alt0"\sstyle="border-top:\s0px;\sbackground:\stransparent[^>]*><b>(?<Title>[^&]*)&nbsp;<[^>]*></b></td><td\sclass="itemlist_alt0"\sstyle="border-top:\s0px;\sbackground:\stransparent;"\swidth="30"\salign="center">[^<]*</td><td[^>]*><b>[^<]*<[^>]*>(?<Description>[^<]*)<]]></item>
            <item key="fileUrlRegEx"><![CDATA[<span\sclass="subtext"><b>(?<n0>[^<]*)</b></span></td><td\swidth="50"\sclass="itemlist_alt0"><span\sclass="subtext"><a\shref="(?<m0>sop:[^"]*)"\starget="_BLANK">Play</a></span></td><td\swidth="50"\sclass="itemlist_alt0"\salign="right"><span\sclass="subtext">(?<n1>[^<]*)</span>]]></item>
            <item key="fileUrlNameFormatString"><![CDATA[{0} {1}]]></item>
            <item key="baseUrl"><![CDATA[http://myp2p.eu/index.php?part=sports]]></item>
          </Configuration>
          <Categories />
        </Site>
     

    msj33

    MP Donator
  • Premium Supporter
  • November 30, 2005
    471
    76
    England England
    Hi Paul.

    Thanks for your help - This is a big step for getting Myp2p.eu working for us.

    Categories:
    Categories is working great, with Icons an everything:)

    Videolist:
    Regarding the Videolist, it seems, that only first "Home Team" is parsed as Title Regex - Is it correct, that you are parsing "away Team" as Description Regex?

    Will it be possible to parse both Home & Away teams as a one Title Regex? (seems like there is quite some code between home & Away:-S)

    Videolinks:
    If item from Videolist regex has no Sop//:-links within, then you get "error in URL" - Is it possible remove items without Sopcats links? Or display better error message?

    The Videostream
    Works like a charm - buffering is done with a black screen - Possible to implement buffering bar like other sites? (Or is this due to the use of Sopcast filter?)

    Thanks in advance

    /Morten
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    3,567
    1,784
    Nuenen
    Netherlands Netherlands
    Country flag
    Nice to hear it's working!

    Videolist: that's correct. There is no way that I know of to get to separate texts in one capturing group.
    If this really is a showstopper then I (or someone else...) should write a piece of C# code to get it right.

    VideoLinks: I haven't found any clues in the videolist-html that shows if there is a sop:// url. so in order to remove those links, you have to get the html page for each match, to check it, and i think that's going to be reeaaallllyy slow...

    Buffering is an issue where offbyone can shed some light, although I think it could be codec-related
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,981
    3,703
    Stuttgart
    Germany Germany
    Country flag
    Onlinevideos currently doesn't know what sop:// urls are, so they are probably handled incorrectly. I'll debug that and add the appropriate code.
     

    msj33

    MP Donator
  • Premium Supporter
  • November 30, 2005
    471
    76
    England England
    Hi Paul.

    It's kind of a showstopper, since most of the categories has home/away teams. Maybe someone could help us, parse both texts, so it would display: Everton - Chelsea.

    Regarding the Video links - Would it possible to parse more than 1 type of videolinks? Especially Veetle is interesting as many streaming use thi - but the links all play through Webbrowser (ex. Veetle - Broadcast live streaming video in HD)

    Parsing more than 1 type, minimizes the problem regarding no link parsing.

    I will ask offbyone about the buffering option.

    Thanks

    /Morten

    Onlinevideos currently doesn't know what sop:// urls are, so they are probably handled incorrectly. I'll debug that and add the appropriate code.
    Awsome - Thanks a lot:)
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    3,567
    1,784
    Nuenen
    Netherlands Netherlands
    Country flag
    I think the veetle url's are also some kind of p2p stream, so an extra directshow filter is necessary for playing this in mediaportal
     

    msj33

    MP Donator
  • Premium Supporter
  • November 30, 2005
    471
    76
    England England
    I think the veetle url's are also some kind of p2p stream, so an extra directshow filter is necessary for playing this in mediaportal
    Yes, Veetle is a browser-based p2p streaming method done though VLC broadcasting.

    It is possible to parse though to VLC, but I cannot seems to get it working on WMP - It says error in codec!?!

    The resolution to getting Veetle streams from Webbrowser -> VLC is actually easy: How to Record / Watch Veetle Broadcasts in VLC | House Nation

    But can't seem to figure out, if it is possible to get working with WMP - And if Onlinevideo parsing is even possible - But thats probably a whole other story............

    For now we actually just needs 3 things to make Sopcast work perfect with myp2p.eu streams.

    -Better Videolist Parsing of Home/Away texts, so both team names appear in Title. - C# programmer needed please:)
    -Hopefully some kind of solution for not parsing links for matches, where no sop://-links is present.
    -Buffering Overlay for the Sopcast-filter/Onlinevideo plugin - Offbyone will be working on this.

    Please keep helping us - Your help is highly appreciated:0) This will already be the best Live sports Site available on Online Videos.

    I have published this Site as "Live Sports - MYP2P" though Onlinevideos Config - when will this appear in Global Sites list?

    Thanks in advance

    /Morten
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    3,567
    1,784
    Nuenen
    Netherlands Netherlands
    Country flag
    It is possible to parse though to VLC, but I cannot seems to get it working on WMP - It says error in codec!?!
    The resolution to getting Veetle streams from Webbrowser -> VLC is actually easy: How to Record / Watch Veetle Broadcasts in VLC | House Nation
    Well after reading it, it isn't at all easy from a programmers point of view, somehow you have to keep your browser open to be able to keep watching??? Should I spawn an Internet Explorer for every stream you want to watch??

    And by the looks of it, VLC uses some kind of proxy (as we do for RTMP) for playing those streams.
    So what we need to play veetle streams is
    1: an analysis/port from the vlc-proxy to the onlinevideos plugin
    2: some kind of workaround for the "keep browser open" part, and imo it's hard, because if it wasn't, vlc didn't need that too.

    For now we actually just needs 3 things to make Sopcast work perfect with myp2p.eu streams.

    -Better Videolist Parsing of Home/Away texts, so both team names appear in Title. - C# programmer needed please:)
    Check!

    -Hopefully some kind of solution for not parsing links for matches, where no sop://-links is present.
    Thinking...

    -Buffering Overlay for the Sopcast-filter/Onlinevideo plugin - Offbyone will be working on this.

    Please keep helping us - Your help is highly appreciated:0) This will already be the best Live sports Site available on Online Videos.

    I have published this Site as "Live Sports - MYP2P" though Onlinevideos Config - when will this appear in Global Sites list?
    I think right after you published it, that is: if you mean the list everybody is getting when they do the auto-update

    Thanks in advance

    /Morten
    You're welcome!
     

    Brownard

    Development Group
  • Team MediaPortal
  • March 21, 2007
    1,953
    1,307
    United Kingdom United Kingdom
    Country flag
    Hey

    Just found this thread, I had already implemented myP2p into Online Videos. In OnlineVideos.Sites.brownard.rar is a SiteUtil that will parse both teams and only show sop links, I have only implemented Football but the source is attached if anyone wants to extend it (All categories now implemented!). Place the dll in Plugins/Windows/OnlineVideos/

    You'll need SopFilter installed obviously :)

    Also attached is a simple patch for OnlineVideos so sop:// links are recognised by WMP and buffered nicely.

    Edit: Updated patch to only include sopcast changes
    Edit: Tidied up the source and included latest changes in attached

    EDIT: THIS POST IS NOW OUT OF DATE - DO NOT USE THE FILES BELOW - IMPORT THE SITE FROM THE GLOBAL LIST INSTEAD
     

    Attachments

    Last edited:

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    Stephen O'Kane [SOLVED] TV Stream stuttering - both Video and Audio Watch / Listen Media 14
    M.Hulot MP plays in Internal Blu-ray-Player-mode always first audio stream not the one I chosen in settings General Support 1
    S rotierende disk in streamed mp Skin Modifikationen 30
    C Streaming/transcoding MP2 vs MP1? General 4
    C Streaming to clients over Wifi. MP1 or MP2? Newcomers Forum 0
    P Streaming MediaPortal 1 Talk 5
    P Streaming to two clients from the same card Newcomers Forum 1
    L Non-PC device streaming... Newcomers Forum 1
    raffe How to add 500+ streams? OnlineVideos 1
    R Heavy pixelation on HD OTA Streams Installation, configuration support 1
    C streaming out UDP instead of RTSP Newcomers Forum 0
    C Recording back to back shows from IPTV streams General Support 8
    T Missing sound in online streaming service (SVTPlay) General Support 3
    H Unable to play stream - again... Television (MyTV frontend and TV-Server) 2
    V Unable to stream : 10 General Support 0
    doskabouter Black screen while watching some iptv streams General Support 2
    II-IRON [solved] MP2 - 2.2 - Es ist kein Player für die Wiedergabe des Medien-Object 'stream 3.0' registriert Allgemeines Support- und Diskussionsforum 16
    amatesi MP2.2pre Client crash while streaming Live TV from remote MP2.2pre Server (both offline) 2.2 Archive 8
    Cowboy [solved] MP1.20 issue with HD audio stream (not all media) watch/edit Videos 6
    K MP2 - V2.1 [MP2-763] Interface configuration for RTSP streaming server lost on every restart Older releases 6
    jmarc Recording IPTV streams General Support 1
    A Unable to play :stream 3 Television (MyTV frontend and TV-Server) 1
    C Is there a Tuner Stream Failure Alarm Plugin? MediaPortal 1 Plugins 1
    P [solved] MediaPortal 2 Won't stream HDHR Dual General 1
    M.Hulot Streamed MP behält gewählte Ansicht nicht bei Allgemeines Supportforum 4
    Similar threads

























    Top Bottom