Kodi Community Forum

Full Version: How to play links to livestream.com
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi, is there a way to play links to livestream.com in XBMC?
I think the use of streaming in xbmc is very complicated for someone like me who doesn't know programming ...
Basically I just want to know how to see a link to a web page... For me it is really impossible to understand ...
Think of it this way: XBMC plays files, that is it plays something that is on the disk. For videos and MP3s the file contains the video or music data. For streams you need a file containing the address of the stream.

For example, suppose you want to play mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio1/radio1_bb_live_eq1_sl0 (this is just an example, there's nothing special about this stream). Create a file somewhere on the hard disk called BBCRadio1.strm. You could call it anything you want as long as it ends .strm, but it makes sense to make the file name something obvious. This file needs to contain the single line:

Code:
mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio1/radio1_bb_live_eq1_sl0

When you play the file BBCRadio1.strm, XBMC looks to see what's in it, finds it's the address of a stream and it plays that stream.

There is more info in http://wiki.xbmc.org/index.php?title=HOW...io_streams

I agree that this can be hard for the beginner because you need to create the strm file and you need to know the stream address, but there isn't any easy way round this. For various popular streaming sites people have created add-ons to make access to the web site easier. For example there's an add-on to play videos from YouTube. But there are simply too many web sites for the XBMC team to write add-ons for them all.

JR
Actually I've just noticed there is an add-on for livestream.com. See http://forum.xbmc.org/showthread.php?tid=97116

JR
Thank you very much for your reply. Unfortunately, the thing you're talking about is an add-on for "live streams" and not for "livestream.com" Blush Anyway I'm trying every possible solution: navi-x add-ons and livestreams add-on, but I still can't play this link: http://www.livestream.com/newchannel/pop...nnel=hstv1 in any way
That's because :

Code:
http://www.livestream.com/newchannel/popoutplayer?channel=hstv1

is not the address of a stream. It's the address of the web page containing a player app.

You need to remember that web sites do not want you to bypass them and play the streams directly, and they generally make it hard for you to do this. I had a quick look at the data returned by the address you mention, and I can't see the stream address in it. You would probably have to use a network sniffer to figure out what the stream address is.

You can, sort of, play the stream from XBMC. You need to configure Internet explorer as an external player. XBMC would then play the stream by opening Internet Explorer and using it to play the stream. This approach has been used to play streams from NetFlix (see http://wiki.xbmc.org/index.php?title=Usi...nal_player) but this is a hack at best.

JR
in this particular case you need to execute the javascript to get at the urls...
I want to thank you guys because I'm finally starting to understand ...
The problem is that I don't know the Java language or how to use a javascript.
I would be really grateful if you could give me an idea of ​​what steps I need to do to play that link through xbmc media center.
Thank you very very much...
I suspect you're not going to be able to play the stream without a great deal of work. I did a quick network sniff, and the following address works:

Code:
http://rackcdn.brainient.com/uploads/369/81dcad2a6b5babf10d746d80878fc8de.flv

However this looks to me like a dynamic address and I suspect it will stop working at some random time (possibly even before you read this post). To use livestream.com in XBMC will require someone to write an add-on for it and this would be a lot of work.

JR
Here's the info you need for the channel example you gave for livestream.com

rtmp://extondemand.livestream.com/ondemand<playpath>trans/dv06/mogulus-user-files/chhstv1/2010/02/12/54a4d727-4976-4a4e-906f-da72380e489f <swfUrl>http://cdn.livestream.com/chromelessPlay...Info=false <pageUrl>http://www.livestream.com/embed/hstv1?ch...e&t=427451
I do not know how to thank you. It works !!!!!!!!
I wrote this xml files for the Livestreams add-ons and it works!!!
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<channels>
    <channel>
        <name>Livestream.com</name>
        <thumbnail>http://userlogos.org/files/logos/Rog/Livestream.com-01.png</thumbnail>
        <items>
            <item>
                <title>HSTV_1</title>        
                <link>rtmp://extondemand.livestream.com/ondemand playpath=trans/dv06/mogulus-user-files/chhstv1/2010/02/12/54a4d727-4976-4a4e-906f-da72380e489f swfUrl="http://cdn.livestream.com/chromelessPlayer/v21/playerapi.swf?id=player&isPopUpPlayer=true&jsEnabled=false&t=427451&time=&allowShare=true&allowChat=true&autoPlay=true&hideInfo=false" pageUrl="http://www.livestream.com/embed/hstv1?channel=hstv1&allowChat=true&id=player&hideInfo=false&autoPlay=true&isPopUpPlayer=true&layout=4&allowShare=true&t=427451"</link>
                <thumbnail>http://www.livestream.com/filestore/logos/hstv1-small.jpg</thumbnail>
            </item>
        </items>
    </channel>
</channels>

Can you tell me what software I have to use to get rtmp url, swfUrl and pageUrl to edit the next xml code fo other stream codes?
Thank you very much...
Maybe it was too early to say that it worked ....Now the xml script always shows the same video stream.. The same cartoon from the beginning to the end for all the day long. The original link is a streaming channel that shows several cartoons all day ...
I have no idea what can be done but ... I can say that the solution has not yet been found ... Sad
This would be nice. Livestream.com is about the only thing I don't have on my XBMC.

Although, someone seems to have a livestream.com stream working here for the rtmpGUI plugin so maybe it is possible?:
http://forum.xbmc.org/showpost.php?p=102...tcount=159
How come when I put mms://116.199.127.68/bengang in a strm file saved in notepad and use xbmc on Android tablet it doesn't work ? Yet it plays on Windows media player as wpl extension file ?
It works for http://www.cctv-9.com/2005/asx/live/live_300.asx when I save using notepad on strm file.

Thanks

(2011-09-05, 08:42)jhsrennie Wrote: [ -> ]Think of it this way: XBMC plays files, that is it plays something that is on the disk. For videos and MP3s the file contains the video or music data. For streams you need a file containing the address of the stream.

For example, suppose you want to play mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio1/radio1_bb_live_eq1_sl0 (this is just an example, there's nothing special about this stream). Create a file somewhere on the hard disk called BBCRadio1.strm. You could call it anything you want as long as it ends .strm, but it makes sense to make the file name something obvious. This file needs to contain the single line:

Code:
mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio1/radio1_bb_live_eq1_sl0

When you play the file BBCRadio1.strm, XBMC looks to see what's in it, finds it's the address of a stream and it plays that stream.

There is more info in http://wiki.xbmc.org/index.php?title=HOW...io_streams

I agree that this can be hard for the beginner because you need to create the strm file and you need to know the stream address, but there isn't any easy way round this. For various popular streaming sites people have created add-ons to make access to the web site easier. For example there's an add-on to play videos from YouTube. But there are simply too many web sites for the XBMC team to write add-ons for them all.

JR
I used URL Snooper and found link for livestream.com WSPA Live.

dw=100&hdnea=st=1426469131~exp=1426470031~acl=/i/7592531_2847909_a1c7da99_1@190607/*~hmac=c589817ca91ad81b1e28cc1073f7166e541f341e1c10ba44f6bb43beacdc032f


rtsp://212-123.livestream.com:8080/livestreamiphone/7592531_2847909_a1c7da99_1_198@190607

made a strm file and they work. may have to redo if stops working. but have tried out links and work with Kodi
Pages: 1 2