[solved] RTMP Parameters not working (1 Viewer)

Hanky

Portal Member
December 31, 2007
45
6
Home Country
Germany Germany
Hey,
im trying hard to get a side working, but somehow the rtmp parameters i want to pass to the site parser are not recognized (the & seems to be ignored, http://code.google.com/p/mp-onlinevideos2/wiki/SiteParser#RtmpUtil). What am I doing wrong?

Code:
 <Site name="N24" util="Rtmp" agecheck="false" enabled="true" lang="de" lastUpdated="2014-02-26T00:53:50.1246012+01:00">
      <Description>Mediathek von N24</Description>
      <Configuration>
        <item key="app"><![CDATA[pssimn24/]]></item>
        <item key="tcUrl"><![CDATA[rtmp://pssimn24livefs.fplive.net/pssimn24/]]></item>
        <item key="swfurl"><![CDATA[http://www.n24.de/_swf/HomePlayer.swf?cachingVersion=3]]></item>
        <item key="dynamicCategoriesRegEx"><![CDATA[<li><a\shref=""\sclass="[^"]*"\s*data-filter_type="(?<url>[^"]*)">(?<title>[^<]*)</a>\s*</li>]]></item>
        <item key="dynamicCategoryUrlFormatString"><![CDATA[http://www.n24.de/n24/Mediathek/videos/q?query=&hitsPerPage=500&pageNum=&recent=0&docType=CMVideo&category=&from=&to=&taxonomy=&type={0}&sort=new]]></item>
        <item key="videoListRegEx"><![CDATA[<a\shref="(?<VideoUrl>[^"]*)"\sclass="image">\s*<span\sdata-lazyloading="&lt;img\ssrc=&\#034;(?<ImageUrl>[^&]*)&\#034;[^"]*"\sclass="[^"]*"\sstyle="[^"]*"></span>\s*<span\sclass="[^"]*"></span>\s*</a>\s*<h4>\s*<a\shref="[^"]*">(?<Title>[^<]*)</a>]]></item>
        <item key="videoListRegExFormatString"><![CDATA[{0}]]></item>
        <item key="fileUrlRegEx"><![CDATA[_n24VideoCfg\.flash\.videoMidrollUrl\s=\s'(?<m0>[^']*)';\s*_n24VideoCfg\.flash\.width\s=\s"100%";\s*_n24VideoCfg\.flash\.height\s=\s"100%";\s*_n24VideoCfg\.flash\.debug\s=\s"true";\s*//\sVideo\sStream\s*_n24VideoCfg\.flash\.videoFlashconnectionUrl\s=\s"(?<m1>[^"]*)";\s*_n24VideoCfg\.flash\.videoFlashSource\s=\s"(?<m2>[^"]*)";]]></item>
        <item key="fileUrlFormatString"><![CDATA[{1}{2}&tcUrl={1}&app=pssimn24/&playpath={2}&pageurl={0}]]></item>
        <item key="baseUrl"><![CDATA[http://www.n24.de/n24/Mediathek/videos/]]></item>
      </Configuration>
    </Site>


Thanks in advance

Peter
 

doskabouter

Development Group
  • Team MediaPortal
  • September 27, 2009
    4,583
    2,972
    Nuenen
    Home Country
    Netherlands Netherlands
    I improved the documentation on this subject.
    Officially, you should put a "?" after the rtmp url, and between each param=value pair an "&"
    That it worked with spaces is pure luck I guess...
     

    Hanky

    Portal Member
    December 31, 2007
    45
    6
    Home Country
    Germany Germany
    ok i changed it to
    Code:
    {1}?playpath={2}&pageurl=http://n24.de{0}
    and it still works

    thanks for your efforts :)
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,583
    2,972
    Nuenen
    Home Country
    Netherlands Netherlands
    Today I stumbled upon rtmp urls with ? in them, so for those it didn't work.
    I changed the rtmputil and the doc so that you can use a space as separator too.
     

    Users who are viewing this thread

    Top Bottom