nz is working.
Foreca Weather Plugin
-
- Foreca
- peter.721970
- Thread is marked as Resolved.
-
-
in fact yesterday it didn't work for me, you made me change from .nz to .ba :)
-
Ok,with nz it´s now ok,but If possible, the city and date at the bottom right is unfortunately not properly legible, which would not be a bad thing, for example with MSN Weather, when after an online flash with settings transfer the selected cities are also directly visible, because now you have to re-enter the cities each time.
-
city is default in settings..
-
e2openplugin-Foreca/plugin/ui.py at 317fa1a19bdc815f5f4fca8727d1074d4a130708 · Belfagor2005/e2openplugin-ForecaWeather forecast. Contribute to Belfagor2005/e2openplugin-Foreca development by creating an account on GitHub.github.com
or file config ,)
https://github.com/Belfagor200…a130708/plugin/ui.py#L795Code
Display More# Get favorites global fav1, fav2, city, start if exists(USR_PATH + "/fav1.cfg"): with open(USR_PATH + "/fav1.cfg", "r") as file: fav1 = file.readline().strip() fav1 = fav1[fav1.rfind("/") + 1:] else: fav1 = "New_York_City" print(pluginPrintname, "fav1 location:", fav1) if exists(USR_PATH + "/fav2.cfg"): with open(USR_PATH + "/fav2.cfg", "r") as file: fav2 = file.readline().strip() fav2 = fav2[fav2.rfind("/") + 1:] else: fav2 = "Moskva" print(pluginPrintname, "fav2 location:", fav2) # Get home location if exists(USR_PATH + "/startservice.cfg"): with open(USR_PATH + "/startservice.cfg", "r") as file: self.ort = file.readline().strip() start = self.ort[self.ort.rfind("/") + 1:len(self.ort)] else: self.ort = "United_Kingdom/London" start = "London" -
Hi, you can install skin Glass 17 and made in skin setup one or more cities ( on 5 day, by MSN server)
-
no
-
scusate,ma su vu+duo4kse con obh 5.0 si riesce a vedere nella schermata della città la temperatura?,da me è sempre coperta,come ho visto succedree ad altri in questa discussione.
sorry, but on vu+duo4kse with obh 5.0 is it possible to see the temperature in the city screen?, it is always covered for me, as I have seen happen to others in this discussion.
grazie a tutti
thank you all
-
Ok,with nz it´s now ok,but If possible, the city and date at the bottom right is unfortunately not properly legible, which would not be a bad thing, for example with MSN Weather, when after an online flash with settings transfer the selected cities are also directly visible, because now you have to re-enter the cities each time.

