Jump to content


Photo

OpenPLi-py3


  • Please log in to reply
1139 replies to this topic

Re: OpenPLi-py3 #1121 WanWizard

  • PLi® Core member
  • 68,555 posts

+1,737
Excellent

Posted 15 February 2024 - 13:17

I don't see any issue, I thought this was already merged, it was discussed quite some time ago.


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: OpenPLi-py3 #1122 gjstroom

  • Senior Member
  • 516 posts

+16
Neutral

Posted 15 February 2024 - 13:25

Something wrong with the forum ?

It seems I can reply here, but can't create a new thread.

Already wrote this in dutch, but can't post it .....

 

Weet niet of het al bekent is maar er lijkt wat mis met het forum (misschien door de werkzaamheden van paar dagen terug ?)
Ik krijg een Forbidden pagina als ik direct naar specifieke pagina van een forum item wil gaan.
Bv:
https://forums.openp...starten-opname/
Als dan meteen klik op het '4' icoontje dan gaat het fout. Het geldt voor alle pagina's en ook voor alle items die meerdere pagina's hebben.
De url hiervan is: https://forums.openp...n-opname/?st=60
Ik kan wel prima eerst de hoodpagina openen en dan door naar de laatste.

And sorry for posting this here, but it seems to be the only possibility to reply in a existing thread


Edited by gjstroom, 15 February 2024 - 13:30.

Amiko8240, DM500HD, DM800, DM800SE, DM800SESR4, DM800SEV2, VU+ SoloSEV2, VU+ UnoSE


Re: OpenPLi-py3 #1123 WanWizard

  • PLi® Core member
  • 68,555 posts

+1,737
Excellent

Posted 15 February 2024 - 13:56

Creating new topics should be fixed again. New security filter a bit too tight... ;)


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: OpenPLi-py3 #1124 littlesat

  • PLi® Core member
  • 56,260 posts

+691
Excellent

Posted 15 February 2024 - 14:36

So it is fine and we do not worry about the load of our epg servers as soon everyone does it once a hour? Maybe to save upload when twice a day is sufficiant we can at least limit it ?

Edited by littlesat, 15 February 2024 - 14:37.

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


Re: OpenPLi-py3 #1125 littlesat

  • PLi® Core member
  • 56,260 posts

+691
Excellent

Posted 15 February 2024 - 15:25

The commit also has two parts... as the plugin was it imports enigma... and now what is needed from enigma is imported.... so there are (at least) two different things in the commit. 


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


Re: OpenPLi-py3 #1126 WanWizard

  • PLi® Core member
  • 68,555 posts

+1,737
Excellent

Posted 15 February 2024 - 15:27

The potential problem is that epgimport imports ALL defintiions on EVERY import, so if you schedule an import once every x hours, it will also import the EPG that isn't changed again.

 

I understand that, but I also understand users with providers like that have a need to have their problems addressed to.

 

So instead of simply blocking this, maybe we should spend some time thinking about how to address the potential problems.

 

I think technically it is not that complicated:

  • keep a log of the last time a URL was fetched (e.g. a xmltv file was downloaded)
  • use that time to add a request header to the next download: "If-Modified-Since: Thu, 15 Feb 2024 07:28:00 GMT"
  • if the request now returns HTTP 304 NOT MODIFIED, there is nothing downloaded and no new EPG to process

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: OpenPLi-py3 #1127 littlesat

  • PLi® Core member
  • 56,260 posts

+691
Excellent

Posted 15 February 2024 - 15:55

You understand that it looks like a simple patch (while even an extra thing was included), but there is more behind it than just streamlining it…

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


Re: OpenPLi-py3 #1128 WanWizard

  • PLi® Core member
  • 68,555 posts

+1,737
Excellent

Posted 15 February 2024 - 16:28

I have no clue what you are on about.

 

I understand what Dimitrij's requirements are, and I understand your concerns. And I gave a possible solution for those concerns.


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: OpenPLi-py3 #1129 littlesat

  • PLi® Core member
  • 56,260 posts

+691
Excellent

Posted 15 February 2024 - 18:31

