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

[Geolocation.py] Code updates #2950

Merged
merged 3 commits into from
Jun 18, 2023
Merged

[Geolocation.py] Code updates #2950

merged 3 commits into from
Jun 18, 2023

Conversation

IanSav
Copy link
Contributor

@IanSav IanSav commented Jun 18, 2023

  • Update internet library from "urllib" to "requests".
  • Use new Enigma2 call to determine Internet connectivity. This is a non blocking call that is much faster than the old Python equivalent. If the newer Enigma2 code is not available then the old behaviour is used.
  • Correct spelling errors.

IanSav and others added 3 commits June 19, 2023 00:59
- Update internet library from "urllib" to "requests".
- Use new Enigma2 call to determine Internet connectivity.  This is a non blocking call that is much faster than the old Python equivalent.  If the newer Enigma2 code is not available then the old behaviour is used.
- Correct spelling errors.
@sonarcloud
Copy link

sonarcloud bot commented Jun 18, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@jbleyel jbleyel merged commit 81fc406 into master Jun 18, 2023
4 checks passed
@jbleyel jbleyel deleted the IanSav-Geolocation branch June 18, 2023 21:12
jbleyel pushed a commit that referenced this pull request Jun 18, 2023
* [Geolocation.py] Code updates

- Update internet library from "urllib" to "requests".
- Use new Enigma2 call to determine Internet connectivity.  This is a non blocking call that is much faster than the old Python equivalent.  If the newer Enigma2 code is not available then the old behaviour is used.
- Correct spelling errors.

---------

Co-authored-by: jbleyel <jbleyel@gmx.net>
(cherry picked from commit 81fc406)
jbleyel added a commit that referenced this pull request Jun 23, 2023
* master: (24 commits)
  [MenuList] * partialy revert aa2c1a7
  add vti workaroud
  [ServiceScan.py] Update after this commit aa2c1a7!
  [dvbci_ccmgr_helper] * Replace call to the non reentrant function "localtime" by a call to "localtime_r".
  ci add ci+ 1.4 support
  [skin.py] Small corrections and adjustments
  [TemplatedMultiContent.py] Sort imports
  [MultiContent.py] Remove unneeded import
  [eListbox] * rename setSpacerColor -> setSpacingColor
  GUI Updates (#2943)
  [Geolocation.py] Code updates (#2950)
  [main] * checkInternetAccess change return codes to:
  [Timers] * remove duplicate getSpace
  Unicable connected (#2949)
  [enigma] (#2947)
  [StackTrace.py] Small code clean up
  multiboot fix slot R target selection for kexecmultiboot
  information.py, multiboot sortslots
  [VideoWizard] * stop timer after press red for language selection
  [VideoWizard] * enable red button for language selection in video wizard
  ...
jbleyel added a commit that referenced this pull request Jun 28, 2023
* master: (23 commits)
  Revert "add vti workaroud"
  Sync with Pli/Vix (#2938)
  [MenuList] * partialy revert aa2c1a7
  add vti workaroud
  [ServiceScan.py] Update after this commit aa2c1a7!
  [dvbci_ccmgr_helper] * Replace call to the non reentrant function "localtime" by a call to "localtime_r".
  ci add ci+ 1.4 support
  [skin.py] Small corrections and adjustments
  [TemplatedMultiContent.py] Sort imports
  [MultiContent.py] Remove unneeded import
  [eListbox] * rename setSpacerColor -> setSpacingColor
  GUI Updates (#2943)
  [Geolocation.py] Code updates (#2950)
  [main] * checkInternetAccess change return codes to:
  [Timers] * remove duplicate getSpace
  Unicable connected (#2949)
  [enigma] (#2947)
  Changed graphical EPG to only load event data for visible channels.
  [StackTrace.py] Small code clean up
  multiboot fix slot R target selection for kexecmultiboot
  ...
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

Successfully merging this pull request may close these issues.

2 participants