From 05760633e727e3a944f5b54e9269ccd97a10c29a Mon Sep 17 00:00:00 2001 From: Liviu-Mihail Concioiu Date: Fri, 1 Nov 2024 18:50:36 +0100 Subject: [PATCH] Improves detection for LG devices ref #7885 --- Tests/fixtures/tv-4.yml | 72 ++++++++++++++++++++++++++++++++++++++ regexes/device/mobiles.yml | 4 +-- 2 files changed, 74 insertions(+), 2 deletions(-) diff --git a/Tests/fixtures/tv-4.yml b/Tests/fixtures/tv-4.yml index ba9f34f757..62689e224c 100644 --- a/Tests/fixtures/tv-4.yml +++ b/Tests/fixtures/tv-4.yml @@ -3981,3 +3981,75 @@ model: 28TN525S-PZ os_family: Other Mobile browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/108.0.5359.211 Safari/537.36 LG Browser/8.00.00(LGE; 55NANO81T6A.BPISLJP; 23.20.65; 0x00000001; DTV_W24P); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, 55NANO81T6A.BPISLJP, wireless) + os: + name: webOS + version: "1" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 108.0.5359.211 + device: + type: tv + brand: LG + model: 55NANO81T6A + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/108.0.5359.211 Safari/537.36 LG Browser/8.00.00(LGE; 50NANO81T6A; 23.20.65; 0x00000001; DTV_W24P); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, 50NANO81T6A, wireless) + os: + name: webOS + version: "1" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 108.0.5359.211 + device: + type: tv + brand: LG + model: 50NANO81T6A + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/108.0.5359.211 Safari/537.36 LG Browser/8.00.00(LGE; OLED48C34LA; 23.20.50; 0x00000001; DTV_W23O); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, OLED48C34LA, wired) + os: + name: webOS + version: "1" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 108.0.5359.211 + device: + type: tv + brand: LG + model: OLED48C34LA + os_family: Other Mobile + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/108.0.5359.211 Safari/537.36 LG Browser/8.00.00(LGE; OLED55B42LA.DVSQLJP; 23.20.21; 0x00000001; DTV_W24H); webOS.TV-2022; LG NetCast.TV-2013 Compatible (LGE, OLED55B42LA.DVSQLJP, wireless) + os: + name: webOS + version: "1" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 108.0.5359.211 + device: + type: tv + brand: LG + model: OLED55B42LA.DVSQLJP + os_family: Other Mobile + browser_family: Unknown diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index 24eaf051bf..53d003235d 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -15676,7 +15676,7 @@ Vargo: # LG or LGE (lg.com) LG: - regex: '(?