HGTV-US (or another rookie trying to please his wife) (1 Viewer)

sgp1

New Member
March 14, 2012
1
0
54
Home Country
United States of America United States of America
So I want to create a site for US HGTV and I need some help. I used the generic site builder to get the categories and video lists, but I'm unsure what the "Resulst url" should be. I've looked at the XBMC python script and it produces a url that looks like this example for a specific video( at least I think it does).

rtmp://flash.scrippsnetworks.com:1935/ondemand?ovpfv=1.1 swfUrl="http://common.scrippsnetworks.com/common/snap/snap-3.0.3.swf" playpath=/library/HGTV/0149702

I also used rtmpsuck to get this:

app: ondemand/library?ovpfv=1.1
flashVer: WIN 11,1,102,62
swfUrl: http://common.scrippsnetworks.com/common/snap/snap-3.2.10.swf
tcUrl: rtmp://flash.scrippsnetworks.com:1935/ondemand/library?ovpfv=1.1
pageUrl: http://www.hgtv.com/hgtv40/videos/index.html

I tried the same format as XBMC in the video result url and it does not work. I get a "No URL" error.

I'm using the rtmp Site Util - can I put the app, tcUrl, and swfurl in the properties for the rtmp site? If so, what would go in the Video Result url - the playpath?

Here is a piece of code from the XBMC for HGTV:

link = video('videourl')[0].string
playpath = link.replace('http://wms.scrippsnetworks.com','').replace('.wmv','')
url = 'rtmp://flash.scrippsnetworks.com:1935/ondemand?ovpfv=1.1 swfUrl="http://common.scrippsnetworks.com/common/snap/snap-3.0.3.swf" playpath='+playpath

sample videourl:
<videoUrl><![CDATA[http://wms.scrippsnetworks.com/library/HGTV/0149702.wmv]]></videoUrl>
Thanks.
 

georgius

Retired Team Member
  • Premium Supporter
  • October 31, 2010
    1,376
    655
    Bratislava
    Home Country
    Slovakia Slovakia
    I think that for rtmp urls you have to program your own SiteUtil, because format supplied on wiki is not valid. In your own SiteUtil use RtmpUrl class, where you can set all parameters, which you wrote.
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    5,289
    4,289
    Nuenen
    Home Country
    Netherlands Netherlands
    You can also try to use "rtmp" as base for your util. That one does the translation to the correct url for onlinevideos.

    This works only if the parts you are missing are constant for the whole site. An example of the use is in "ketnet"
     

    Users who are viewing this thread

    Top Bottom