Jump to content


Photo

ScanSetup.py

Patch

  • Please log in to reply
5 replies to this topic

#1 Dimitrij

  • PLi® Core member
  • 9,990 posts

+338
Excellent

Posted 6 August 2012 - 11:09

GS...
Traceback (most recent call last):
File "/usr/lib/enigma2/python/Components/ActionMap.py", line 46, in action
File "/usr/lib/enigma2/python/Screens/ScanSetup.py", line 1078, in keyCancel
AttributeError: Session instance has no attribute 'postScanService'

Patch :)
class ScanSimple(ConfigListScreen, Screen, CableTransponderSearchSupport):
def getNetworksForNim(self, nim):
if nim.isCompatible("DVB-S"):
networks = nimmanager.getSatListForNim(nim.slot)
elif not nim.empty:
networks = [ nim.type ] # "DVB-C" or "DVB-T". TODO: seperate networks for different C/T tuners, if we want to support that.
else:
# empty tuners provide no networks.
networks = [ ]
return networks

def __init__(self, session):
Screen.__init__(self, session)

self.session.postScanService = session.nav.getCurrentlyPlayingServiceReference()

self["actions"] = ActionMap(["SetupActions", "MenuActions"],
{

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: ScanSetup.py #2 Dimitrij

  • PLi® Core member
  • 9,990 posts

+338
Excellent

Posted 6 August 2012 - 14:21

Plugin e2openplugin-Satscan does not work on receivers ETxx00.
I noticed on this topic:
http://openpli.org/f...l__et-blindscan
He added that patch into the current module ScanSetup.py
Checked, all works fine on et9000.

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: ScanSetup.py #3 littlesat

  • PLi® Core member
  • 56,244 posts

+691
Excellent

Posted 6 August 2012 - 14:56

Now I know where simplescan was used.... I was thinking of compelelty remove it ;)

Can you post or a complete ScanSetup file or a complete diff that I can directly use?

Edited by littlesat, 6 August 2012 - 15:00.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: ScanSetup.py #4 littlesat

  • PLi® Core member
  • 56,244 posts

+691
Excellent

Posted 6 August 2012 - 15:48

There are also white spaces in your diff (empty rows with only tabs....)... I hope I can look into that later...

Edited by littlesat, 6 August 2012 - 15:52.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: ScanSetup.py #5 Dimitrij

  • PLi® Core member
  • 9,990 posts

+338
Excellent

Posted 6 August 2012 - 16:16

Complete ScanSetup file.

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: ScanSetup.py #6 littlesat

  • PLi® Core member
  • 56,244 posts

+691
Excellent

Posted 6 August 2012 - 17:06

In between I committed the forgotten declaration of the PostScanService... for the blindscan stuff I need to perform more testing....

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W




Also tagged with one or more of these keywords: Patch

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users