Support for a site request thread (14 Viewers)

doskabouter

Development Group
  • Team MediaPortal
  • September 27, 2009
    5,007
    3,771
    Nuenen
    Home Country
    Netherlands Netherlands
    It's not that you're not smart enough, they just did a really good job hiding those url's. I suspect they are rtmp url's with god knows what kind of protection schemes, so it is indeed quite hard.
     

    clobber

    Portal Pro
    January 12, 2008
    190
    4
    I'm surprised this is not in Online Videos already (maybe it is not possible?) Could someone add all the videos from CBS. Almost everything seems to be linked from the main video site here. However, I dont see the "Sunday Morning" link which would be really nice to have. Across the top of this link there are CBS Evening News, The Early Show, 48 Hours, 60 Minutes, Sunday Morning, Face the Nation, and Up to the Minute.

    edit: it appears ALL the RSS links are found here
    thanks!
     

    clobber

    Portal Pro
    January 12, 2008
    190
    4
    As a follow-up I spent a while trying to figure out how to do this with the site creator. I determined that I could get the Video URLs for CBS Sunday morning using the following regex:

    <item>\s*<title>Video(?<Title>[^<]*)</title>(?:(?!<desc).)*<description>(?<Description>[^.]*).(?:(?!<guid).)*<guid\sisPermaLink="false">(?<VideoUrl>[^<]*)</guid>\s*<pubDate>(?<Airdate>[^<]*)</pubDate>

    However, I could never get the video to play as a result of my lack of knowledge on the rest of the site creator

    If someone has the time, adding CBS would be awesome
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    5,007
    3,771
    Nuenen
    Home Country
    Netherlands Netherlands
    Might I suggest the following:
    Code:
        <item key="videoListRegEx"><![CDATA[<title>(?<Title>[^<]*)</title>\s*<link>[^<]*</link>\s*<description>(?<Description>[^&]*)&(?:(?!href=).)*href="(?<VideoUrl>[^"]*)"[^<]*</description>\s*<guid\sisPermaLink="false">[^<]*</guid>\s*<pubDate>(?<Airdate>[^<]*)</pubDate>]]></item>
        <item key="fileUrlRegEx"><![CDATA[var\ssourc\s=\s*'(?<m0>[^']*)';]]></item>
     

    cubii

    Portal Pro
    November 1, 2006
    627
    32
    49
    AW: Support for a site request thread

    Hi,

    I use a service to collect videos i want to watch later, its called radbox.me

    If you find a video that interests you, but is too long to watch now, or you dont have time, you can add them to your radbox account an watch late ( something like a playlist for all kind of video websites)

    I dont know it would be possible to integrate it (because it uses many sites as source), but it would be very nice...
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    5,007
    3,771
    Nuenen
    Home Country
    Netherlands Netherlands
    That's quite an impressive list of sites they support. When you watch a video from radbox, do you somehow get redirected to the original site?
     

    clobber

    Portal Pro
    January 12, 2008
    190
    4
    Might I suggest the following:
    Code:
        <item key="videoListRegEx"><![CDATA[<title>(?<Title>[^<]*)</title>\s*<link>[^<]*</link>\s*<description>(?<Description>[^&]*)&(?:(?!href=).)*href="(?<VideoUrl>[^"]*)"[^<]*</description>\s*<guid\sisPermaLink="false">[^<]*</guid>\s*<pubDate>(?<Airdate>[^<]*)</pubDate>]]></item>
        <item key="fileUrlRegEx"><![CDATA[var\ssourc\s=\s*'(?<m0>[^']*)';]]></item>

    I will certainly give that a try. I'm not sure exactly where to put the two lines? Should I paste them individually into the Site Creator? The fort one in the videoList and the second in the file Url?
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    5,007
    3,771
    Nuenen
    Home Country
    Netherlands Netherlands
    Indeed, you are correct.
    Remember to only put the text between [CDATA[ and ]] in the appropriate sections
     

    Users who are viewing this thread

    Top Bottom