mexicos
Have a play and see if any of the above makes your auto update work like jedi.
Note: Tabs in my code are 4 spaces. Do not use tabs as the code will break.
Posts by KiddaC
-
-
There are only a handful of differences between the autotimer on bmx and jedi.
in plugin.pyBMX current code
Code
Display Moredef update(self, atLeast=0): self.timer.stop() wake = self.getWakeTime() now_t = time.time() now = int(now_t) if wake > 0: if wake < now + atLeast: wake += 24 * 3600 # add 24 hours to next wake time next = wake - now self.timer.startLongTimer(next) else: wake = -1 wdt = datetime.fromtimestamp(wake) ndt = datetime.fromtimestamp(now) print("[BouquetMakerXtream] WakeUpTime now set to", wdt, "(now=%s)" % ndt) return wake
Making the code the same as jediCode
Display Moredef update(self, atLeast=0): self.timer.stop() wake = self.getWakeTime() now_t = time.time() now = int(now_t) if wake > 0: if wake < now + atLeast: wake += 24 * 3600 # add 24 hours to next wake time next = wake - now if next > 3600: next = 3600 if next <= 0: next = 60 self.timer.startLongTimer(next) else: wake = -1 wdt = datetime.fromtimestamp(wake) ndt = datetime.fromtimestamp(now) print("[BouquetMakerXtream] WakeUpTime now set to", wdt, "(now=%s)" % ndt) return wake
and BMX current codeCodedef autostart(reason, session=None, **kwargs): ... ... if reason == 0 and _session is None: if session is not None: _session = session if autoStartTimer is None: autoStartTimer = AutoStartTimer(session)
and making it the same as JEDI -
I have had a think - I told you I have no plan.
We open the live channel list page as default. This becomes the first page where I can access everything else (via a slide out or pop up dialog menu)
I need to combine live, vod, series, catchup in one skin file and one python file. (xstreamity of old did this).
There is a lot of code in those combined files, but as everything is pretty much stable now, debugging isn't a problem.Then live, vod, series, catchup can just switch between elements.
All other screens remain separate, return you to the channel screen when closed.
Streamplayer stays as it is. Returns to channel select screen.
pasted-from-clipboard.png -
Vod you cannot live record.
Vod you press 5 or record when on the vod channels screen (not while the vod is playing)
This then goes into the download manager on main menu. -
Hmmm, Now I have started shuffling things about. I am wondering if this is even possible.
Enigma2 keeps a chain of events, so if you close out of one screen, you go back to the previous screen.
Now some of these steps move forwards, some of these steps move backwards.
Think, think, think
-
And this is basically the functionality that I am going to change.
All screens are going to be the same, just triggered differently
pasted-from-clipboard.png
** edit ** no its not -
new skins elements elements coming together now. Just dropped them into a proper screen
pasted-from-clipboard.png -
As this is pretty much going to be based on xstreamity the layouts are going to be very similar.
These designs will change 100 times before I decide on a design.
pasted-from-clipboard.png -
-
Sorry pal. Nothing to do with my plugin.
Speak to your provider.
-
Right lets write the plugin :)
First screen is going to have to be add playlist if none exists.
-
-
-
OK lets start with the basics. It needs an indentity. It needs a recognisable logo.
So lets use the original glass logo as a base.
Change the skew a little. Slightly round the corners. Change the kerning. Don't want the corporates on my case.
pasted-from-clipboard.png -
I don't know why I do this to myself.
Ok so I have been threatening to re-write xtreamity to be more like an android app.
Where the player loads first, and all other options are then accessible via the menu button or other buttons.
The majority of code from xtreamity is going to be recycled, but its just going to function a little different.So this is just my diary. It's a closed thread.
I have an idea, but nothing really written on paper.So lets go.............
-
for those that use BMX for series.
Hows my last update working for you? -
Why do you need a new image?
Your box probably came with openatv on it.
I know you are new. But more details of wha you got, and why you need to change would help.
And to get you up to speed how to setup these boxes.
OpenATV 7.* setup guide by KiddaC -
jocke90s use 8193 if using dreambox
Otherwise you will have to google it. I am not a dreambox expert. And my dreambox buddy seagen is not around to assist.
-
BouquetMakerXtream (BMX) - v1.16-20240401
New files on post 1
Series bouquet creation is now as fast as live and vod. (obviously the more series you hide - the quicker it will be)
I have achieved this by converting the list data to dictionaries and pre-processing them before I do the bulk of the bouquet building.
I have even deleted the limits in settings as I am that confident it is now fast enough.
Also removed the duplicate series name prefix that some providers add in.Enjoy.
-
BouquetMakerXtream (BMX) - v1.15-20240331
New files on post 1
When trying to save some memory footprint in the last release. I was accidently overriding some data.
So this was probably the cause of any epg next_days crashes and items not appearing in the playlist menu