you should change the method in the list
create a Listbox list on skin so you don't drive me crazy: some want it short, some want it long..
-
Hello, I think the problem is 'Titel2' . it is reserved for
self["Titel2"] = StaticText(_("Please wait ..."))
so this
self["Titel2"].text = titel[0].strip("'") should be changed to this
self["Titel2"].text = "" -
Display More
For next version (3.3.7)
test this.If all ok.. i put 3.3.7 in git
EDIT:
if you don't see the HOME page set when you start the plugin, try the attached ui.py file
Let me know
what is new in this version?
-
all fix in last discussion.
-
Display More
Hello, I think the problem is 'tilel2' . it is reserved for
self["Titel2"] = StaticText(_("Please wait ..."))
so this
self["Titel2"].text = titel[0].strip("'") should be changed to this
self["Titel2"].text = ""titel2 are time ;)
-
Code
Display Moretitel[0] = str(sub(r'<[^>]*>', "", titel[0])) if DEBUG: FAlog("titel[0]=%s" % titel[0]) def translate_description_gettext(description, translation_dict): cleaned_description = sub(r'[\t\r\n]', ' ', description).strip() words = sub(r'([.,!?])', r' \1 ', cleaned_description).split() translated_words = [] for word in words: is_capitalized = word[0].isupper() translated_word = translation_dict.get(word.lower(), word) if is_capitalized: translated_word = translated_word.capitalize() translated_words.append(translated_word) print("translated_words=", translated_words) return ' '.join(translated_words) translation_dict = self.load_translation_dict(lng) # titel[0] = self.konvert_uml(str(sub(r'<[^>]*>', "", titel[0]))) titel[0] = translate_description_gettext(titel[0], translation_dict) ........................... self["Titel2"].text = titel[0].strip("'") -
pos x / y/h/l
Python
Display Moreclass MainMenuList(MenuList): def __init__(self): MenuList.__init__(self, [], False, eListboxPythonMultiContent) GUIComponent.__init__(self) self.itemHeight = 120 self.valTime = 5, 80, 100, 45 self.valPict = 110, 45, 70, 70 self.valPictScale = 0 self.valTemp = 200, 55, 150, 40 self.valTempUnits = 200, 95, 15, 40 self.valWindPict = 320, 75, 35, 35 self.valWindPictScale = 1 self.valWind = 360, 55, 95, 40 self.valWindUnits = 360, 95, 120, 40 self.valText1 = 500, 0, 800, 42 self.valText2 = 500, 45, 800, 42 self.valText3 = 500, 90, 800, 42 self.valText4 = 500, 135, 800, 42 self.listCompleted = [] self.callback = None self.idx = 0 self.thumb = "" self.pos = 201_0_19_BBD_3A2_110_EEEE0264_0_0_0_20250119144243.jpg
if you want you can modify and test this data ;)
Code
Display Moreself.itemHeight = 140 self.valTime = 5, 80, 100, 45 self.valPict = 110, 45, 70, 70 self.valPictScale = 0 self.valTemp = 200, 55, 150, 40 self.valTempUnits = 200, 95, 15, 40 self.valWindPict = 350, 75, 35, 35 self.valWindPictScale = 1 self.valWind = 360, 55, 95, 40 self.valWindUnits = 360, 95, 120, 40 self.valText1 = 500, 0, 800, 42 self.valText2 = 500, 45, 800, 42 self.valText3 = 500, 90, 800, 42 self.valText4 = 500, 135, 800, 42 -
i think are problem with skin ;)
or itemHeight
self.itemHeight = 120try and replace
self.itemHeight = 200 -
i have solution for skinner ;)
my skin zSkin (by mMark )
<screen name="ForecaPreview"Code
Display More<widget name="MainList" position="230,280" size="1250,640" zPosition="3" foregroundColor="#ffffff" backgroundColor="#000000" foregroundColorSelected="#ffffff" backgroundColorSelected="barColor" alphatest="1" font0="Regular;30" font1="Fixed;30" font2="Fixed;28" font3="Regular;30" itemHeight="160" setTime="15,40,90,36" setPict="120,0,150,125" setPictScale="1" setTemp="250,23,180,36" setTempUnits="250,68,120,36" setWind="500,23,143,36" setWindUnits="500,68,143,36" setWindPict="600,33,50,50" setWindPictScale="1" text1Pos="750,3,503,42" text2Pos="750,45,503,42" text3Pos="750,75,503,42" text4Pos="750,105,503,42" enableWrapAround="1" scrollbarMode="showOnDemand" transparent="1" /> -
if pause from your skin.xml
screen with
"""
<screen name="ForecaPreview"
....
....
</screen>
"""this is screen fhd in plugin
-
Display More
if pause from your skin.xml
screen with
"""
<screen name="ForecaPreview"
....
....
</screen>
"""this is screen fhd in plugin
sorry, I use google translator...
thanks,
with your file now I can also see the expected temperatures, by editing the file is it possible to change the display font?
very thanks
-
you not read my reply?
RE: Foreca Weather Plugin
Your source for Enigma2 weather plugins
Find downloads and support for tools that show detailed local forecasts, severe weather alerts, and animated radar displays on your device. Discover Enigma2 weather plugins for your receiver. Access downloads and support to display local forecasts and real-time weather information directly on screen.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!
