e2openplugin-OpenWebif icon indicating copy to clipboard operation
e2openplugin-OpenWebif copied to clipboard

"add timer" not working

Open Huevos opened this issue 2 years ago • 13 comments

Build at ad155b20b7ddd913ae3df9bb237a82f103a95eee

From Main panel click "timers", then click "add timer".

On clicking "add timer" a request is sent to "./api/getallservices?renameserviceforxmbc=1&nolastscanned=1". The request works (as shown in the attached screenshot) but the data is not processed and the screen is not updated.

Reported by an OpenViX user on the forum and verified by me in Firefox and Chrome.

2

owif

Huevos avatar Aug 23 '22 16:08 Huevos

probably a similar issue here -> https://github.com/E2OpenPlugins/e2openplugin-OpenWebif/issues/1541

jbleyel avatar Aug 23 '22 20:08 jbleyel

Is this only in Classic interface? Please check the javascript console for errors. Please check local storage gas-date variable. YES "gas-date" and not "gas-data" (it's a typo) gas-date is the data gas-data is the date

jbleyel avatar Aug 23 '22 20:08 jbleyel

3

Huevos avatar Aug 23 '22 22:08 Huevos

The getallservices json is too big for local storage. We may need to strip if possible.

The program attribute can be removed because it's not needed here.

Or we find a way to change the quota.

jbleyel avatar Aug 24 '22 04:08 jbleyel

Ok, maybe we should just forget this. It is too much data. For me ./api/getallservices?renameserviceforxmbc=1&nolastscanned=1 outputs 25MB.

Huevos avatar Aug 24 '22 07:08 Huevos

Just curious @Huevos - how many channels do you have?? 😮

I wonder if you'd mind sending a backup of your lamedb and bouquets that I could use for testing the modern interface?

wedebe avatar Aug 24 '22 08:08 wedebe

In mine 126322 positions including spacers. Most is from IPTV bouquets, not lamedb. I'm not sure what the user who reported it has. I've asked.

Huevos avatar Aug 24 '22 10:08 Huevos

The spacers should be removed .. I will do that.

jbleyel avatar Aug 24 '22 10:08 jbleyel

IPTV can be also removed but only VOD, because you may wanna create a timer for IPTV Live channel.

jbleyel avatar Aug 24 '22 10:08 jbleyel

Please check this: https://github.com/E2OpenPlugins/e2openplugin-OpenWebif/commit/8af71440c1826805ab9fccdef632d4b96e1fbb70

by the way .. spacer should be not in the result.

jbleyel avatar Aug 24 '22 21:08 jbleyel

./api/getallservices?renameserviceforxmbc=1&exclude=lastscanned,vod,program

For me it takes 15 seconds for the server to respond and another 30 seconds to output the data. And then it still doesn't display.

So, too much data to process on the fly.

Huevos avatar Aug 25 '22 08:08 Huevos

Works again in OpenPli 8.3 on my VU+Ultimate4k... Happy with it!

AdPatat avatar Sep 20 '22 20:09 AdPatat

An easy workaround is increasing the quota.

On Firefox, go to about:config and increase the value for dom.storage.default_quota (https://support.mozilla.org/bm/questions/1353337#answer-1449585)

kwaaak avatar Jan 13 '23 06:01 kwaaak