Recent Changes - Search:

LiveStreamsPro

PmWiki

pmwiki.org

edit SideBar

LiveResolver

Use Natko's LiveResolver script module to resolve streams

In Version 2.4.4 added support for LiveResolver. Liveresolver is same concept as urlresolver but for live streams, Natko has done a great job for maintaining it.

This means any site that is supported by liveresolver will not be needed to write any code other than calling liveresolver for it to resolve.

For example:

Code:

<item>
<title>live resolver filmon-bbc</title>
<link>$doregex[GetPageUrl]</link>
<regex>
<name>GetPageUrl</name>
<expres><![CDATA[#$pyFunction
def GetLSProData(page_data,Cookie_Jar,m,url='http://www.filmon.com/channel/bbc-one'):
   import liveresolver
   u = liveresolver.resolve(url)
   return u
]]></expres>
<page></page>
<cookieJar></cookieJar>
</regex>
</item>

<item>
<title>live url wizhd</title>
<link>$doregex[GetPageUrl]</link>
<regex>
<name>GetPageUrl</name>
<expres><![CDATA[#$pyFunction
def GetLSProData(page_data,Cookie_Jar,m,url='http://wizhdsports.sx/live/stream12.php'):
   import liveresolver
   u = liveresolver.resolve(url)
   return u
]]></expres>
<page></page>
<cookieJar></cookieJar>
</regex>
</item>


Both examples are sending specific url to liveresolver and playing it. The url must be supported by liveresolver. Obviously you can write your own regex too to parse both the websites, but why not use something out of the box to save time.

Edit - History - Print - Recent Changes - Search
Page last modified on July 21, 2016, at 06:36 PM
Free Web Hosting