Jump to content


Photo

Owif function loadepg


  • Please log in to reply
11 replies to this topic

#1 doglover

  • Rytec EPG Team
  • 14,488 posts

+497
Excellent

Posted 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~~
ZGemma StarS 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
  • 52,962 posts

+611
Excellent

Posted 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
  • 57,631 posts

+1,229
Excellent

Posted 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), Amiko Viper T2C (T2+fallback), Octagon SF8008 (S2+T2), Zgemma H9.2H (T2+fallback)

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

Because to health reasons, I will not be active online very often anymore.


Re: Owif function loadepg #4 s3n0

  • Senior Member
  • 288 posts

+30
Good

Posted 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"

Edited by s3n0, 7 April 2021 - 12:50.


Re: Owif function loadepg #5 doglover

  • Rytec EPG Team
  • 14,488 posts

+497
Excellent

Posted 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~~
ZGemma StarS 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
  • 7,541 posts

+246
Excellent

Posted 7 April 2021 - 13:21

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


Duo 4K/Lunix3-4K/Solo 4K


Re: Owif function loadepg #7 littlesat

  • PLi® Core member
  • 52,962 posts

+611
Excellent

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

Edited by 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
  • 14,488 posts

+497
Excellent

Posted 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~~
ZGemma StarS 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
  • 91 posts

+17
Neutral

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


Edited by LraiZer, 7 April 2021 - 14:02.


Re: Owif function loadepg #10 littlesat

  • PLi® Core member
  • 52,962 posts

+611
Excellent

Posted 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
  • 14,488 posts

+497
Excellent

Posted 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)


Edited by doglover, 7 April 2021 - 15:00.

~~Rytec Team~~
ZGemma StarS 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
  • 14,488 posts

+497
Excellent

Posted 8 April 2021 - 08:26

HD2400 flashed with develop (5/4/2021)


~~Rytec Team~~
ZGemma StarS 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*





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users