Comments (10)
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.
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.
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.
Ah yes, it's the same.
from enigma2-plugins.
Can someone post a link to the commit where this issue was fixed please? I can't find it.
from enigma2-plugins.
You should use the latest version from this repository.
from enigma2-plugins.
I did not ask which repository to use.
Which commit/s fixed the reported problem please?
from enigma2-plugins.
I don't find any commit for IPTV.
devait has closed this issue.
from enigma2-plugins.
from enigma2-plugins.
The issue appears to be still present.
Can someone who knows what to do make/suggest the changes please?
from enigma2-plugins.
Related Issues (20)
- [remotetimer] online update 6.4+git7127 has a bug HOT 1
- IMDB no longer working HOT 3
- [AutoTimers] autotimer.xml corruption when saving AutoTimer filtered by bouquet with `&` or `<` HOT 2
- twisted 22 / removal of several old functions HOT 1
- [IMDb] Downloader.py
- crash on exit HOT 1
- Crash on exit HOT 1
- iMDB work now HOT 10
- [moviecut] HOT 1
- [IMDb] Search results HOT 5
- Error: Extensions/AdvancedMovieSelection ('Language' object has no attribute 'activeLanguage') HOT 1
- Improvement to IMDB result details HOT 1
- System crash due to driver or possibly stream?? HOT 1
- seriesplugin still on python2 HOT 2
- [AutoTimer] zapping should not have a margin by default - openatv Timer margin challenge #3 HOT 9
- [AutoTimer] Change default recording offset has own defaults - openatv Timer margin challenge #4 HOT 3
- [AutoTimer] doesn't modify timers completely
- [dreamexplorer] crashes after "Sort by date" HOT 3
- Severe BUG after last update under OpenBH 5.3 HOT 1
- [AutoTimer] Help section is always in English HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enigma2-plugins.