The clue is that you can make a merge suggestion... where two things are mixed.... (removing enigma. a lot of times + the repeated reload patch in one).... but is is something better to think about it longer... E.g. your suggestion with files and timestamps where you can check if there is really something new is a huge improvement...

 

Beside this I also have no idea about the real impact when everyone starts downloading each hour...and try to get all... -> "The potential problem is that epgimport imports ALL defintiions on EVERY import,'


Edited by littlesat, 15 February 2024 - 18:32.

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


Re: OpenPLi-py3 #1130 WanWizard

  • PLi® Core member
  • 68,555 posts

+1,737
Excellent

Posted 15 February 2024 - 18:42

It is your assumption that everybody will start doing that, I doubt that, 99.9999% of people use Rytec's EPG which is only updated once a day.

 

And if you are so afraid of that, implement my suggestion before the code gets into 9.1-release. Problem solved.


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: OpenPLi-py3 #1131 littlesat

  • PLi® Core member
  • 56,260 posts

+691
Excellent

Posted 15 February 2024 - 19:54

Then at least Dimitrij should split the merge request…. One for the repeated ego load patch and the other for the enigma2 import stuff.

Edited by littlesat, 15 February 2024 - 19:55.

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


Re: OpenPLi-py3 #1132 WanWizard

  • PLi® Core member
  • 68,555 posts

+1,737
Excellent

Posted 15 February 2024 - 19:56

Yes, ideally one change = one PR.

 

But as you've merged it, that is water under the bridge for THIS PR ;) And it doesn't help fixing the outstanding issue.


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: OpenPLi-py3 #1133 littlesat

  • PLi® Core member
  • 56,260 posts

+691
Excellent

Posted 15 February 2024 - 20:10

Then merge it…

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


Re: OpenPLi-py3 #1134 WanWizard

  • PLi® Core member
  • 68,555 posts

+1,737
Excellent

Posted 15 February 2024 - 20:42

??? I thought you already did?

 

edit: appearently not.

 

The "problem" is for a large part with github, it allows only one open PR between fork and upstream, and as long as that isn't accepted and merged, a new one can't be made.

So Dimitrij can't create two PR's for the two changes, not until you accept and merge the first one. As long as that doesn't happen, you block all his work.


Edited by WanWizard, 15 February 2024 - 20:54.

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: OpenPLi-py3 #1135 DimitarCC

  • PLi® Contributor
  • 1,329 posts

+46
Good

Posted 15 February 2024 - 21:16

If you make two separate branches in the fork you can make two PRs...

Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & Triax 78 (39E)


Re: OpenPLi-py3 #1136 Huevos

  • PLi® Contributor
  • 4,244 posts

+158
Excellent

Posted 15 February 2024 - 22:36

So it is fine and we do not worry about the load of our epg servers as soon everyone does it once a hour? Maybe to save upload when twice a day is sufficiant we can at least limit it ?

+1, we also provide one of the servers.



Re: OpenPLi-py3 #1137 Huevos

  • PLi® Contributor
  • 4,244 posts

+158
Excellent

Posted 15 February 2024 - 22:41

??? I thought you already did?

 

edit: appearently not.

 

The "problem" is for a large part with github, it allows only one open PR between fork and upstream, and as long as that isn't accepted and merged, a new one can't be made.

So Dimitrij can't create two PR's for the two changes, not until you accept and merge the first one. As long as that doesn't happen, you block all his work.

For each unrelated project a new feature branch should be created. That way you can have multiple PR's to different features available in parallel.



Re: OpenPLi-py3 #1138 Dimitrij

  • PLi® Core member
  • 9,993 posts

+338
Excellent

Posted 16 February 2024 - 06:36

Big thanks

and excuse me (again two in one).

But everything is clear :) .

[EPGConfig/filtersServices] add support - .zip file/any ignore ref


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


Re: OpenPLi-py3 #1139 littlesat

  • PLi® Core member
  • 56,260 posts

+691
Excellent

Posted 16 February 2024 - 13:28

Merged


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


Re: OpenPLi-py3 #1140 Dimitrij

  • PLi® Core member
  • 9,993 posts

+338
Excellent

Posted 16 February 2024 - 16:51

Merged

thanks


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



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users