OpenWebif [E2OpenPlugins]
Re: OpenWebif [E2OpenPlugins] #861
Re: OpenWebif [E2OpenPlugins] #862
Posted 21 July 2012 - 11:29
I'm using OpenPLI 3.0 updated today.
It seems that webif's serviceplayable returns "False" for all services. Is this a know issue?
$ wget -O - -q 'http://192.168.1.102/web/servicelistplayable?sRef=1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.favourites.tv" ORDER BY bouquet'|grep True| wc -l 0 $ wget -O - -q 'http://192.168.1.102/web/servicelistplayable?sRef=1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.favourites.tv" ORDER BY bouquet'|grep False| wc -l 53
Re: OpenWebif [E2OpenPlugins] #863
Posted 22 August 2012 - 14:40
I'm trying to write a simple shell script to start/stop softcams on specific events. I can find box state and recording status using a simple wget command to query web interface, but I couldn't find anything to find stream status for that? Any idea ?
Edited by buyukbang, 22 August 2012 - 14:42.
It all started with a BigBang...
Re: OpenWebif [E2OpenPlugins] #864
Re: OpenWebif [E2OpenPlugins] #865
Posted 2 September 2012 - 17:36
grabbed stream from webif
http://postimage.org/image/9i19r4yut/
one of my media servers keeps trying to play the other video source which is blank!'
is this normal I'm sure it should be just audio/and showing the video h264 info
Edited by bloodzeed, 2 September 2012 - 17:41.
Re: OpenWebif [E2OpenPlugins] #866
Posted 7 September 2012 - 14:36
When I read EPG via OpenWebIf and whenever I add a timer which is conflicting, OpenWebIf does not inform me about it, so I assume the timer has been properly added. And so I continue adding further timers. Unfortunately, some of them have not been added at all. I am of the opinion that I should be notified each timer a timer fails to be added.
What do you think, guys?
ET9000, OpenPLi 4.0, 13E, 19E
HD51, OpenPLi 6.2, 75E - 30W
Re: OpenWebif [E2OpenPlugins] #867
Posted 1 October 2012 - 08:33
can someone favor with ~single py code line - can't search method to able read incomming ip
http://www.dream-mul...ght=#post117033
Re: OpenWebif [E2OpenPlugins] #868
Posted 1 October 2012 - 12:00
Is it possible to implement that in stream.m3u generation from openwebif? These should work on other channels too (normal channels that does not use shared pmt)
I've committed an implementation: I've tested it only in "normal" situations: let me know if it works as desired on shared PMT
works like a charm
many thanks
Yes it is working well on live streams. However, if one of these channels is recorded and then you attempt to stream the recorded file... then VLC doesn't display.
I guess that the sid value in the '.meta' file would need to be retrieved and used to inform the 'program=sid'.
Within the file usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/stream.py there is a procedure "getTS" which can be altered to include the SID required by VLC:
def getTS(self,request): if "file" in request.args: filename = unquote(request.args["file"][0]).decode('utf-8', 'ignore').encode('utf-8') if not os.path.exists(filename): return "File '%s' not found" % (filename) # ServiceReference is not part of filename so look in the '.ts.meta' file sRef = "" if os.path.exists(filename + '.meta'): metafile = open(filename + '.meta', "r") line = metafile.readline() if line: sRef = eServiceReference(line.strip()).toString() metafile.close() if sRef != '': progopt="#EXTVLCOPT:program=%d\n" % (int(sRef.split(':')[3],16)) else: progopt="" response = "#EXTM3U\n#EXTVLCOPT--http-reconnect=true \n%shttp://%s:%s/file?file=%s\n" % (progopt,request.getRequestHostname(), config.OpenWebif.port.value, quote(filename)) request.setHeader('Content-Type', 'application/text') return response else: return "Missing file parameter"
Perhaps someone who has developer access can commit this enhancement so that others can enjoy. Meanwhile, I am happy being able to stream recordings (rather than just 'live') of shared pmt channels.
With this change, I am able to stream channels recorded from Optus C1 in the Aurora package (eg. WIN, GWN, IMP, 7Central etc.)
cheers
Edited by stick50jr, 1 October 2012 - 12:04.
Re: OpenWebif [E2OpenPlugins] #869
Posted 1 October 2012 - 13:36
Hello just wondering if someone could explain to me why when i stream from dreambox i see 2 video sources and 1 audio
grabbed stream from webif
http://postimage.org/image/9i19r4yut/
one of my media servers keeps trying to play the other video source which is blank!'
is this normal I'm sure it should be just audio/and showing the video h264 info
Looks like they have allowed both mpeg2 and h264 elemental streams within the transport stream... possibly to support a transition. I have had this problem with Aurora channels and I need to specify the correct program stream to avoid the blank one(s). Perhaps the change that I have posted above will also help you?
If you have any success using the modification please let me know.
cheers
Re: OpenWebif [E2OpenPlugins] #870
Posted 1 October 2012 - 14:11
Maybe get's faster attention that way
Octagon SF8008 / TBS5530 DVB-S2/T2 T-85/1.50Mtr/3x90cm (53e 52e 51,5e 28e 25,9e 23e 19e 13e 9e 4e 1w 5w 14w)
Re: OpenWebif [E2OpenPlugins] #871
Re: OpenWebif [E2OpenPlugins] #872
Posted 1 October 2012 - 15:23
The best way is to fork the repository, commit your fix, and send a pull request.
This avoids that developers have to read a piece of code, and figure out which parts have changed, and which parts are new.
I have attempted to follow your advice... hope I haven't stuffed it up!
regards
Re: OpenWebif [E2OpenPlugins] #873
Re: OpenWebif [E2OpenPlugins] #874
Posted 2 October 2012 - 13:38
Octagon SF8008 / TBS5530 DVB-S2/T2 T-85/1.50Mtr/3x90cm (53e 52e 51,5e 28e 25,9e 23e 19e 13e 9e 4e 1w 5w 14w)
Re: OpenWebif [E2OpenPlugins] #875
Re: OpenWebif [E2OpenPlugins] #876
Posted 2 October 2012 - 15:01
Octagon SF8008 / TBS5530 DVB-S2/T2 T-85/1.50Mtr/3x90cm (53e 52e 51,5e 28e 25,9e 23e 19e 13e 9e 4e 1w 5w 14w)
Re: OpenWebif [E2OpenPlugins] #877
Posted 2 October 2012 - 15:14
Hard to say, someone?! overhere did "hurt his feelings and insult him" as he says on ihad http://www.i-have-a-...htuser=0&page=1 and he works for himself now..??
Uhmm strange, after a little problem with an user at introdution post here he was very good respected.
He have left us without any explanation.
Re: OpenWebif [E2OpenPlugins] #878
Re: OpenWebif [E2OpenPlugins] #879
Re: OpenWebif [E2OpenPlugins] #880
Posted 2 October 2012 - 19:17
These 2 value's changes the width in style.css to see more epg-(days), but i didnt get the leftmenu to move more to the left to get things in center
Also the current page has to be alligned course the skin gets out of oder by this way.
#tvcontent { width:880px;
#content_main { /* background-image:url(../images/main_back.png); background-repeat:repeat-y; */ background-color:#FFF; width:900px;
Octagon SF8008 / TBS5530 DVB-S2/T2 T-85/1.50Mtr/3x90cm (53e 52e 51,5e 28e 25,9e 23e 19e 13e 9e 4e 1w 5w 14w)
7 user(s) are reading this topic
0 members, 7 guests, 0 anonymous users