Jump to content


Photo

OpenWebif [E2OpenPlugins]


  • Please log in to reply
1459 replies to this topic

Re: OpenWebif [E2OpenPlugins] #741 tilleke

  • Senior Member
  • 50 posts

+5
Neutral

Posted 15 March 2012 - 00:37

OK,

so currently this is not possible and this is the problem. That's why I thought the developers could increase the version-number (at least in the meantime) which I believe is made by modifying the file info.py (/controllers/models/info.py).

Re: OpenWebif [E2OpenPlugins] #742 noize

  • Member
  • 4 posts

0
Neutral

Posted 15 March 2012 - 10:18

I usually use the powerstate/newstate (4/5) commands to turn on/off my dreambox, but now, with openwebif, the newstate 4 and 5 commands doesn't work anymore.

from this website: http://dream.reichho...a2:WebInterface you can find the additional 4 and 5 commands that I was using.

[list]
[*]0 = Toogle Standby
[*]1 = Deepstandby
[*]2 = Reboot
[*]3 = Restart Enigma2
[*]4 = Wakeup form Standby
[*]5 = Standby
[/list]


Is it possible to add them even in openwebif?

...or.. there is another way to "wakeup from standby" and "standby" (not toggling) with openwebif?

Re: OpenWebif [E2OpenPlugins] #743 Gandalf

  • Senior Member
  • 66 posts

0
Neutral

Posted 16 March 2012 - 12:42

I would like to suggest a little change in file : https://github.com/E...rollers/root.py

On line 53 : if uagent.find("iPhone") != -1 or uagent.find("iPod") != -1:


could be changed to : if uagent.find("iPhone") != -1 or uagent.find("iPod") != -1 or uagent.find("Android") != -1:

As you can guess, this would default Android devices to the mobile version as well, which I believe makes sense. tested this on et9k and galaxy S ICS browser without issues

G

Edited by Gandalf, 16 March 2012 - 12:43.


Re: OpenWebif [E2OpenPlugins] #744 joseb

  • Senior Member
  • 139 posts

+3
Neutral

Posted 16 March 2012 - 18:14

Hi,

Not really a problem of OpenWebif, but streaming to Windows Media player version 12
(mine identifies itself with version 12.0.7601.17514) doesn't work, where older versions did.
VLC player ( Version 1.1.11) does work.

OpenWebif gives as stream url e.g. http://192.168.0.36:...3:EB0000:0:0:0:
When I change the stream url to http://192.168.0.36:...3:EB0000:0:0:0:
(percent encoding the colon characters to %3A) the stream plays in Windows Media Player.
VLC player refuses to play this url.

Obviously this is a bug in Windows media player, as the colon is not a reserved character in this part of the url.
A really ugly workaround I found is to make the m3u playlist like this:

#EXTM3U
#EXTVLCOPT--http-reconnect=true
http://192.168.0.36:8001/1%3A0%3A1%3A51B8%3AC96%3A3%3AEB0000%3A0%3A0%3A0%3A
http://192.168.0.36:8001/1:0:1:51B8:C96:3:EB0000:0:0:0:

VLC skips the first one, and plays the next one, WIndows Media player plays the first one.
I hope you do not implement this.

I have no idea if there is an easy way to give customer feedback to Microsoft,
I do know that it is almost useless.

Just so someone finds this when looking for problems, or, maybe even a solution that is not ugly.
ET9000 ET5000 - 3 quad LNB 19,23,28 E - Viseosat

Re: OpenWebif [E2OpenPlugins] #745 Rincewind

  • Member
  • 25 posts

+12
Neutral

Posted 16 March 2012 - 19:14

I would like to suggest a little change in file : https://github.com/E...rollers/root.py

On line 53 : if uagent.find("iPhone") != -1 or uagent.find("iPod") != -1:


could be changed to : if uagent.find("iPhone") != -1 or uagent.find("iPod") != -1 or uagent.find("Android") != -1:

As you can guess, this would default Android devices to the mobile version as well, which I believe makes sense. tested this on et9k and galaxy S ICS browser without issues

G


I've tested on Vuplus duo and Galaxy Note: nice!
I've committed the change.

