From 686ae2ae318e87e321d4c83179df6cf20c0319c9 Mon Sep 17 00:00:00 2001 From: Liviu-Mihail Concioiu Date: Thu, 5 Dec 2024 04:05:07 +0100 Subject: [PATCH] Improves detection for LG devices --- Tests/fixtures/peripheral.yml | 36 +++++++++++++++++++++++++++++++++++ Tests/fixtures/tv-5.yml | 18 ++++++++++++++++++ regexes/device/mobiles.yml | 9 ++++++++- 3 files changed, 62 insertions(+), 1 deletion(-) diff --git a/Tests/fixtures/peripheral.yml b/Tests/fixtures/peripheral.yml index 464ff98ab4..0f4b0b03a2 100644 --- a/Tests/fixtures/peripheral.yml +++ b/Tests/fixtures/peripheral.yml @@ -1540,3 +1540,39 @@ model: SM15X os_family: Android browser_family: Chrome +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/53.0.2785.34 Safari/537.36 LG Browser/8.00.00(LGE; HF60LS-EU; 03.00.08; 1; DTV_W18Z); webOS.TV-2018; LG NetCast.TV-2013 Compatible (LGE, HF60LS-EU, wireless) + os: + name: webOS + version: "4" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 53.0.2785.34 + device: + type: peripheral + brand: LG + model: HF60LS-EU + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/79.0.3945.79 Safari/537.36 LG Browser/8.00.00(LGE; 27ART10AKPL; 03.44.00; 0x00000001; DTV_N21D); webOS.TV-2021; LG NetCast.TV-2013 Compatible (LGE, 27ART10AKPL, wireless) + os: + name: webOS + version: "6" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 79.0.3945.79 + device: + type: peripheral + brand: LG + model: StandbyME + os_family: Other Mobile + browser_family: Unknown diff --git a/Tests/fixtures/tv-5.yml b/Tests/fixtures/tv-5.yml index 1225155e10..953b2a30f1 100644 --- a/Tests/fixtures/tv-5.yml +++ b/Tests/fixtures/tv-5.yml @@ -134,3 +134,21 @@ model: KSTB6112 os_family: Unknown browser_family: Safari +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/38.0.2125.122 Safari/537.36 LG Browser/8.00.00(LGE; 28MT49S-PSS; 06.10.35; 1; DTV_W17R); webOS.TV-2017; LG NetCast.TV-2013 Compatible (LGE, 28MT49S-PSS, wireless) + os: + name: webOS + version: "3" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 38.0.2125.122 + device: + type: tv + brand: LG + model: 28MT49S-PSS + os_family: Other Mobile + browser_family: Unknown diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index 6a4fc111f3..790c97c2fd 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -15745,7 +15745,7 @@ Vargo: # LG or LGE (lg.com) LG: - regex: '(?