From ac94ce7168a25d5ad693f1f0fb86fe6a927fca0b Mon Sep 17 00:00:00 2001 From: Liviu-Mihail Concioiu Date: Sun, 22 Dec 2024 13:57:33 +0100 Subject: [PATCH] Improves detection for Kodak devices ref #7882 --- Tests/fixtures/tv-4.yml | 18 ++++++++++++++++++ regexes/device/mobiles.yml | 6 +++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/Tests/fixtures/tv-4.yml b/Tests/fixtures/tv-4.yml index bbeaeb0b5b..9ca643dcbe 100644 --- a/Tests/fixtures/tv-4.yml +++ b/Tests/fixtures/tv-4.yml @@ -7248,3 +7248,21 @@ model: Smart TV os_family: Android browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; PATH_7XPRO Build/PI; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/129.0.6668.100 Mobile Safari/537.36 + os: + name: Android + version: "9" + platform: "" + client: + type: browser + name: Chrome Webview + version: 129.0.6668.100 + engine: Blink + engine_version: 129.0.6668.100 + device: + type: tv + brand: Kodak + model: 7XPRO + os_family: Android + browser_family: Chrome diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index 2e8aaaf7d8..eae315f534 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -14324,7 +14324,7 @@ PIXPRO: # Kodak Kodak: - regex: 'KODAK|(?:IM5|KD50|Ektra|Smartway[_ ](?:[FT]1|[LT]2)|D55L|D61L|D6[05]LX)(?:[);/ ]|$)' + regex: 'KODAK|(?:IM5|KD50|Ektra|Smartway[_ ](?:[FT]1|[LT]2)|D55L|D61L|D6[05]LX|PATH_7XPRO)(?:[);/ ]|$)' device: 'smartphone' models: - regex: 'IM5' @@ -14341,6 +14341,10 @@ Kodak: device: 'tablet' model: 'Tablet $1' + - regex: 'PATH_7XPRO' + device: 'tv' + model: '7XPRO' + # KOPO or JKOPO (http://www.jkopo.com/) KOPO: regex: 'J?KOPO[ _-]'