Re: OpenWebif [E2OpenPlugins] #746 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 16 March 2012 - 19:15

I would like to suggest a little change in file : https://github.com/E...rollers/root.py

On line 53 : if uagent.find("iPhone") != -1 or uagent.find("iPod") != -1:


could be changed to : if uagent.find("iPhone") != -1 or uagent.find("iPod") != -1 or uagent.find("Android") != -1:

As you can guess, this would default Android devices to the mobile version as well, which I believe makes sense. tested this on et9k and galaxy S ICS browser without issues

G


I am not sure this is a good idea because skaman looked at this and it seems to be a problem with android tablets.

Re: OpenWebif [E2OpenPlugins] #747 Rincewind

  • Member
  • 25 posts

+12
Neutral

Posted 16 March 2012 - 19:17


I would like to suggest a little change in file : https://github.com/E...rollers/root.py

On line 53 : if uagent.find("iPhone") != -1 or uagent.find("iPod") != -1:


could be changed to : if uagent.find("iPhone") != -1 or uagent.find("iPod") != -1 or uagent.find("Android") != -1:

As you can guess, this would default Android devices to the mobile version as well, which I believe makes sense. tested this on et9k and galaxy S ICS browser without issues

G


I am not sure this is a good idea because skaman looked at this and it seems to be a problem with android tablets.

Whoops! Should I revert? (Yeah, I know that the Note is not really a tablet, but it seemed to be working...)

Edited by Rincewind, 16 March 2012 - 19:18.


Re: OpenWebif [E2OpenPlugins] #748 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 16 March 2012 - 20:14

Whoops! Should I revert? (Yeah, I know that the Note is not really a tablet, but it seemed to be working...)


If i remember well the problem is that there is not way to distinguish between android phones and tablets.
This modification could cause that android tablets or little pc will be set to mobile mode.

Maybe someone could test.

Edited by bacicciosat, 16 March 2012 - 20:14.


Re: OpenWebif [E2OpenPlugins] #749 Rincewind

  • Member
  • 25 posts

+12
Neutral

Posted 16 March 2012 - 20:57

If i remember well the problem is that there is not way to distinguish between android phones and tablets.
This modification could cause that android tablets or little pc will be set to mobile mode.

Maybe someone could test.


OK, I've tried to refine the detection following http://googlewebmast...obile-user.html
If anyone can test with tablets or something similar, please post feedbacks. (BTW, the Note is still detected as a mobile phone)

Re: OpenWebif [E2OpenPlugins] #750 Gandalf

  • Senior Member
  • 66 posts

0
Neutral

Posted 17 March 2012 - 09:41

Both my Galaxy running ICS/Chrome and my 10" tablet runng Gingerbread are seen has mobile, which is perfect : even on the tablet the mobile version works way better (given it is a cheap unpowerfull tablette). I'l try with an Acer a510 as soon as acer releases them !

G

Re: OpenWebif [E2OpenPlugins] #751 Rincewind

  • Member
  • 25 posts

+12
Neutral

Posted 17 March 2012 - 19:43

I usually use the powerstate/newstate (4/5) commands to turn on/off my dreambox, but now, with openwebif, the newstate 4 and 5 commands doesn't work anymore.

from this website: http://dream.reichho...a2:WebInterface you can find the additional 4 and 5 commands that I was using.
[list]
[*]0 = Toogle Standby
[*]1 = Deepstandby
[*]2 = Reboot
[*]3 = Restart Enigma2
[*]4 = Wakeup form Standby
[*]5 = Standby
[/list]

Is it possible to add them even in openwebif?

...or.. there is another way to "wakeup from standby" and "standby" (not toggling) with openwebif?


You'll find the commands in tomorrow build.

Re: OpenWebif [E2OpenPlugins] #752 tilleke

  • Senior Member
  • 50 posts

+5
Neutral

Posted 17 March 2012 - 20:45

You'll find the commands in tomorrow build.


Can you please make sure to increase the version number?
We really need this because like in above case, we are able through API determine if those commands are supported or not on the OWIF running on the decoder.

Re: OpenWebif [E2OpenPlugins] #753 Rincewind

  • Member
  • 25 posts

