Writing .strm file?
#1
I'm trying to write a working .strm file that will stream the same video that the below HTML does:

Code:
<!DOCTYPE html>
<html>
    <head>
        <title>CNN - Live</title>
    </head>
    <body>
        <div style="position: relative; width: 100%; height: 100%;">
            <object type="application/x-shockwave-flash" data="http://msnbclive.eu/player.swf" width="100%" height="100%" bgcolor="#000000" id="96fed12fe1476b06c7a2d0fb68dc98b7" name="96fed12fe1476b06c7a2d0fb68dc98b7" tabindex="0">
                <param name="allowfullscreen" value="true">
                <param name="allowscriptaccess" value="always">
                <param name="seamlesstabbing" value="true">
                <param name="wmode" value="opaque">
                <param name="flashvars" value="netstreambasepath=http%3A%2F%2Fweplaylive.tv%2Flive-news-stream%2F&amp;id=96fed12fe1476b06c7a2d0fb68dc98b7&amp;skin=http%3A%2F%2Fmsnbclive.eu%2Ftheme.zip&amp;author=msnbclive.eu&amp;stretching=fill&amp;file=cnn_live&amp;image=http%3A%2F%2Fweplaylive.tv%2Fwp-content%2Fuploads%2F2013%2F06%2FOn-Air-WEPLAYLIVE.jpg&amp;autostart=true&amp;streamer=rtmp%3A%2F%2Fa.cdn.livenewschat.eu%2Fedge&amp;controlbar.position=bottom">
            </object>
        </div>
    </body>
</html>

Having never written a .strm file, I'm not sure where to start... Any help would be very appreciated!
Reply
#2
Code:
rtmp://a.cdn.livenewschat.eu/edge/cnn_live swfUrl=http://msnbclive.eu/player.swf live=1

http://wiki.xbmc.org/index.php?title=Int...io_streams
Reply
#3
For the code above it will be
<Item>
<title> CNN LIVE</title>
<link>
rtmp://a.cdn.livenewschat.eu/edge/cnn_live
swfUrl=http://msnbclive.eu/player.swf live=1
</link>
</item>
We all think we're pretty smart until we try to turn on someone else's shower
If my suggestions helped you please add my reputation by click +/- button on lower left corner below .it feels good to see efforts being acknowledged
Reply
#4
(2013-10-06, 02:28)al101 Wrote:
Code:
rtmp://a.cdn.livenewschat.eu/edge/cnn_live swfUrl=http://msnbclive.eu/player.swf live=1

http://wiki.xbmc.org/index.php?title=Int...io_streams

That worked perfectly! Thank you so much for your help!

(2013-10-06, 05:36)fixmyi Wrote: For the code above it will be
<Item>
<title> CNN LIVE</title>
<link>
rtmp://a.cdn.livenewschat.eu/edge/cnn_live
swfUrl=http://msnbclive.eu/player.swf live=1
</link>
</item>

I didn't know you could use tags in .strm files... ?

Is there a tag for a link to a thumbnail?
Reply
#5
yes its after link u can add this line
<thumbnail>url here </thumbnail>
</item>
We all think we're pretty smart until we try to turn on someone else's shower
If my suggestions helped you please add my reputation by click +/- button on lower left corner below .it feels good to see efforts being acknowledged
Reply
#6
(2013-10-07, 08:22)fixmyi Wrote: yes its after link u can add this line
<thumbnail>url here </thumbnail>
</item>

Is this documented anywhere? The link posted in the first reply doesn't have any documentation on file syntax, it only defines what the files are for...
Reply
#7
You can't use thumbnail in .strm files.
Reply

Logout Mark Read Team Forum Stats Members Help
Writing .strm file?0