Jump to content


Photo

OpenWebif [E2OpenPlugins]


  • Please log in to reply
1459 replies to this topic

Re: OpenWebif [E2OpenPlugins] #861 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,500 posts

+118
Excellent

Posted 13 July 2012 - 21:25

got a problem myself

adding remote a timer via the mobile webif on an iPhone/wan doesn't work for me but can access the Webif
can't select the + in Timerlist to add a timer

on the Glassfibre 1GB DVB-C...


Re: OpenWebif [E2OpenPlugins] #862 ops

  • Member
  • 8 posts

0
Neutral

Posted 21 July 2012 - 11:29

Hi,

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 buyukbang

  • Senior Member
  • 185 posts

+11
Neutral

Posted 22 August 2012 - 14:40

Hi all,

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...


http://buyukbang.blogspot.com


Re: OpenWebif [E2OpenPlugins] #864 gizmocuz

  • Member
  • 41 posts

+9
Neutral

Posted 27 August 2012 - 17:32

Is it possible to add a bit more of the playback path in the top of the webinterface?

Today i was playing a file from a network share, at the top i read '1x06 - Bullies.mkv' , would be nice to see a bit more like Series/Folder/1x06...

With regards,
Rob

Re: OpenWebif [E2OpenPlugins] #865 bloodzeed

  • Member
  • 9 posts

0
Neutral

Posted 2 September 2012 - 17: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

Edited by bloodzeed, 2 September 2012 - 17:41.


Re: OpenWebif [E2OpenPlugins] #866 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 7 September 2012 - 14:36

Maybe somebody has already mentioned that, I can't remember.
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 MartiniB

  • Senior Member
  • 49 posts

0
Neutral

Posted 1 October 2012 - 08:33

@Devs
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 stick50jr

  • Senior Member
  • 95 posts

+6
Neutral

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 stick50jr

  • Senior Member
  • 95 posts

+6
Neutral

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 Happysat

  • Senior Member
  • 697 posts

+43
Good

Posted 1 October 2012 - 14:11

stick50jr, you can also post the code fix overhere - https://github.com/E...ge=1&state=open

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 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 1 October 2012 - 14:37

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.

Edited by pieterg, 1 October 2012 - 14:37.


Re: OpenWebif [E2OpenPlugins] #872 stick50jr

  • Senior Member
  • 95 posts

+6
Neutral

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 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 2 October 2012 - 06:09

The present 'graphical'-EPG in the WEB-IF is surely an improvement.
Unfortunately it shows even more that the present 'small-screen'-layout is sub-optimal.
Is there any chance the lay-out will be made 'wide-screen'?

Re: OpenWebif [E2OpenPlugins] #874 Happysat

  • Senior Member
  • 697 posts

+43
Good

Posted 2 October 2012 - 13:38

Attached File  openwebif.png   638.91KB   87 downloads

homey-GER can do this..

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 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 2 October 2012 - 13:48

Hmmm, looks good! You think he's reading here?

Re: OpenWebif [E2OpenPlugins] #876 Happysat

  • Senior Member
  • 697 posts

+43
Good

Posted 2 October 2012 - 15:01

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..??

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 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

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 Happysat

  • Senior Member
  • 697 posts

+43
Good

Posted 2 October 2012 - 15:51

Yes very wierd, his work was great indeed.

Edited by Happysat, 2 October 2012 - 15:52.

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] #879 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 2 October 2012 - 18:42

Well, apparently we don't have to wait for his actions. Any chance anybody knowledgeable in this area could be interested to do the work?

Re: OpenWebif [E2OpenPlugins] #880 Happysat

  • Senior Member
  • 697 posts

+43
Good

Posted 2 October 2012 - 19:17

Im no good coder but i tried a little :P

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)



25 user(s) are reading this topic

0 members, 25 guests, 0 anonymous users