FallBackTuner: import services & EPG
Re: FallBackTuner: import services & EPG #61
Re: FallBackTuner: import services & EPG #62
Posted 6 September 2018 - 12:26
De foutmelding is wel veranderd; voorheen was het dat de epg.dat niet kon worden gevonden, nu is de melding dat er een fout is bij het schrijven van epg.dat op de server.I just flashed the 4/9 image, and now the import fails 100% of the time (also the manual import via extensions).
Re: FallBackTuner: import services & EPG #63
Posted 6 September 2018 - 12:28
De foutmelding is wel veranderd; voorheen was het dat de epg.dat niet kon worden gevonden, nu is de melding dat er een fout is bij het schrijven van epg.dat op de server.I just flashed the 4/9 image, and now the import fails 100% of the time (also the manual import via extensions).
Sorry for jumping to Dutch....
Translated:
The error has changed; first the reported error was 'epg.dat on server not found' (possibly because of the changed name as we noticed above), now the error report is something like '....error on writing epg.dat on server'.
Re: FallBackTuner: import services & EPG #64
Re: FallBackTuner: import services & EPG #65
Posted 6 September 2018 - 17:22
Is that the case? I always got that original error because my epg.dat is created in /media/usb, and the code didn't check that location (and therefore decided that created had failed).
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: FallBackTuner: import services & EPG #66
Posted 6 September 2018 - 21:43
But why would that now be the case? The situation is now worse then a week ago.Then owif returns it is not able to create the epg.dat on the server
Same here, so I moved the file to the (internal) HDD. That worked fine, until this recent flash.Is that the case? I always got that original error because my epg.dat is created in /media/usb, and the code didn't check that location (and therefore decided that created had failed).
Re: FallBackTuner: import services & EPG #67
Re: FallBackTuner: import services & EPG #68
Posted 6 September 2018 - 22:43
Edited by littlesat, 6 September 2018 - 22:49.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: FallBackTuner: import services & EPG #69
Re: FallBackTuner: import services & EPG #70
Posted 7 September 2018 - 05:12
I really think it's too bad that PLi has made itself incompatible with (all??) other images in this respect.That's a pity, as it was before it worked at least most of the times. And I use a default location (on internal HDD).
So I have to skip PLi now....
Why look for a PLi-specific setting, instead of just looking for the file at (all) the normal places (internal/mounts)?
Re: FallBackTuner: import services & EPG #71
Posted 7 September 2018 - 07:08
What can be done here is e.g. ask the owif team to add a special Function that downloads the epg.dat from a server box instantly. I also think scanning for the file can’t work because when you change the setting you have left overs on the old lokation and on the other images the file itself can be renamed so at least to Ger .. getting the location or via the webif is the only structured way to find it. Another option is the code is adapted for both vix/openatv’s style but only when it can be done in an easy way and the team wants it. The best option is openatv and vix revert the config for the epg.dat file back to a single config (which results in more simple code). But I’m afraid they never adapt... however vix sometimes adapt (Jess) when we make here at pli things less compatible...
Edited by littlesat, 7 September 2018 - 08:26.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: FallBackTuner: import services & EPG #72
Posted 7 September 2018 - 08:28
Edited by littlesat, 7 September 2018 - 08:28.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: FallBackTuner: import services & EPG #73
Posted 7 September 2018 - 11:03
As far I can see the end result will still get into the same config with Vix as we have with OpenPLi... can you forward your 'end result' in /etc/enigma2/settings for config.misc.epgcache_filename ?
I see here that you are capable of selecting a media from a selection list, which is nice... but there is a condition that it does not work as no media can be added to the list while e2 is running. So you only see the media that was available at the start of E2...
config.misc.epgcachepath = ConfigSelection(default = '/etc/enigma2/', choices = hddchoises) config.misc.epgcachefilename = ConfigText(default='epg', fixed_size=False) config.misc.epgcache_filename = ConfigText(default = (config.misc.epgcachepath.value + config.misc.epgcachefilename.value.replace('.dat','') + '.dat')) def EpgCacheChanged(configElement): config.misc.epgcache_filename.setValue(os.path.join(config.misc.epgcachepath.value, config.misc.epgcachefilename.value.replace('.dat','') + '.dat')) config.misc.epgcache_filename.save() eEPGCache.getInstance().setCacheFile(config.misc.epgcache_filename.value) epgcache = eEPGCache.getInstance() epgcache.save() if not config.misc.epgcache_filename.value.startswith("/etc/enigma2/"): if os.path.exists('/etc/enigma2/' + config.misc.epgcachefilename.value.replace('.dat','') + '.dat'): os.remove('/etc/enigma2/' + config.misc.epgcachefilename.value.replace('.dat','') + '.dat') config.misc.epgcachepath.addNotifier(EpgCacheChanged, immediate_feedback = False) config.misc.epgcachefilename.addNotifier(EpgCacheChanged, immediate_feedback = False)
Edited by littlesat, 7 September 2018 - 11:08.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: FallBackTuner: import services & EPG #74
Posted 7 September 2018 - 12:52
2- Scanning media works in ViX. No matter where I locate the epg.dat, the client ViX-box finds and imports the EPG.
3- The only epg-cache-setting I find in my ViX settings is
config.misc.epgcachepath=/media/hdd/
Edited by Rob van der Does, 7 September 2018 - 12:53.
Re: FallBackTuner: import services & EPG #75
Posted 7 September 2018 - 14:06
1. No - OpenVix forked openpli and they made the changes. We never changed it - Vix changed it and with a good reason as they can select a media from a selection list. Here you need to enter the whole path. Unless this is made more easier it does not work under all conditions(as it does not cover instantly inserted and removed media - e.g. an USB is not removed/added while E2 is running).
2. Scanning can't work as you can also change the name in vix from epg.dat to something_else.dat.
3, I don't need config.misc.epgcachepath, instead I need config.misc.epgcache_filename as that is the config I ' grepped' and the only config PLi has for this feature.It should contain 'config.misc.epgcachepath=/media/hdd/epg.dat'. When not the issue is on the 'server' side. WHen you've got this then I need to investigate something,
4. When we can solve it we'll solve it...
En anders wil ik wel weten wat de waarde is van epgdatfile na regel 32 hier
https://github.com/O...portChannels.py
door er ff een print epgdatfile tussen te zetten op regel 33...
Edited by littlesat, 7 September 2018 - 14:19.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: FallBackTuner: import services & EPG #76
Posted 7 September 2018 - 14:21
config.misc.epgcachepath isn't used in either the OpenPLi source and the OE-A source. The only plugin using "epgcachepath" is EPGrefresh, but that doesn't use "config.misc".
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: FallBackTuner: import services & EPG #77
Posted 7 September 2018 - 14:57
In my ViX-settings there is no config.misc.epgcache_filename. And that seems logical, as I didn't change the name (so the default name is used and hence I have a file named epg.dat on my HDD).
4. When we can solve it we'll solve it...
OK, that's the spirit !
Edited by Rob van der Does, 7 September 2018 - 14:59.
Re: FallBackTuner: import services & EPG #78
Posted 7 September 2018 - 15:11
It should be there... the code in #73 is fix code... when it is not there then something is wrong within Vix...When it is not there the epg.dat should be in /hdd/epg.dat.... is that softlink /hdd availble in Vix? When not we could consider to change the default location to /hdd/media/epg.dat.
This by changing line 32 in ImportChannels.py from
epgdatfile = epgdatfile and epgdatfile[0].split('=')[1].strip() or "/hdd/epg.dat"
to
epgdatfile = epgdatfile and epgdatfile[0].split('=')[1].strip() or "/media/hdd/epg.dat"
Edited by littlesat, 7 September 2018 - 15:14.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: FallBackTuner: import services & EPG #79
Posted 7 September 2018 - 15:47
But remember the current error is about writing the file on the server, not about reading it ("Channels from fallbacktuner failed Error when writing epg.dat on server").
After changing the line as you suggested the same error occurs:
[Skin] Processing screen: MessageBoxSimple warning, skin is missing element WarningPixmap in <class 'Screens.MessageBox.MessageBox'>(Channels from fallback tuner failed Error when writing epg.dat on server) [Skin] Processing screen: MessageBoxSimple_summaryPlease be aware that on the ViX-side nothing has changed at all in this respect; it did work before.
Edited by Rob van der Does, 7 September 2018 - 15:49.
Re: FallBackTuner: import services & EPG #80
Posted 7 September 2018 - 16:35
But it indicates something went wrong on the server when the new file is written..
Firsr I understand you put it on a different location than the standard location. Then it also Goes wrong before my latest changes... so before the loacation of the epg.dat on the server lands... please see our ImportChannels.py... so somehow it cannot reach the server at all.. (wrong url) or the server can’t write the epg.dat via the owif command
Edited by littlesat, 7 September 2018 - 16:41.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users