From bd91a819906159fcc30d3d57639c369c6f38fef4 Mon Sep 17 00:00:00 2001 From: Liviu-Mihail Concioiu Date: Thu, 5 Dec 2024 02:50:39 +0100 Subject: [PATCH] Improves detection for Graetz ref #7885 --- Tests/fixtures/tv-5.yml | 18 ++++++++++++++++++ regexes/device/televisions.yml | 8 ++++++++ 2 files changed, 26 insertions(+) diff --git a/Tests/fixtures/tv-5.yml b/Tests/fixtures/tv-5.yml index 9d13021f0e..391291aa96 100644 --- a/Tests/fixtures/tv-5.yml +++ b/Tests/fixtures/tv-5.yml @@ -17,3 +17,21 @@ model: Smart TV (2017) os_family: GNU/Linux browser_family: Opera +- + user_agent: Mozilla/5.0 (Linux ) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 OPR/46.0.2207.0 OMI/4.20.5.61.LIMA.179 Model/Vestel-MB181 VSTVB MB100 HbbTV/1.5.1 (+DRM; GRAETZ; MB181; 1.87.7.0; ; _TV_G36_2020;) SmartTvA/3.0.0 + os: + name: GNU/Linux + version: "" + platform: "" + client: + type: browser + name: Opera Devices + version: 4.20.5.61 + engine: Blink + engine_version: 77.0.3865.120 + device: + type: tv + brand: Graetz + model: Smart TV (2020) + os_family: GNU/Linux + browser_family: Opera diff --git a/regexes/device/televisions.yml b/regexes/device/televisions.yml index 2bc7e37931..76f88bb52a 100644 --- a/regexes/device/televisions.yml +++ b/regexes/device/televisions.yml @@ -292,6 +292,14 @@ GoGEN: device: 'tv' model: '' +# Graetz (https://www.graetzitalia.it/) +Graetz: + regex: 'GRAETZ[;,]' + device: 'tv' + models: + - regex: '_TV_[A-Z0-9]+_([0-9]{4});' + model: 'Smart TV ($1)' + # Grundig Grundig: regex: '(OWB|(?:Amazon.+)?Grundig)'