+12
Neutral

Posted 18 March 2012 - 01:19

Can you please make sure to increase the version number?
We really need this because like in above case, we are able through API determine if those commands are supported or not on the OWIF running on the decoder.


Done.
Anyway, I think that this should be done for changes in external interfaces only, as changing it for each and every change does not seem to be really practical.
As somebody else previously said, for most needs referring to the version reported by opkg info should be enough.

Re: OpenWebif [E2OpenPlugins] #754 jackzone

  • Member
  • 21 posts

0
Neutral

Posted 19 March 2012 - 14:34

Hi guys,

with the old webif I used DreaMote Lite and OPlayer to stream to my iPad. Now, with the OpenWebif it doesn't work anymore - the OPlayer tries to load the stream and fails. After editing the stream-url e.g. from

http://et9000/web/stream.m3u&ref=1:0:1:6D66:437:1:C00000:0:0:0:

to

http://et9000:8001/1:0:1:6D66:437:1:C00000:0:0:0:

the OPlayer successfully loads and plays the stream. Does the OPlayer though not recognize the OpenWebif stream-url?

I also tried to stream directly from OpenWebif in Safari by clicking onto the stream-icon. A new tab with Quicktime-Player was loaded, but the stream didn't start although my ET9000 started to stream (shown by red icon on the front display).

Any ideas?

Re: OpenWebif [E2OpenPlugins] #755 Edgar

  • Senior Member
  • 292 posts

+7
Neutral

Posted 19 March 2012 - 22:33

Jack,

Try VLC media player, that one will do the job.

Somethig else: Is your movielist working? In Stream - movies from the menu at the left? I get a white screen and when I choose the location I get the movies on the screen. Lucky me I have two locations made because with the efault movie location the screen will be only white.

VU+ Duo 4K DVB-S2X en DVB-C met Open PLi 7.0


Re: OpenWebif [E2OpenPlugins] #756 jackzone

  • Member
  • 21 posts

0
Neutral

Posted 19 March 2012 - 23:24

Edgar, I'm talking about an iPad, so VLC is not an option unless I jailbreak my device.

For me the movie list works with the default path (and this is the only one).

Re: OpenWebif [E2OpenPlugins] #757 Edgar

  • Senior Member
  • 292 posts

+7
Neutral

Posted 19 March 2012 - 23:55

Sorry, I was confused with the combination openWebif and Safari. I thought you meant a Mac in combination with openWebif

The movielist in OpenWebif you mean? i get there always a white screen first.

VU+ Duo 4K DVB-S2X en DVB-C met Open PLi 7.0


Re: OpenWebif [E2OpenPlugins] #758 tilleke

  • Senior Member
  • 50 posts

+5
Neutral

Posted 20 March 2012 - 15:46

I have users who informed me that with current OWIF there are problems loading movie-list if locations are different from /hdd/movie. Using API, no movies will be loaded and using OWIF directly from PC, nothings shows.

By testing with a version of OWIF before the commit of March 4, 2012 ("Refactored timer dialog code to avoid multiple initializations"), everything works.

Can someone please verify and correct. Thanks.

Re: OpenWebif [E2OpenPlugins] #759 Edgar

  • Senior Member
  • 292 posts

+7
Neutral

Posted 20 March 2012 - 16:26

That sounds fine and I am happy you pay some attention to this bug as I noticed this already longer time ago :) See this forum, some pages before.

As I have an external USB harddisk which is /media/usb/movie in stead of /hdd/movie, this problems of a white screen in OWIF occurs. Also found out that it is also CASE sensitive: /hdd/Movie doesn't work, while /hdd/movie works excellent, just made a new folder with that names (movie and Movie) to test it.

External harddisk users who use PLi will be happy with a fix, thank you.

VU+ Duo 4K DVB-S2X en DVB-C met Open PLi 7.0


Re: OpenWebif [E2OpenPlugins] #760 Happysat

  • Senior Member
  • 697 posts

+43
Good

Posted 20 March 2012 - 17:15

Dito same problem for me, subfolders do read without any problem access thu cifs network share...

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)



2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users