From b646ab7767baab8111fb2b41250736e7a2ac49f2 Mon Sep 17 00:00:00 2001 From: Liviu-Mihail Concioiu Date: Sun, 22 Dec 2024 13:50:08 +0100 Subject: [PATCH] Improves detection for Philips devices ref #7882 --- Tests/fixtures/peripheral.yml | 18 ++++++++++++++++++ regexes/device/mobiles.yml | 6 +++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/Tests/fixtures/peripheral.yml b/Tests/fixtures/peripheral.yml index 7b5a0ad0a3..76c91964ec 100644 --- a/Tests/fixtures/peripheral.yml +++ b/Tests/fixtures/peripheral.yml @@ -1648,3 +1648,21 @@ model: Xming os_family: Android browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 11; SCN550 Build/RTM6.230109.257; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/129.0.6668.102 Mobile Safari/537.36 + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: Chrome Webview + version: 129.0.6668.102 + engine: Blink + engine_version: 129.0.6668.102 + device: + type: peripheral + brand: Philips + model: Screeneo U5 + os_family: Android + browser_family: Chrome diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index d97ba29c83..2e8aaaf7d8 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -36549,7 +36549,7 @@ Master-G: # philips Philips: - regex: 'Philips|NETTV/|2020/2021 UHD Android|10BDL4151T|Xenium S[25]66|(?:NeoViu D1|PI3210G|TPM1[79]1E|70PUH6774_96|QM152E|QM16[134]E|TLE(?:821L|722G)|AND1E|S397|W5510|S410J)(?:[);/ ]|$)' + regex: 'Philips|NETTV/|2020/2021 UHD Android|10BDL4151T|Xenium S[25]66|(?:NeoViu D1|PI3210G|TPM1[79]1E|70PUH6774_96|QM152E|QM16[134]E|TLE(?:821L|722G)|AND1E|S397|W5510|S410J|SCN550)(?:[);/ ]|$)' device: 'smartphone' models: - regex: 'Philips;([a-z0-9_ \-/]+);' @@ -36614,6 +36614,10 @@ Philips: - regex: 'NeoViu D1' device: 'peripheral' model: 'NeoViu D1' + - regex: 'SCN550' + device: 'peripheral' + model: 'Screeneo U5' + # general detection - regex: 'Philips[ _-]?([a-z0-9\-@]+)' model: '$1'