omg.. my stupid error.. setValue.. not setChoices
try.. use telnet command for update and report please
omg.. my stupid error.. setValue.. not setChoices
try.. use telnet command for update and report please
There is no error.
Added a color-coded logger for INFO, DEBUG, ERROR, etc.
Prevented crashes on malformed or empty files.
Verified file content contains http before including.
Corrected detection of real mount points on Enigma2 (mountpoint, device, fstype, etc.).
Improved filter for tv_to_m3u:
Displays only folders and .tv files that actually contain http.
Skips incorrectly structured entries.
Added safety checks for invalid or unexpected selection formats.
Detailed logging on errors.
v.1.6 added update
I convert without problems, the channel list goes to favorites but no channel works.....the same channel list, I add some with dreamboxedit, it works, what could be the error, my friend
Hello Lullulla the V.1.6 installed it but I didn"t understand what it does I also installed the 1.7 but it sends me the decoder crashed what I need to do it works and if you give me a tip like thank you very much
Yes issue. I m back to home
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
with last openbh i found crash enigma 2 when select menù from plugin ui
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?
find in attached...thanks
you use wrong version
Use this
i try to overwrite the folder to /usr/lib/enigma2/python/Plugins/Extensions/M3UConverter but find this error
Openatv 7.5.1
try now
if i overwrite with this folder the plugin don't show on plugin list ... uff
use previous version. .and stay
if i overwrite with this folder the plugin don't show on plugin list ... uff
Check the log message or /tmp, otherwise you'll need to debug it.
I'm telling you there's no problem with the last folder. I don't know what to do without it.
I am compiling this plugin from your git. And the plugin does not start for me:
05:45:29.6049 Plugin Extensions/M3UConverter failed to load: No module named 'Plugins.Extensions.M3UConverter.Logger_clr'
05:45:29.6095 Traceback (most recent call last):
05:45:29.6106 File "/usr/lib/enigma2/python/Components/PluginComponent.py", line 60, in readPluginList
05:45:29.6107 File "/usr/lib/enigma2/python/Tools/Import.py", line 3, in my_import
05:45:29.6108 File "/usr/lib/enigma2/python/Plugins/Extensions/M3UConverter/plugin.py", line 56, in <module>
from .Logger_clr import ColoredLogger
05:45:29.6109 ModuleNotFoundError: No module named 'Plugins.Extensions.M3UConverter.Logger_clr'
Where can I get this file - Logger_clr.py?
I am compiling this plugin from your git. And the plugin does not start for me:
Python05:45:29.6049 Plugin Extensions/M3UConverter failed to load: No module named 'Plugins.Extensions.M3UConverter.Logger_clr' 05:45:29.6095 Traceback (most recent call last): 05:45:29.6106 File "/usr/lib/enigma2/python/Components/PluginComponent.py", line 60, in readPluginList 05:45:29.6107 File "/usr/lib/enigma2/python/Tools/Import.py", line 3, in my_import 05:45:29.6108 File "/usr/lib/enigma2/python/Plugins/Extensions/M3UConverter/plugin.py", line 56, in <module> from .Logger_clr import ColoredLogger 05:45:29.6109 ModuleNotFoundError: No module named 'Plugins.Extensions.M3UConverter.Logger_clr'Where can I get this file - Logger_clr.py?
mm but code it's ok
from .Logger_clr import ColoredLogger
archimede_converter_path = "/tmp/archimede_converter"
log_path = join("/tmp", "archimede_converter", "m3u_converter.log")
log_dir = dirname(log_path)
if not exists(archimede_converter_path):
makedirs(archimede_converter_path)
if not exists(log_dir):
try:
makedirs(log_dir)
except Exception:
pass
logger = ColoredLogger(log_file=log_path)
Display More
retry.
There may not be any errors in the code, but it complains about the absence of this file. The same error occurs on OpenATV 7.6.
In the M3UConverter.pot file there is a line with this file, but the file itself is not there.
Don’t have an account yet? Register yourself now and be a part of our community!