Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please fix a BlindScan of the DreamBox #398

Open
atefganm opened this issue Mar 8, 2021 · 22 comments
Open

Please fix a BlindScan of the DreamBox #398

atefganm opened this issue Mar 8, 2021 · 22 comments

Comments

@atefganm
Copy link

atefganm commented Mar 8, 2021

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
Copy link
Member

Huevos commented Mar 9, 2021

That patch has a major bug.

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

@atefganm
Copy link
Author

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
Copy link
Contributor

jbleyel commented Oct 23, 2021

Please try again

@Huevos
Copy link
Member

Huevos commented Oct 23, 2021

How did the original commits get lost?

@jbleyel
Copy link
Contributor

jbleyel commented Oct 23, 2021

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

@atvcaptain
Copy link
Member

c-band fix include too please test

@willy014
Copy link
Contributor

willy014 commented Dec 5, 2021

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

@Huevos
Copy link
Member

Huevos commented Dec 5, 2021

Please post a usable amount of the log.

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

@jbleyel
Copy link
Contributor

jbleyel commented Dec 5, 2021

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

freq_limits = list(map(lambda x: x * 1000, self.freq_limits))

self.freq_limits is not defined.

@willy014
Copy link
Contributor

willy014 commented Dec 5, 2021

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.actionsaction
13:08:45.5880 File "/usr/lib/enigma2/python/Screens/Menu.py", line 362, in okbuttonClick
13:08:45.5894 selection1
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
Copy link
Contributor

willy014 commented Dec 5, 2021

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

@Huevos
Copy link
Member

Huevos commented Dec 5, 2021

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
Copy link
Member

Huevos commented Dec 5, 2021

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

freq_limits = list(map(lambda x: x * 1000, self.freq_limits))

self.freq_limits is not defined.

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

@atvcaptain
Copy link
Member

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

@Huevos
Copy link
Member

Huevos commented Dec 6, 2021

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
Copy link
Member

Huevos commented Dec 6, 2021

The Unicable is not the only problem.

This commit is wrong: 32783de#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
Copy link
Member

Huevos commented Dec 6, 2021

Fix, for Unicable LNB here: cd323aa

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

@atefganm
Copy link
Author

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


1

2

3

@Huevos
Copy link
Member

Huevos commented Dec 15, 2021

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
Copy link
Author

atefganm commented Dec 15, 2021

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
Copy link
Member

Huevos commented Dec 15, 2021

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants