Springen naar inhoud


Foto

Owif function loadepg


  • Please log in to reply
Er zijn 11 reacties in dit onderwerp

#1 doglover

  • Rytec EPG Team
  • 16974 berichten

+635
Excellent

Geplaatst op 7 april 2021 - 08:18

In the past i was using the Owif function:

/usr/bin/wget http://192.168.178.15/api/loadepg

to load the epg.dat file.

 

But in the Owif of the develop OpenPLi this does not seem to work anymore.

 

Is there anything changed?
Is the function removed?

 

Checked the location and presence of the epg.dat.  This looked OK. (present and a correct file)


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Owif function loadepg #2 littlesat

  • PLi® Core member
  • 56123 berichten

+685
Excellent

Geplaatst op 7 april 2021 - 09:11

Just tested it here on develop and no issue here....


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


Re: Owif function loadepg #3 WanWizard

  • PLi® Core member
  • 68303 berichten

+1718
Excellent

Geplaatst op 7 april 2021 - 12:39

If you start Enigma in debug mode, and try it again, do you see any error messages?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: Owif function loadepg #4 s3n0

  • Senior Member
  • 640 berichten

+62
Good

Geplaatst op 7 april 2021 - 12:42

@doglover:

 

Hi.

 

What was the response from the wget command in the shell ? There could also be a problem with the system or the wget command, instead of the OpenWebif problem. Maybe the "epg.dat" file is corrupt?

 

There may also be an error in calling another IP address, for example when the machine in the LAN has changed its IP address and you are referring to a non-existent machine. Try it also the loadepg as locally (terminal connection as localhost) and try to use the standard WEB standard interface in addition to the API:

wget -qO- "http://127.0.0.1/web/loadepg"     # wget -q -O - "http://127.0.0.1/web/loadepg"

wget -qO- "http://127.0.0.1/api/loadepg"     # wget -q -O - "http://127.0.0.1/api/loadepg"

Veranderd door s3n0, 7 april 2021 - 12:50


Re: Owif function loadepg #5 doglover

  • Rytec EPG Team
  • 16974 berichten

+635
Excellent

Geplaatst op 7 april 2021 - 12:57

root@sh1:~# wget -qO- "http://127.0.0.1/web/loadepg"
<?xml version="1.0" encoding="UTF-8"?>
<e2simplexmlresult>
        <e2state>True</e2state>
        <e2statetext></e2statetext>
</e2simplexmlresult>
root@sh1:~#
root@sh1:~# wget -qO- "http://127.0.0.1/api/loadepg"
{
"message": "",
"result": true
}root@sh1:~#

But epg.dat is not loaded.

 

Will try later today to restart in debug mode, and run these again.


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Owif function loadepg #6 Dimitrij

  • PLi® Core member
  • 9962 berichten

+334
Excellent

Geplaatst op 7 april 2021 - 13:21

https://github.com/E...earch?q=loadepg


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


Re: Owif function loadepg #7 littlesat

  • PLi® Core member
  • 56123 berichten

+685
Excellent

Geplaatst op 7 april 2021 - 13:26

With 7.3 on server box and telesat package on the server box might clarify all.... but in owif at the time of 7.3 with utf in filenames....

Veranderd door littlesat, 7 april 2021 - 13:26

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


Re: Owif function loadepg #8 doglover

  • Rytec EPG Team
  • 16974 berichten

+635
Excellent

Geplaatst op 7 april 2021 - 13:32

In debugmode:

[eEPGCache] setCacheFile read/write epg data from/to '/etc/epgimport/epg.dat'
[eEPGCache] time updated.. start EPG Mainloop
[eEPGCache] epg file has incorrect byte order.. dont read it
[eEPGTransponderDataReader] start Mainloop

Looks like epg.dat is at fault.

But I cannot understand why.  It is the epg.dat from my other receiver.

Maybe I am assuming too much?

But it has always worked.....
 


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Owif function loadepg #9 LraiZer

  • Senior Member
  • 101 berichten

+19
Neutral

Geplaatst op 7 april 2021 - 14:01

But in the Owif of the develop OpenPLi this does not seem to work anymore.

 

Is there anything changed?

 

epg.dat version on develop has changed from v7 to v8, see here!

 

It is the epg.dat from my other receiver.

 

 

Are you creating a ENIGMA_EPG_V7 epg.dat on a release image and trying to load it in a develop image ENIGMA_EPG_V8 epg.dat?


Veranderd door LraiZer, 7 april 2021 - 14:02


Re: Owif function loadepg #10 littlesat

  • PLi® Core member
  • 56123 berichten

+685
Excellent

Geplaatst op 7 april 2021 - 14:54

Sounds like that....

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


Re: Owif function loadepg #11 doglover

  • Rytec EPG Team
  • 16974 berichten

+635
Excellent

Geplaatst op 7 april 2021 - 14:57

Bummer.  I did not realize that.

Yes, I did.

 

And actually that was my first question:  Is there anything changed?

 

PS:  The USB-stick is ready (with backup) to get ready for flashing the HD2400 with develop, once my wife gives up the TV)


Veranderd door doglover, 7 april 2021 - 15:00

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Owif function loadepg #12 doglover

  • Rytec EPG Team
  • 16974 berichten

+635
Excellent

Geplaatst op 8 april 2021 - 08:26

HD2400 flashed with develop (5/4/2021)


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*



1 gebruiker(s) lezen dit onderwerp

0 leden, 1 bezoekers, 0 anonieme gebruikers