[REQUEST] Help with Addon for Indie Movies Online
#1
I am starting to write my first addon for XBMC (first time with python, too) and I think I may have picked a tough nut to crack: indiemoviesonline.com.

I started with the HOW-TO:Write plugins for XBMC tutorial, but that has not gotten me very far on the scraping this website. So, I am learning about beautiful soup and other parsers. I think I will be able to figure this out, but pointers would be appreciated.

I jumped ahead in the tutorial and that is where my main question lies: how am I going to play the videos.

Inspecting a page on the website (http://www.indiemoviesonline.com/watch-m...fic-warden, I have found this:
Code:
<div id="movie_player" class="">
     <object id="IndiePlayer" width="637" height="420" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" type="application/x-shockwave-flash">
          <param value="http://www.indiemoviesonline.com/swf/video/1651" name="movie">
          <param value="true" name="allowFullScreen">
          <param value="always" name="allowScriptAccess">
          <param value="c=local&type=rtmp&autostart=false" name="flashvars">
          <param value="000000" name="bgColor">
          <param value="opaque" name="wmode">
          <embed width="637" height="420" wmode="opaque" bgcolor="000000" flashvars="c=local&type=rtmp&autostart=false" allowscriptaccess="always" allowfullscreen="true" type="application/x-shockwave-flash" src="http://www.indiemoviesonline.com/swf/video/1651">
     </object>
</div>

When I try the url http://www.indiemoviesonline.com/swf/video/1651 I get "unauthorized direct url access".

Is this going to stop me from playing these videos in XBMC? Or is there something I'm missing that would make this work? Searching Google has not given me any useful information.

Thank you for taking the time to help a NOOB!
Reply
#2
Does not look good.

Looks like you need to do a POST request to
Code:
http://api.indiemoviesonline.com/serve
with post data like:
Code:
format=json&call=doGetIMOContent&vid=1651&key=ed7d5857%2D76dd%2D4c7e%2D8779%2D3b44cf41bb80&action=item&type=local&referer=www%2Eindiemoviesonline%2Ecom
That will send you the Json with all the info.
Code:
{
    "status": 200,
    "message": "OK",
    "data": {
        "access": true,
        "streamer": "rtmpe:\/\/us.thenprfvs.cdnetworks.net\/thenprfvs_pr",
        "authkey": "Q0RBVQQCqAAnRSPKhQu0XmHiPZsecGZBZIRnMT0PRQGUQxEYAkCkMXD1i65Vuzz4WWG5rE4lN-btKDcQSy7Wp9rZFD__VuSfZFXaTacs0yGdPEFPGMti9qD-mXpQkEU_wtKL_PG_tVfDlfr5k-W-dtxc0W6xbCy3kZIRzGOc_1pu7MJMGtfHzrYY8rKol8P_RiWkl4GkuU99UurV-qwHlqBpfn6feQjcP7Ek_NRsPtM=",
        "acudeo_prog_id": "4bbdba8420969",
        "acudeo_prog_name": "IMO.com US",
        "acudeo_midrolls": "",
        "acudeo_video_id": "1651",
        "acudeo_video_title": "Traffic Warden",
        "acudeo_video_url": "http:\/\/www.indiemoviesonline.com\/swf\/player\/traffic-warden",
        "acudeo_player_url": "http:\/\/www.indiemoviesonline.com\/watch-movies\/traffic-warden",
        "contentType": "movie",
        "rating": "U",
        "file_ld": "content_republic\/traffic-warden\/traffic_warden-HIGH.flv",
        "file_hd": "content_republic\/traffic-warden\/traffic_warden-HIGH.flv",
        "image": "http:\/\/static.indiemoviesonline.com\/files\/images\/NS_Traffic_Warden.jpg"
    }
}

Not sure if rtmpe is supported in XBMC.
Reply
#3
Thank you.

Looks like I have a lot more reading and learning ahead of me.
Reply

Logout Mark Read Team Forum Stats Members Help
[REQUEST] Help with Addon for Indie Movies Online0