oe-alliance / oe-alliance-plugins

required oe-alliance plugins
Other
37 stars 135 forks source link

Please fix a BlindScan of the DreamBox #398

Open atefganm opened 3 years ago

atefganm commented 3 years ago

Please fix a BlindScan of the DreamBox So it can see the C-band frequencies

This patch is fine and works

https://github.com/OpenVisionE2/alliance-plugins/commit/be2233aaff1f0c09ad04da0d7f08e660d5afb36f#diff-dbdc94037e73585b5a24638fe7ecff313e3e676be92824e2e4ab394d1d8782d0L437

Thank you

Huevos commented 3 years ago

That patch has a major bug.

Also, our code is very different. i.e. it has the filters and user options.

atefganm commented 3 years ago

Thank you Huevos for the reply This correction is ideal and not to work with Then it is possible to make a similar correction consistent with Oe-alliance-plugins-BlindScan that's fine Anyway thank you

jbleyel commented 2 years ago

Please try again

Huevos commented 2 years ago

How did the original commits get lost?

jbleyel commented 2 years ago

The code of the master and python3 branches were not the same and the wrong code was used during the merge.

atvcaptain commented 2 years ago

c-band fix include too please test

willy014 commented 2 years ago

BS with Blindscan on my AX HD61 python3, unicable 3:08:45.5981 AttributeError: 'DmmBlindscan' object has no attribute 'freq_limits'

Huevos commented 2 years ago

Please post a usable amount of the log.

What is the tuner config? Post a screenshot of the tuner setup.

jbleyel commented 2 years ago

Hi @Huevos , I think this line is a problem.

https://github.com/oe-alliance/oe-alliance-plugins/blob/c32501923bbb730d116d2e115406cd5294e83cc1/Blindscan/src/dmmBlindScan.py#L495

self.freq_limits is not defined.

willy014 commented 2 years ago

13:08:45.5865 File "/usr/lib/enigma2/python/Components/ActionMap.py", line 256, in action 13:08:45.5874 return ActionMap.action(self, contexts, action) 13:08:45.5874 File "/usr/lib/enigma2/python/Components/ActionMap.py", line 238, in action 13:08:45.5879 response = self.actions[action]() 13:08:45.5880 File "/usr/lib/enigma2/python/Screens/Menu.py", line 362, in okbuttonClick 13:08:45.5894 selection[1]() 13:08:45.5895 File "/usr/lib/enigma2/python/Tools/BoundFunction.py", line 10, in call 13:08:45.5901 return self.fnc(*self.args + args, newkwargs) 13:08:45.5901 File "/usr/lib/enigma2/python/Plugins/SystemPlugins/Blindscan/plugin.py", line 1607, in BlindscanMain 13:08:45.5933 session.openWithCallback(boundFunction(BlindscanCallback, close), dmmBlindScan.DmmBlindscan) 13:08:45.5934 File "/usr/lib/enigma2/python/StartEnigma.py", line 154, in openWithCallback 13:08:45.5939 dialog = self.open(screen, *arguments, *kwargs) 13:08:45.5940 File "/usr/lib/enigma2/python/StartEnigma.py", line 165, in open 13:08:45.5946 dialog = self.current_dialog = self.instantiateDialog(screen, arguments, kwargs) 13:08:45.5946 File "/usr/lib/enigma2/python/StartEnigma.py", line 104, in instantiateDialog 13:08:45.5950 return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop) 13:08:45.5951 File "/usr/lib/enigma2/python/StartEnigma.py", line 126, in doInstantiateDialog 13:08:45.5954 dialog = screen(self, *arguments, **kwargs) # Create dialog. 13:08:45.5955 File "/usr/lib/enigma2/python/Plugins/SystemPlugins/Blindscan/dmmBlindScan.py", line 575, in init 13:08:45.5965 self.createConfig(frontendData) 13:08:45.5966 File "/usr/lib/enigma2/python/Plugins/SystemPlugins/Blindscan/dmmBlindScan.py", line 820, in createConfig 13:08:45.5979 self.dmmBlindscan.freq_start = ConfigInteger(default=self.freq_limits[0], limits=(self.freq_limits[0], self.freq_limits[1])) 13:08:45.5981 AttributeError: 'DmmBlindscan' object has no attribute 'freq_limits' 13:08:45.5981 [ePyObject] (PyObject_CallObject(<bound method NumberActionMap.action of <Components.ActionMap.HelpableNumberActionMap object at 0xa4caa6a0>>,('OkCancelActions', 'ok')) failed)

willy014 commented 2 years ago

Unicable/Jess Unicable Matrix Dura-Sat SCR 1 1280 reliable. returne nein

Huevos commented 2 years ago

You can't blindscan with Unicable. Blindscan is only possible on LNBs with block output. Unicable outputs one frequency at a time. A normal Universal, Standard, C-band, Ka-band, LNB outputs the whole frequency block 950-2150.

Huevos commented 2 years ago

Hi @Huevos , I think this line is a problem.

https://github.com/oe-alliance/oe-alliance-plugins/blob/c32501923bbb730d116d2e115406cd5294e83cc1/Blindscan/src/dmmBlindScan.py#L495

self.freq_limits is not defined.

In theory it should abort if not using a valid LNB.

atvcaptain commented 2 years ago

blindscan not working with unicable, looks we must disable Blindscan if a user config unicable

Huevos commented 2 years ago

blindscan not working with unicable, looks we must disable Blindscan if a user config unicable

We do disable it in Blindscan/plugin.py, but has not been done in dmmBlindscan (yet).

Huevos commented 2 years ago

The Unicable is not the only problem.

This commit is wrong: https://github.com/oe-alliance/oe-alliance-plugins/commit/32783de79dbfbc617e9b43679abcd3a4284f035a#diff-dbdc94037e73585b5a24638fe7ecff313e3e676be92824e2e4ab394d1d8782d0

SatBandCheck should be done in createSetup() after the user selects the tuner. plugin.py shows the correct way for this.

Please be pacient and I will supply a fix.

Huevos commented 2 years ago

Fix, for Unicable LNB here: cd323aa50d1c1c3f64e2bf985ea9eddcf5e38dea

I don't think the c-band commit works anyway. For me it returns empty (Zgemma H7). Probably drivers don't understand.

atefganm commented 2 years ago

He gives this message to both C band and ku band tuner Does not support blind scanning


1

2

3

Huevos commented 2 years ago

Where did that image come from?

We don't build DreamBox.

And this plugin is not for DreamBox. DreamBox has its own plugin, or at least it used to.

atefganm commented 2 years ago

That's because I like the openvix image I modified the image and built it for my device As for the plugin, it also belongs to the Dreambox But it needs some modification


1

2

Huevos commented 2 years ago

If you have a copy of the Dreambox plugin maybe it can be modified to work.

If you want to discuss further please post on our forum. https://www.world-of-satellite.com/forum.php

atefganm commented 2 years ago

https://github.com/atefganm/Blindscan-OpenVIX-Support-DreamBox-Devices

This is a BlindScan that works on a dream box But it is old and needs to update the add-on display And add support for a silicon satellite tuner device


1 2 3 5