From 93ab3eb2ab0a7db473f25aa6eee6235668eaaa08 Mon Sep 17 00:00:00 2001 From: Jedi Lin Date: Sun, 22 Dec 2024 14:35:42 +0800 Subject: [PATCH] Phonak Target 10.0.1 workaround --- Phonak Target Checker.py | 2 +- Phonak Target Sounds Checker.py | 2 +- README.md | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Phonak Target Checker.py b/Phonak Target Checker.py index 3a8b2fa..455eda4 100644 --- a/Phonak Target Checker.py +++ b/Phonak Target Checker.py @@ -49,7 +49,7 @@ updaterRetries = libhearingdownloader.updaterRetries while updaterRetries > 0: try: - xmlData = requests.get("https://p-svc1.phonakpro.com/1/ObjectLocationService.svc/FittingApplicationInstaller/index?appName=Phonak%20Target&appVer=6.0.1.695&dist=Phonak&country=US&subKeys=").text # Request the updater API (spoof older version to get whole installer files rather than "patch" installers) + xmlData = requests.get("https://p-svc1.phonakpro.com/1/ObjectLocationService.svc/FittingApplicationInstaller/index?appName=Phonak%20Target&appVer=6.0.1.695&dist=Phonak&country=UK&subKeys=").text # Request the updater API (spoof older version to get whole installer files rather than "patch" installers) data = xml.fromstring(xmlData) break except: diff --git a/Phonak Target Sounds Checker.py b/Phonak Target Sounds Checker.py index b5a6933..8b82136 100644 --- a/Phonak Target Sounds Checker.py +++ b/Phonak Target Sounds Checker.py @@ -49,7 +49,7 @@ updaterRetries = libhearingdownloader.updaterRetries while updaterRetries > 0: try: - hostXmlData = requests.get("https://p-svc1.phonakpro.com/1/ObjectLocationService.svc/FittingApplicationInstaller/index?appName=Phonak%20Target&appVer=6.0.1.695&dist=Phonak&country=US&subKeys=").text # Request the updater API (spoof older version to get whole installer files rather than "patch" installers) + hostXmlData = requests.get("https://p-svc1.phonakpro.com/1/ObjectLocationService.svc/FittingApplicationInstaller/index?appName=Phonak%20Target&appVer=6.0.1.695&dist=Phonak&country=UK&subKeys=").text # Request the updater API (spoof older version to get whole installer files rather than "patch" installers) hostData = xml.fromstring(hostXmlData) hostAppVer = hostData[0].find(xmlns + "UpdateVersion").find(xmlns + "Version").text xmlData = requests.get("https://p-svc1.phonakpro.com/1/ObjectLocationService.svc/SoundsInstaller/index?appName=Target%20Sounds&appVer=0.0.0.0;" + hostAppVer + "&dist=Phonak&country=US&subKeys=").text # Request the updater API with the latest version number of Phonak Target diff --git a/README.md b/README.md index 4a2f85f..74787c3 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,7 @@ NOTE: If you run The Checker (on Windows OS) without Python installed yet, The C ## Changelog ### Pre-release (work-in-progress) +- Phonak: workaround for Target 10.0.1 seems not available in US market - Document (README) update ### v2024.12.06 @@ -265,4 +266,4 @@ The contributors of The Checker, and The Checker itself are not affiliated with Note: these software WON'T be included in The Checker. -Modern hearing aids fitting software which supports [Noahlink Wireless](https://www.himsa.com/products/noahlink-wireless/) and/or [Noahlink Wireless 2](https://www.himsa.com/products/noahlink-wireless-2/) programming interface should be certified *BEFORE* release. This means one can also check [Certified Noahlink Wireless and Noahlink Wireless 2 Modules](https://www.himsa.com/products/noahlink-wireless-2/certified-noahlink-wireless-modules/) for upcoming version of fitting software before The Checker does. +Modern hearing aids fitting software which supports [Noahlink Wireless](https://www.himsa.com/products/noahlink-wireless/) and/or [Noahlink Wireless 2](https://www.himsa.com/products/noahlink-wireless-2/) programming interface should be certified *BEFORE* release. This means one can also check [Certified Noahlink Wireless and Noahlink Wireless 2 Modules](https://www.himsa.com/products/noahlink-wireless-2/certified-noahlink-wireless-modules/) for upcoming version of fitting software before The Checker does. \ No newline at end of file