Jump to content


Photo

Tuner config non-USALS request.


  • Please log in to reply
10 replies to this topic

#1 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 22 April 2014 - 16:04

When saying 'no' to 'use USALS for this satellite' the own position still shows. As this has no function, would it be possible to show own position only when using USALS?



Re: Tuner config non-USALS request. #2 littlesat

  • PLi® Core member
  • 56,229 posts

+691
Excellent

Posted 22 April 2014 - 16:30

What exactly do you mean. Can you offer some screenshots?

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


Re: Tuner config non-USALS request. #3 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 22 April 2014 - 16:42

In tuner config set DiSEqC 1.2; then you get a whole series of options. Amongst them the own location. That's fine when using USALS, as then the own location is of course required.

But when choosing the option not to use USALS for this satellite, the own position is superfluous as it's not being used. And not used entries should not show.

 

So: when 'use USALS for this satellite' has been set to 'no', the own position should disappear.



Re: Tuner config non-USALS request. #4 Alain_sat

  • Senior Member
  • 637 posts

+1
Neutral

Posted 22 April 2014 - 18:31

This is what he means.

 

disecq.jpg

 

Now this is OpenPLi 3.0 I don't know if it's the same in 4.0.

In this case the option to use Usals comes just behind Latitude what also is illogical.

It's correct that non relevant options should be greyed when another option make them obsolete, but it' s a minor issue.


ET9000 en XP1000 VU+ Duo met OpenPli, veruit de beste decoder die ik de laatste jaren gekocht heb.
 


Re: Tuner config non-USALS request. #5 Huevos

  • PLi® Contributor
  • 4,242 posts

+158
Excellent

Posted 23 April 2014 - 11:01

When saying 'no' to 'use USALS for this satellite' the own position still shows. As this has no function, would it be possible to show own position only when using USALS?

@@ -354,10 +354,6 @@
 					self.list.append(self.uncommittedDiseqcCommand)
 					self.list.append(getConfigListEntry(_("DiSEqC repeats"), currLnb.diseqcRepeats))
 				if currLnb.diseqcMode.value == "1_2":
-					self.list.append(getConfigListEntry(_("Longitude"), currLnb.longitude))
-					self.list.append(getConfigListEntry(" ", currLnb.longitudeOrientation))
-					self.list.append(getConfigListEntry(_("Latitude"), currLnb.latitude))
-					self.list.append(getConfigListEntry(" ", currLnb.latitudeOrientation))
 					if SystemInfo["CanMeasureFrontendInputPower"]:
 						self.advancedPowerMeasurement = getConfigListEntry(_("Use power measurement"), currLnb.powerMeasurement)
 						self.list.append(self.advancedPowerMeasurement)
@@ -376,7 +372,12 @@
 							currLnb.powerMeasurement.save()
 					self.advancedUsalsEntry = getConfigListEntry(_("Use USALS for this sat"), Sat.usals)
 					self.list.append(self.advancedUsalsEntry)
-					if not Sat.usals.value:
+					if Sat.usals.value:
+						self.list.append(getConfigListEntry(_("Longitude"), currLnb.longitude))
+						self.list.append(getConfigListEntry(" ", currLnb.longitudeOrientation))
+						self.list.append(getConfigListEntry(_("Latitude"), currLnb.latitude))
+						self.list.append(getConfigListEntry(" ", currLnb.latitudeOrientation))
+					else:
 						self.list.append(getConfigListEntry(_("Stored position"), Sat.rotorposition))
 					self.list.append(getConfigListEntry(_("Tuning step size") + " [" + chr(176) + "]", currLnb.tuningstepsize))
 					self.list.append(getConfigListEntry(_("Memory positions"), currLnb.rotorPositions))


Re: Tuner config non-USALS request. #6 Huevos

  • PLi® Contributor
  • 4,242 posts

+158
Excellent

Posted 23 April 2014 - 11:16

Here's a screenie.

 

Attached File  screenshot.jpg   57.17KB   36 downloads

 

Attached File  screenshot2.jpg   55.77KB   36 downloads



Re: Tuner config non-USALS request. #7 Huevos

  • PLi® Contributor
  • 4,242 posts

+158
Excellent

Posted 23 April 2014 - 11:19

BTW, code above is in file

/usr/lib/enigma2/python/Screens/Satconfig.py



Re: Tuner config non-USALS request. #8 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 23 April 2014 - 13:11

BTW, code above is in file
/usr/lib/enigma2/python/Screens/Satconfig.py

Working fine, thanks!

Re: Tuner config non-USALS request. #9 littlesat

  • PLi® Core member
  • 56,229 posts

+691
Excellent

Posted 23 April 2014 - 14:19

Can you offer a complete patch or py? (To avoid typos).

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


Re: Tuner config non-USALS request. #10 Huevos

  • PLi® Contributor
  • 4,242 posts

+158
Excellent

Posted 23 April 2014 - 14:41

Here's the py.

Attached Files



Re: Tuner config non-USALS request. #11 Alain_sat

  • Senior Member
  • 637 posts

+1
Neutral

Posted 23 April 2014 - 15:16

Thanks, is working.


ET9000 en XP1000 VU+ Duo met OpenPli, veruit de beste decoder die ik de laatste jaren gekocht heb.
 



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users