[RELEASE] LiveStreams (video) Add-on - an alternative to .strm files

  Thread Rating:
  • 41 Votes - 4.59 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
aivs Offline
Junior Member
Posts: 23
Joined: Mar 2011
Reputation: 0
Post: #11
I create live_streams.xml with this content:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<items>
    <item>
        <title>Camera</title>        
        <link>http://admin:admin@192.168.1.104/cgi/mjpg/mjpg.cgi</link>
        <thumbnail>None</thumbnail>
    </item>    
    
</items>
And this not work
It's xbmc.log
Code:
11:19:14 T:3021301632 M:3014938624  NOTICE: -----------------------------------------------------------------------
...
08:19:21 T:3021301632 M:2981416960  NOTICE: DVDPlayer: Opening: http://admin:admin@192.168.1.104/cgi/mjpg/mjpg.cgi
08:19:21 T:3021301632 M:2981416960 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
08:19:21 T:2964450160 M:2981416960  NOTICE: Creating InputStream
08:19:21 T:2964450160 M:2981416960 WARNING: FillBuffer: curl failed with code 22
08:19:21 T:2964450160 M:2981416960   ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
08:19:21 T:2964450160 M:2981416960   ERROR: Open - failed to open source <http://admin:admin@192.168.1.104/cgi/mjpg/mjpg.cgi>
08:19:21 T:2964450160 M:2981416960   ERROR: CDVDPlayer::OpenInputStream - error opening [http://admin:admin@192.168.1.104/cgi/mjpg/mjpg.cgi]
08:19:21 T:2964450160 M:2981416960  NOTICE: CDVDPlayer::OnExit()
08:19:21 T:2964450160 M:2981416960  NOTICE: CDVDPlayer::OnExit() deleting input stream
08:19:21 T:3021301632 M:2981416960   ERROR: Playlist Player: skipping unplayable item: 0, path [http://admin:admin@192.168.1.104/cgi/mjpg/mjpg.cgi]
08:19:21 T:3021301632 M:2981416960  NOTICE: CDVDPlayer::CloseFile()
08:19:21 T:3021301632 M:2981416960 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
08:19:21 T:3021301632 M:2981416960  NOTICE: DVDPlayer: waiting for threads to exit
08:19:21 T:3021301632 M:2981416960  NOTICE: DVDPlayer: finished waiting
08:19:28 T:3021301632 M:2983723008  NOTICE: Storing total System Uptime
08:19:28 T:3021301632 M:2983723008  NOTICE: Saving settings
08:19:28 T:3021301632 M:2983723008  NOTICE: stop all
08:19:28 T:3021301632 M:2983723008  NOTICE: ES: Stopping event server
08:19:28 T:2933549936 M:2983723008  NOTICE: ES: UDP Event server stopped
08:19:28 T:2950335344 M:2983723008  NOTICE: DS: DBUS server stopped
08:19:28 T:3021301632 M:2983723008  NOTICE: stop dvd detect media
08:19:28 T:3021301632 M:2983723008  NOTICE: stop sap announcement listener
08:19:28 T:3021301632 M:2983723008  NOTICE: clean cached files!
08:19:28 T:3021301632 M:2983723008  NOTICE: unload skin
08:19:28 T:3021301632 M:2988548096  NOTICE: stop python
08:19:28 T:3021301632 M:2990833664  NOTICE: stopped
08:19:28 T:3021301632 M:2990833664  NOTICE: destroy
08:19:28 T:3021301632 M:2990833664  NOTICE: unload sections
find quote
mauzzz Offline
Member
Posts: 89
Joined: Dec 2008
Reputation: 0
Location: Amsterdam, Netherlands
Post: #12
You can find any broadcast logo here:

http://www.lyngsat-logo.com/
find quote
divingmule Offline
Posting Freak
Posts: 1,278
Joined: Oct 2008
Reputation: 54
Post: #13
aivs Wrote:I create live_streams.xml with this content:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<items>
    <item>
        <title>Camera</title>        
        <link>http://admin:admin@192.168.1.104/cgi/mjpg/mjpg.cgi</link>
        <thumbnail>None</thumbnail>
    </item>
    
</items>


Does your link play from a .strm file? Looks like the player doesn't know how to handle a .cgi. You might try adding ?mjpg or ?mjpeg to the end of your link. eg:
Code:
http://admin:admin@192.168.1.104/cgi/mjpg/mjpg.cgi?mjpeg
find quote
divingmule Offline
Posting Freak
Posts: 1,278
Joined: Oct 2008
Reputation: 54
Post: #14
PatK Wrote:Lovely job... and Fish Oil, thanks for the cut&paste. This collection has potential, just wondering if holding the icons local might prove a better solution. Hate to lose a stream on a sticky icon.

If you want to use local icons you can do this:
Code:
<thumbnail>special://home/userdata/my_icons/cnn_hd.png</thumbnail>

Where 'special://home' is your user xbmc directory.
find quote
aivs Offline
Junior Member
Posts: 23
Joined: Mar 2011
Reputation: 0
Post: #15
divingmule Wrote:Does your link play from a .strm file? Looks like the player doesn't know how to handle a .cgi. You might try adding ?mjpg or ?mjpeg to the end of your link. eg:
Code:
http://admin:admin@192.168.1.104/cgi/mjpg/mjpg.cgi?mjpeg

This don't work, same problems, but VLC play http://admin:admin@192.168.1.104/cgi/mjp....cgi?mjpeg and http://admin:admin@192.168.1.104/cgi/mjpg/mjpg.cgi?mjpg and http://admin:admin@192.168.1.104/cgi/mjpg/mjpg.cgi
find quote
myXBMC Offline
Member
Posts: 52
Joined: Feb 2011
Reputation: 0
Post: #16
@divingmule or anyone (technical) can answer this:

I searched google and xbmc forums to no avail.

Objective: use VPN (not proxy) to watch country specific content (with country's specific IP addresses).

How do you invoke VPN configuration by xml, or some other methods within AppleTV2?

I understand AppleTV2 doesn't have a built-in VPN client. I understand there is router (DD-WRT router) method or share VPN connection via computers.

Your help is greatly appreciated! Thank you!
(This post was last modified: 2011-03-18 16:19 by myXBMC.)
find quote
divingmule Offline
Posting Freak
Posts: 1,278
Joined: Oct 2008
Reputation: 54
Post: #17
@avis and myXBMC
I suggest you both start new threads. Your more likely to get help.Wink

avis, You should ask your original question in the general help and support forum. myXBMC, you should try the apple support forum.
find quote
dallasnights Offline
Fan
Posts: 502
Joined: Jan 2011
Reputation: 0
Post: #18
what is the format to find streams that work with this mod, I am using it on my ATV and so far most of what you posted works great
Would love to find a list somewhere but dont know what are the types of streams I am looking for

Thanks for your help
find quote
divingmule Offline
Posting Freak
Posts: 1,278
Joined: Oct 2008
Reputation: 54
Post: #19
dallasnights Wrote:what is the format to find streams that work with this mod, I am using it on my ATV and so far most of what you posted works great
Would love to find a list somewhere but dont know what are the types of streams I am looking for

Thanks for your help

Pretty much any video stream. Finding the actual playback url and formatting it for xbmc is the hard part. This post explains it well and there are more links posted their as well.
http://forum.xbmc.org/showthread.php?tid=93280

Here is one for local weather from the weather channel.
hxxp://v.imwx.com/v/wxflash/a_city.flv eg:
Code:
http://v.imwx.com/v/wxflash/dallas.flv

US National Weather
Code:
http://v.imwx.com/v/wxflash/national.flv

I'm not sure but I think southeast,northeast ect... will work also.
find quote
picky2004 Offline
Junior Member
Posts: 23
Joined: Jan 2011
Reputation: 0
Post: #20
how can you add streams from here

http://www.directon.tv
find quote
Post Reply