with last openbh i found crash enigma 2 when select menù from plugin ui
And are you keeping the crash as a souvenir?
Or do you want to show it to us too?
with last openbh i found crash enigma 2 when select menù from plugin ui
And are you keeping the crash as a souvenir?
Or do you want to show it to us too?
2 new features, but I haven't had a chance to test them thoroughly
def parse_json(self, filename=None):
file_to_parse = filename or self.selected_file
try:
with open(file_to_parse, 'r', encoding='utf-8') as f:
data = json.load(f)
self.m3u_list = []
for group in data.get('groups', []):
for channel in group.get('channels', []):
self.m3u_list.append({
'name': channel.get('name', ''),
'url': channel.get('url', ''),
'group': group.get('name', ''),
'logo': channel.get('logo', '')
})
self.update_channel_list()
# self.m3u_list = channels
# self["list"].setList([c[0] for c in channels])
self.file_loaded = True
self._update_ui_success(len(self.m3u_list))
self["key_green"].setText(_("Convert to JSON"))
except Exception as e:
logger.error(f"Error parsing JSON: {str(e)}")
self.file_loaded = False
self.m3u_list = []
raise
def parse_xspf(self, filename=None):
file_to_parse = filename or self.selected_file
try:
from xml.etree import ElementTree as ET
tree = ET.parse(file_to_parse)
root = tree.getroot()
ns = {'ns': 'http://xspf.org/ns/0/'}
self.m3u_list = []
for track in root.findall('.//ns:track', ns):
name = track.find('ns:title', ns)
url = track.find('ns:location', ns)
if name is not None and url is not None:
self.m3u_list.append({
'name': name.text,
'url': url.text,
'group': 'XSPF Import'
})
self.update_channel_list()
# self.m3u_list = channels
# self["list"].setList([c[0] for c in channels])
self.file_loaded = True
self._update_ui_success(len(self.m3u_list))
self["key_green"].setText(_("Convert to XSPF"))
except Exception as e:
logger.error(f"Error parsing XSPF: {str(e)}")
self.file_loaded = False
self.m3u_list = []
raise
Display More
Improved speed, error handling, and some minor fixes
Let's see if it works for the next IPK
Yes issue. I m back to home
OK
well..
for fix astiatic language use WeatherInfo.py on
/usr/lib/enigma2/python/Tools
--- add msnCodes
for skinner: see screen added and modded old screen ;))
this step was the most..complicated..
Because I tried to make it use helper in all classes. But if you don't save here.. it's difficult for you to see your city
so Favorites - save--- and then OK
I tried to do many scenarios like fighting crashes in callback.. but I didn't have many crashes only 1.. and so I think everything will work.
and log on /tmp ;)
Missing translation Description a bottom..
please update your locale lang.
update plugin.py in folder plugin..
open a new topic
This topic has not been updated since 2023.
on favorite management
1 step : save
2 step: ok
on home.. blu button..
feedback.. and go
ok feedback on test and make ipk.. if all ok..
ONLY FOR PLI IMAGE BASED
Before making the package I need the translations, I know because then you make me make other packages and I will have to advance to a new version, and I really don't want to.
Locale pot are attached.
would you like to take a test with me?
test
on reboot if start local city choice
feedback please
- fix for asian language and icons (ok)
- minor fix
- on screen (add in locale language other label)
issue:
-on favorite list: no work button (delete etc )
try now
I made a promise.
even though sometimes I think "but why would I do this!"
Try... no.. i fix another issue wait
I focused too much on the Chinese code :) so.. I'll fix that
Good evening I have the same problem too does not change the position the new version 3.9 up to version 3.5 everything worked fine on my image cobraliberosat
try
remove file json
/etc/enigma2/oaweather_fav.json
/etc/enigma2/oaweather_fav.json
try now
put in folder plugins (usr\lib\enigma2\python\Plugins\Extensions\OAWeather) and reboot
with openmeteo
please tranlsate pot files