Jump to content


scriptmelvin †

Member Since 1 Jun 2021
Offline Last Active 12 Oct 2023 20:32
-----

#1495705 Tuning problems after factory reset

Posted by scriptmelvin † on 10 November 2022 - 23:27

I guess the easiest thing to do would be to reflash from the menu (Setup -> Flash image). Your box needs internet for that. Then have the setup wizard do automatic tuner configuration.




#1495681 Tuning problems after factory reset

Posted by scriptmelvin † on 10 November 2022 - 21:53

Factory reset wipes your settings, including tuner settings. You need to reconfigure your tuners.




#1486908 OpenPli 8.3 Release online im Downloadbereich.

Posted by scriptmelvin † on 1 October 2022 - 18:35

Fix crash on blue button part 2 #818




#1486608 OpenPli 8.3 Release online im Downloadbereich.

Posted by scriptmelvin † on 30 September 2022 - 16:45

@Dorfkind: probier mal angehängte Datei zu speichern in /usr/lib/enigma2/python/Plugins/Extensions/FritzCall, dann Benutzeroberfläche neu starten.

Attached Files




#1486328 OpenPLi 8.3 release beschikbaar

Posted by scriptmelvin † on 29 September 2022 - 15:57

Dan in Firefox alle openpli.org cookies weggooien. Ik gebruik ook Firefox, werkt prima op alle openpli sites.




#1485036 OpenPli 8.3 Release online im Downloadbereich.

Posted by scriptmelvin † on 25 September 2022 - 13:50

enigma-plugins is up to date in 8.3-release.


I just pulled fritzcall from the current 8.3 feed, it is indeed up to date.
 
@Dorfkind: mach mal nen Software Update.




#1476192 CD kaart kan nog maar twee zenders tegelijk decoderen

Posted by scriptmelvin † on 23 August 2022 - 20:38

Zojuist nog eens dezelfde test:RTL7, Veronica/Disney opnemen en zelf naar  Net5 kijken.
Na 40 minuten gaat mijn kaart in strafmodus.
Ik kan me niet voorstellen dat ik de enige ben.


Ik heb het zojuist gereproduceerd. Zelfde zenders, geen sharing, geen streaming clients. Na 40 minuten straf. Als ik 1 opname stop: na een minuutje weer beeld.

In de Oscam log is niks vreemds te zien. Ik zal het komende tijd eens met wat andere zenders proberen.

Wat betekent dit? Zit aan de 4 zenders limiet nu een max van 40 minuten, waarna het 2 zenders limiet wordt?




#1474044 NEW plugin: InfoBarWeather

Posted by scriptmelvin † on 16 August 2022 - 18:59

I modeled the repo like enigma2-plugins, maybe a wrong choice. I'll tear down the repo and model it like E2OpenPlugins, Is that ok?




#1473980 NEW plugin: InfoBarWeather

Posted by scriptmelvin † on 16 August 2022 - 16:49

GitHub… yes please

https://github.com/s...-infobarweather




#1472676 NEW plugin: InfoBarWeather

Posted by scriptmelvin † on 9 August 2022 - 21:01

The plugin is not py3 compatible... as we switch to py3 soon it would be helpfull to get a py3 version of it.

Should be fixed in 0.5. Untested, I'm AFB (away from box). I'm not aware of any other python 2 specific code.

Please reinstall from the link in post #1.

 

Shall I set up a proper github repo?




#1471260 NEW plugin: InfoBarWeather

Posted by scriptmelvin † on 4 August 2022 - 22:48

v0.4.

 

Fixed a bug where weather data would not appear in the infobar.

 

Please reinstall from the link in post #1.




#1471240 NEW plugin: InfoBarWeather

Posted by scriptmelvin † on 4 August 2022 - 19:15

 

Yes, twisted.web would be the way, reactor is running anyway. Also no extra thread needed.

Is this something you are able to adapt.

Yes. I replaced urllib with (twisted.web based) Tools.downloadWithProgress.
 

So I hope you're willing to try twisted and then later I can try to find a way to do it with instantiate screens.--- just to 'remove the monkey'

That would be great :)
 

Hier valt wel de temp wat weg. Niet volledig in beeld.

You mean the wind speed? Fixed.
 

Zou mooi zijn als deze ook in Loui zijn skin geïmplementeerd zou kunnen worden.... :)

The latest version adds support for Loui's skin. Just make sure you delete all locations from the weather plugin.

Please reinstall from the link in post #1.




#1471012 NEW plugin: InfoBarWeather

Posted by scriptmelvin † on 3 August 2022 - 21:39

 

One where network access wouldn't delay rendering.

I see indeed you can have a delay...
 
You can also do it in a thread style when you use twisted.web.client instead of Urllib.

 

Yes, twisted.web would be the way, reactor is running anyway. Also no extra thread needed.
 

Then you need to cache the info and but it e.g. in a thread... but it will then you always 'ping' a weather website once in a while... when you do it on demand and cache you can also consider to show shortly old info.

The current implementation does that (on demand fetch and show no info shortly). It is unavoidable with on demand fetch to shortly show old/no info.
 
Pinging the weather website periodically is unacceptable, that would mean the site is pinged all the time while watching a long movie with no infobar showing for a long time.
 

Steal function is sensitive for 'changes'... so when someone make changes in InfoBarGenerics it may lead to crashes.... Actually this is not done... 

The current hack is quite clean (it is still monkey-patching, which should be avoided if possible). It does two things: replace InfoBar.__init__, with the replacement calling the original __init__, and hooking into the InfoBar onShow/onHide chains. The latter is unavoidable imho if you want to fetch on demand (and isn't it what these chains are there for?). Neither InfoBar.__init__, nor onShow/onHide is likely to be removed in the near future, if ever.

 

How about this then: create the plugin Screen in the plugin's WHERE_AUTOSTART/WHERE_SESSIONSTART (eliminates the need for the __init__ monkey-patch), and have a Renderer and a Source. The Source hooks into InfoBar onShow/onHide, shows or hides the plugin Screen with it, fetches weather data on onShow when stale (cache too old) with twisted.web and kicks the Renderer (call changed()) upon the twisted.web success callback?




#1470896 NEW plugin: InfoBarWeather

Posted by scriptmelvin † on 3 August 2022 - 14:38

I 'stole' from recordinfobar :-)
Yes, a generic solution would be preferable. One where network access wouldn't delay rendering.


#1470756 NEW plugin: InfoBarWeather

Posted by scriptmelvin † on 2 August 2022 - 20:53

Here is a new plugin that shows the weather in the infobar:

  • Location
  • Last update time
  • Sunrise
  • Sunset
  • Humidity
  • 2 hour rain forecast (The Netherlands & Belgium only)
  • Wind direction and speed
  • Temperature
  • Apparent (feel) temperature

It has built-in support for PLi-FullNightHD and PLi-FullHD skins.

 

What do you think?

 

enigma2-plugin-extensions-infobarweather_all.ipk

 

infobarweather.jpg