Giter Club home page Giter Club logo

Comments (10)

jbleyel avatar jbleyel commented on June 27, 2024

Hi @devait ,
you should make a fork, make your changes and then send a pull request.

I have checked you code and i don't understand some things.
Why do you need the cachedServiceList?
The getFullServiceRef function is not really optimal.
Why do you need extra chkServices for http sref after line 467?
What will happen if you set overrideAlternatives?

Why do you do that hole thing?
Please compare manual created rec timers for a IPTV channel with your autotimer created rec timers.
They have to be similar for duplicated checks. (sref, description, start, duration, ...)

from enigma2-plugins.

devait avatar devait commented on June 27, 2024

Why do you need the cachedServiceList?
For each IPTV autotimer service ref set we need to check all the bouquets for IPTV channels (with http) for a match. Cached to make sure we only create the list of IPTV channels once.

The getFullServiceRef function is not really optimal.
It caches the list as above. I'll see what other optimal changes I can make.

Why do you need extra chkServices for http sref after line 467?
After putting back the http part of the service ref, we run through the checkDuration etc to make sure that the timer is a valid one. Then we call getFullServiceRef. I originally called getFullServiceRef directly after putting back the http part of the service ref but before the checkDuration checks, but this is wasteful if the autotimer checks fail. Calling it after checkDuration etc is optimal.

What will happen if you set overrideAlternatives?
As the whole system is using servicerefs without the http part I presume it will carry on as normal.

As I said I'm only a few days into python and openvix coding so if this won't help others or needs to be tested on multiple platforms etc I'm happy to just keep it to myself as it's primarily written for my situation only.

Thanks for your help.

from enigma2-plugins.

jbleyel avatar jbleyel commented on June 27, 2024

One thing again.
Please compare a manual created rec timer for a IPTV channel with one created by your autotimer.
They have to be similar. -> check timers.xml

from enigma2-plugins.

devait avatar devait commented on June 27, 2024

Ah yes, it's the same.

from enigma2-plugins.

AbuBaniaz avatar AbuBaniaz commented on June 27, 2024

Can someone post a link to the commit where this issue was fixed please? I can't find it.

from enigma2-plugins.

jbleyel avatar jbleyel commented on June 27, 2024

You should use the latest version from this repository.

from enigma2-plugins.

AbuBaniaz avatar AbuBaniaz commented on June 27, 2024

I did not ask which repository to use.

Which commit/s fixed the reported problem please?

from enigma2-plugins.

jbleyel avatar jbleyel commented on June 27, 2024

I don't find any commit for IPTV.
devait has closed this issue.

from enigma2-plugins.

jbleyel avatar jbleyel commented on June 27, 2024

#178

from enigma2-plugins.

AbuBaniaz avatar AbuBaniaz commented on June 27, 2024

The issue appears to be still present.
Can someone who knows what to do make/suggest the changes please?

https://github.com/oe-alliance/enigma2-plugins/pull/178/files/44a95bcb2d2e66edea93df8e213e1c5021ca6ace

from enigma2-plugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.