diff --git a/Parser/Device/AbstractDeviceParser.php b/Parser/Device/AbstractDeviceParser.php index 6aa33cabf3..c8d9e4450b 100644 --- a/Parser/Device/AbstractDeviceParser.php +++ b/Parser/Device/AbstractDeviceParser.php @@ -139,6 +139,7 @@ abstract class AbstractDeviceParser extends AbstractParser '6L' => 'ALDI SÜD', '3L' => 'Alfawise', '4A' => 'Aligator', + 'ALS' => 'All Star', 'AA' => 'AllCall', '3A' => 'AllDocube', 'A2' => 'Allview', diff --git a/Tests/fixtures/tv-5.yml b/Tests/fixtures/tv-5.yml index 8560694b27..89d791ae04 100644 --- a/Tests/fixtures/tv-5.yml +++ b/Tests/fixtures/tv-5.yml @@ -224,3 +224,21 @@ model: ATV85UHDW-0122 os_family: Other Mobile browser_family: Unknown +- + user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/68.0.3440.106 Safari/537.36 LG Browser/8.00.00(LGE; ASSTV55WF4K; 04.50.62; 0x00000001; DTV_C20P); webOS.TV-2020; LG NetCast.TV-2013 Compatible (LGE, ASSTV55WF4K, wireless) + os: + name: webOS + version: "5" + platform: "" + client: + type: browser + name: LG Browser + version: 8.00.00 + engine: Blink + engine_version: 68.0.3440.106 + device: + type: tv + brand: All Star + model: ASSTV55WF4K + os_family: Other Mobile + browser_family: Unknown diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index 2a50787de8..9d010c284c 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -1904,6 +1904,12 @@ Alba: device: 'tablet' model: '$1' +# All Star or AllStar or AllStar Tech (https://www.allstartech.it/) +All Star: + regex: '(ASSTV[A-Z0-9]+)' + device: 'tv' + model: '$1' + # AllCall AllCall: regex: 'AllCall_|Heat[34]|SHINE 12T?|(?:Rio_X|S5500)(?:[);/ ]|$)|Hot ?[125][^;/]+ Build'