Jump to content


Photo

OpenWebif [E2OpenPlugins]


  • Please log in to reply
1459 replies to this topic

Re: OpenWebif [E2OpenPlugins] #1281 druciak

  • Member
  • 10 posts

+1
Neutral

Posted 8 November 2014 - 09:25

Sorry for being not exact, I meant OpenWebIf API in general.



Re: OpenWebif [E2OpenPlugins] #1282 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 8 November 2014 - 09:29

It is resp. attempts to be API compatible with the Dream Webinterface.
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: OpenWebif [E2OpenPlugins] #1283 druciak

  • Member
  • 10 posts

+1
Neutral

Posted 8 November 2014 - 09:41

Cool, thanks for the info.



Re: OpenWebif [E2OpenPlugins] #1284 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 15 November 2014 - 23:36

Seems about.getImageVersionString() doesnt return image build date and time but date and time of latest flash user did.

For openpli images the file /etc/version can be used to extract the date and time of the build.

contents of this file on my openpli xp1000 image is:

201411151803

So the image build is done at 15-11-2014 18:03

 

I wonder why blackhole and vti use their own file, it would be much easier to use one file for all images?

 

To make it work for openpli too something like this could be used:

 

/plugin/controllers/models/info.py

if fileExists("/etc/bhversion"):

        f = open("/etc/bhversion",'r')

        imagever = f.readline().strip()

        f.close()

elif fileExists("/etc/vtiversion.info"):

        f = open("/etc/vtiversion.info",'r')

        imagever = f.readline().strip()

        f.close()

elif fileExists("/etc/version"):

        f = open("/etc/version",'r')

        imagever = f.readline().strip()

        f.close()

else:

        imagever = about.getImageVersionString()

@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: OpenWebif [E2OpenPlugins] #1285 littlesat

  • PLi® Core member
  • 57,118 posts

+698
Excellent

Posted 16 November 2014 - 07:16

Van be reduced to...

imagever = open("/etc/version",'r').readline().strip()

;)

 

But still it returns the latest flash timestamp here...


Edited by littlesat, 16 November 2014 - 07:17.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: OpenWebif [E2OpenPlugins] #1286 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 16 November 2014 - 11:15

But still it returns the latest flash timestamp here...

 

Am I mistaken? Time in this file is relative due to timezone?

 

Look here:

 

http://openpli.org/d...digital/xp1000/

 

OpenPLi-4.0-beta-xp1000-20141115_usb.zip 2014/11/15 18:17 - 45.20MB

 

I'm sure I flashed my xp1000 box about 19:30, so I thought that date/timestamp in the /etc/version file must be refering to the date/time of the imagebuild


@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: OpenWebif [E2OpenPlugins] #1287 WanWizard

  • PLi® Core member
  • 70,383 posts

+1,807
Excellent

Posted 16 November 2014 - 11:29

On our upload (= distribution) server, from which the website gets it's data:

[openpli@openpli1 xp1000]# date
Sun Nov 16 11:27:55 CET 2014

[openpli@openpli1 xp1000]# ls -l
total 185428
-rwxrwsr--. 1 root g_pli 47483431 Nov  9 07:53 OpenPLi-4.0-beta-xp1000-20141109_usb.zip
-rwxrwsr--. 1 root g_pli 47495726 Nov 10 05:17 OpenPLi-4.0-beta-xp1000-20141110_usb.zip
-rwxrwsr--. 1 root g_pli 47493285 Nov 12 05:17 OpenPLi-4.0-beta-xp1000-20141112_usb.zip
-rwxrwsr--. 1 root g_pli 47397254 Nov 15 18:17 OpenPLi-4.0-beta-xp1000-20141115_usb.zip

So times in CET.

 

I don't have access to the buildserver, but I assume it runs CET too.

 

As far as I know, the /etc/version file is part of the image, so it makes sense it has the build timestamp, and not the install timestamp.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenWebif [E2OpenPlugins] #1288 WanWizard

  • PLi® Core member
  • 70,383 posts

+1,807
Excellent

Posted 16 November 2014 - 11:33

Just checked with an old image file I still had here, and flashed on my 10K:

root@et10000:~# ls -l /etc/version
-rw-r--r--    1 root     root            13 Oct 14 04:37 /etc/version
root@et10000:~# cat /etc/version
201410140429
root@et10000:~#

So absolutely build time, not flash time. To be even more correct, the build time recorded is 04:29 on 20141014, the timestamp of the file is 8 minutes later.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenWebif [E2OpenPlugins] #1289 littlesat

  • PLi® Core member
  • 57,118 posts

+698
Excellent

Posted 16 November 2014 - 12:19

To date it is November (11) not October (10).///


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: OpenWebif [E2OpenPlugins] #1290 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 16 November 2014 - 12:21

To date it is November (11) not October (10).///

 

Yes... WanWizard did a test with an old image so he proofed /etc/version contains builddate not flashdate ;)


@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: OpenWebif [E2OpenPlugins] #1291 WanWizard

  • PLi® Core member
  • 70,383 posts

+1,807
Excellent

Posted 16 November 2014 - 13:49

Indeed. Proper reading is an art... :P :D :ph34r:


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenWebif [E2OpenPlugins] #1292 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 16 November 2014 - 15:20

And today isn't even the 11th, but the 16th :)

Re: OpenWebif [E2OpenPlugins] #1293 WanWizard

  • PLi® Core member
  • 70,383 posts

+1,807
Excellent

Posted 16 November 2014 - 15:54

I think he meant month 11 (= november).


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenWebif [E2OpenPlugins] #1294 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 16 November 2014 - 16:20

For sure...

 

So this is valid for SatKiekerd too!

 

 


Indeed. Proper reading is an art... :P :D :ph34r:


Edited by theparasol, 16 November 2014 - 16:20.

@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: OpenWebif [E2OpenPlugins] #1295 Dimitrij

  • PLi® Core member
  • 10,298 posts

+347
Excellent

Posted 16 November 2014 - 17:56

ru lang

How to add a plugin?

autor unknown


Edited by Dima73, 16 November 2014 - 17:59.

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: OpenWebif [E2OpenPlugins] #1296 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 16 November 2014 - 17:59

Added:
https://github.com/E...3cedcd95765d2bb
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: OpenWebif [E2OpenPlugins] #1297 Dimitrij

  • PLi® Core member
  • 10,298 posts

+347
Excellent

Posted 16 November 2014 - 18:07

Thanks!


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: OpenWebif [E2OpenPlugins] #1298 Kirillm

  • Member
  • 12 posts

0
Neutral

Posted 16 November 2014 - 21:22

Full uk lang

Attached Files


Formuler F3+USB DVB-C Sundtek


Re: OpenWebif [E2OpenPlugins] #1299 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 17 November 2014 - 00:27

Won't merge, says "ru" inside.
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: OpenWebif [E2OpenPlugins] #1300 Kirillm

  • Member
  • 12 posts

0
Neutral

Posted 17 November 2014 - 01:33

Made on the basis of the translation "ru", corrected "Language: uk_UA \ n"

Attached Files


Formuler F3+USB DVB-C Sundtek



7 user(s) are reading this topic

0 members, 7 guests, 0 anonymous users