version 2.4 on top of topic ;)
-Crash on LogMonitor as ben fixed.
-removed scrollLabel
[DreamOs] EPGImport Mod.
-
- EPG Importer
- Lululla
- Thread is marked as Resolved.
-
-
-
I try to import to /data/epg.db but does not works (0 events).
Code
Display Moredef getMountPoints(): mount_points = [] try: with open('/proc/mounts', 'r') as mounts: for line in mounts: parts = line.split() mount_point = parts[1] if os.path.ismount(mount_point) and os.access(mount_point, os.W_OK): mount_points.append(mount_point) except Exception as e: print("[EPGImport] Error reading /proc/mounts:", e) return mount_points mount_points = getMountPoints() mount_point = None for mp in mount_points: epg_path = os.path.join(mp, 'epg.dat') if os.path.exists(epg_path): mount_point = epg_path break HDD_EPG_DAT = mount_point or '/etc/enigma2/epg.dat' if config.misc.epgcache_filename.value: HDD_EPG_DAT = config.misc.epgcache_filename.value else: config.misc.epgcache_filename.setValue(HDD_EPG_DAT) config.misc.epgcache_filename.save()-if device exist: mount point are device
-if device not exist mountpoint are /etc/enigma2/epg.dat
-if config.misc.epgcache_filename not in configfile creates it
-if edit config line ... ???? I don't know if he's saved, I'm looking at it now
-
v.2.6 Update..
fix save config ;)
-
In the latest version we don't have enough space to write the path - the number of characters is limited (not enough).
-
plugin.py
config.plugins.epgimport.pathdb = ConfigText(default=HDD_EPG_DAT, fixed_size=False)although that setting should probably be
ConfigDirectory -
but is text...
write /media/hdd/epg.dat and it's ok.. no?
next release i try directory. -
if you use configdirectory it will use the boxes directory picker screens. And yes sometimes its just easier to type it with some of those directory pickers.
I think the default has to end in a trailing slash though. / So a minor amend to your code would be needed. -
ok
try i don't tested..
TV is full and my wife kicks me out of the house if I bother her again
-
With your latest files it's impossible to write/that field is blocked.
-
stop trying to get lululla divorced
-
v.2.7 on top
fix - directory choice
Ok done, I hope you buy me a beer, I'm very thirsty these days

-
now work better

2.8 version on top

ammend for me:
NOT YET CONNECTED
[EPGImport] ### importEvents exception: [Errno 2] No such file or directory: '/media/hdd/epg.dat'
-
Something is wrong...
-
simple.. remove and reinstall now i am out of pc
camon boys..camon........
-
The EPGimport folder dissapeared. Had to copy the folders manually.
Now it saves the path, but does not download events (zero). I tried with two different paths (/data and /etc/enigma2).
Is it possible to remove the annoying message "Do you want to quit without saving the settings"?
LOG in PM.
-
The EPGimport folder dissapeared. Had to copy the folders manually.
Now it saves the path, but does not download events (zero). I tried with two different paths (/data and /etc/enigma2).
LOG in PM.
your issue..
Code
Display MoreDec 19 20:57:30 dreambox enigma2[9121]: Unhandled Error Dec 19 20:57:30 dreambox enigma2[9121]: Traceback (most recent call last): Dec 19 20:57:30 dreambox enigma2[9121]: File "/usr/lib/python2.7/site-packages/twisted/python/log.py", line 86, in callWithContext Dec 19 20:57:30 dreambox enigma2[9121]: return context.call({ILogContext: newCtx}, func, *args, **kw) Dec 19 20:57:30 dreambox enigma2[9121]: File "/usr/lib/python2.7/site-packages/twisted/python/context.py", line 122, in callWithContext Dec 19 20:57:30 dreambox enigma2[9121]: return self.currentContext().callWithContext(ctx, func, *args, **kw) Dec 19 20:57:30 dreambox enigma2[9121]: File "/usr/lib/python2.7/site-packages/twisted/python/context.py", line 85, in callWithContext Dec 19 20:57:30 dreambox enigma2[9121]: return func(*args,**kw) Dec 19 20:57:30 dreambox enigma2[9121]: File "/usr/lib/enigma2/python/e2reactor.py", line 55, in _read Dec 19 20:57:30 dreambox enigma2[9121]: why = w.doRead() Dec 19 20:57:30 dreambox enigma2[9121]: --- <exception caught here> --- Dec 19 20:57:30 dreambox enigma2[9121]: File "/usr/lib/python2.7/site-packages/twisted/internet/udp.py", line 249, in doRead Dec 19 20:57:30 dreambox enigma2[9121]: self.protocol.datagramReceived(data, addr) Dec 19 20:57:30 dreambox enigma2[9121]: File "/usr/lib/python2.7/site-packages/coherence/upnp/core/ssdp.py", line 99, in datagramReceived Dec 19 20:57:30 dreambox enigma2[9121]: self.notifyReceived(headers, (host, port)) Dec 19 20:57:30 dreambox enigma2[9121]: File "/usr/lib/python2.7/site-packages/coherence/upnp/core/ssdp.py", line 161, in notifyReceived Dec 19 20:57:30 dreambox enigma2[9121]: self.info('Notification from (%s,%d) for %s' % (host, port, headers['nt'])) Dec 19 20:57:30 dreambox enigma2[9121]: exceptions.KeyError: 'nt'as I already answered you, same image on my dream I have no problem
Quoteit possible to remove the annoying message "Do you want to quit without saving the settings"?
No.. I put it there on purpose to waste people's time

-
remove all epg.dat in all folder
-for test: use /etc/enigma2
-for test use only 1 source..
al lyour source (in log output) are 403 Forbidden or rytecepg.dyndns.tv is offline
and more.. check link on output..
maybe you have an ADSL or IP line problem. or I don't know what else to recommend.
-
Dear @Lululla
Do you remember the issue with the enlarged font size? When I asked to try to reduce the font size , I have found the problem, it is found in ExpandableSelectionList.py file
Attached file that has been modified to fix the issue. The original file has been altered, and the problem has been resolved as per the attached screenshot – you can add it to the plugin
br
-
you have wqhd skin??
not possible your listtry this
Your resource for Enigma2 EPG tools
Get downloads and support for Cool TV Guide, CrossEPG, EPG Importer, IPTV EPG, and satellite/cable program guides. Centralized support and downloads for Enigma2 EPG plugins. Find tools for IPTV, satellite, and cable electronic program guides, including EPGImport, Web Grabber, and more.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!
