MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
.... deleted, daft idea.
Last edited by ccs; 14-01-21 at 18:22.
I'm currently looking at changing the url-encoded query to Google with a multipart/form-data POST one (which avoids url-encoding, and has no practical length limit)
The current URL doesn't allow POSTing, but I've found one that does (and has a simple response).
Now I just need to figure out how to send such a web request in Python. The documentation isn't all that helpful. It mentions the concepts, but leaves out the details. Such is life...
EDIT: Might have to abandon this anyway, as it seems that Google complains if you make too many calls to this replacement URL. (But that might just be the result of me having made a lot of incorrect calls...)
Last edited by birdman; 15-01-21 at 02:13.
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
Ok not much testing but reporting what iv found so far
rc2 works fine in openvix but crashs in openatv 6.3 and 6.4
Rc1 working in vix and openatv fine but in openatv pressing +/- zap changes the channel but epg doesnt change no epg will change and then you have to exit translator.
So the changes between rc1 and rc2 effects different images. I havent testing on any other image yet
It is being written for Vix.
Only because you hadn't got to the parts that weren't working (see #73). To fix those I had to add the parts which presumably cause the problems on other distros.Rc1 working in vix and openatv fine
If you have any debug logs that show where the crash occurred I might be able to do something.
That sounds very much related to why the ServiceEventTracker usage was added in rc2. The channel could change after the translator looked for its EPG.but in openatv pressing +/- zap changes the channel but epg doesnt change no epg will change and then you have to exit translator.
OpenATV seems to have identical ServiceEventTracker code to Vix (well, 6.4 does, 6.5 added a fix for something last June, but I doubt that's an issue), so I don't see that being the problem.
Last edited by birdman; 15-01-21 at 02:33.
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
I can't see any extra functions added in rc2 that don't also exist in the OpenATV code.
So I can't see any obvious reason why rc2 might crash if rc1 didn't.
Last edited by birdman; 15-01-21 at 03:12. Reason: Remove incorrect update
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
Many thanks for the updates on this plugin. It’s proving very useful!
When I run the translator on Vix, it only shows the programme description translated. Is it also possible to also have the translated programme title also showing at the top? Just a small thing, but quite important when you’re flicking through the epg using the side arrows or changing channel without using the main epg.
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
carpcat (15-01-21)
Hi
Tried openeight and openpli to test it wasnt just openatv and all crash
this is from openpli
Traceback (most recent call last):
File "/usr/lib/enigma2/python/Components/ActionMap.py", line 57, in action
File "/usr/lib/enigma2/python/Screens/PluginBrowser.py", line 144, in save
File "/usr/lib/enigma2/python/Screens/PluginBrowser.py", line 148, in run
File "/usr/lib/enigma2/python/Plugins/Extensions/EPGTranslator/plugin.py", line 804, in main
session.open(translatorMain, None)
File "/usr/lib/enigma2/python/mytest.py", line 300, in open
dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
File "/usr/lib/enigma2/python/mytest.py", line 243, in instantiateDialog
return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
File "/usr/lib/enigma2/python/mytest.py", line 260, in doInstantiateDialog
dlg = screen(self, *arguments, **kwargs)
File "/usr/lib/enigma2/python/Plugins/Extensions/EPGTranslator/plugin.py", line 382, in __init__
self.inPlayBack = self.session.nav.getCurrentlyPlayingServiceOrGroup ().isPlayback()
AttributeError: 'eServiceReference' object has no attribute 'isPlayback'
[ePyObject] (CallObject(<bound method ActionMap.action of <Components.ActionMap.ActionMap instance at 0xaf9142b0>>,('WizardActions', 'ok')) failed)
Last edited by ja5; 15-01-21 at 16:38.
abu baniaz (15-01-21),birdman (15-01-21)
Thanks. That's something to work with.
Looks like I can get the same info in a compatible way given that both Vix and ATV have this snipper:
Although why that "not not" is there in ATV is a(n ancient) mystery.Code:info = eServiceCenter.getInstance().info(ref) return not not (info and info.isPlayable(ref, getPlayingref(ref)))
I'll test this out, along with translating programme titles, over the weekend.
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
ja5 (15-01-21)
I've found a different way to test for being in playback mode that should work on non-Vix distros.
And in the process I found that if I'm playing a download from iPlayer that even though it has a hand-crafted, and correct, meta file it has no Event info (even the Info button does nothing). So it now will display "Unavailable" rather than crash. Bit of a fluke to find that, as the fact that I was using such a file to test playback was just that it was the last file I'd deleted.
That's now done.
I hope to tidy up and release rc3 later today.
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
abu baniaz (16-01-21),carpcat (16-01-21),Willo3092 (16-01-21)
Last edited by birdman; 16-01-21 at 22:14.
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
ja5 (16-01-21)
It's here.....
Download link is at this post in the download thread.
- It now translates Titles as well as Descriptions (in its browser and in EventView pop-ups)
- It puts the current service/channel name into the Title in its EPG browser.
- It might now work with ATV, etc...
The ipks for rc releases will no longer be at github.
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
carpcat (17-01-21)
Loving the title translations and channel name additions, really helps with navigations within the plugin. I have noticed, as per the attached photo that a lot of program descriptions are not translated fully? Some are, but this is a minority. I’ve checked with rc2 version and this is translating all of the description properly so something has changed between the 2 versions.
67C27808-3820-412E-85E6-88B947752086.jpg
Last edited by carpcat; 17-01-21 at 20:22.