Skip to content

Commit

Permalink
Adds detection for VIDAA operating system and various TV brands, impr…
Browse files Browse the repository at this point in the history
…oves detection for existing ones (#7507)

* Adds detection for VIDAA
ref #7505
* Improves detection for Toshiba models
ref #7505
* Improves detection for Hisense brand and models
ref #7505
* Improves detection for Hisense models
* Adds detection for UGINE brand
ref #7505
* Adds detection for AWOX brand
* Improves detection for Opera TV
ref #7505
* Improves detection for Hisense models
ref #7505
* Improves detection for Hisense
* Improves detection for Vestel
* Improves detection for Daewoo
* Improves detection for NEXT
ref #7504
* Adds detection for DIKOM brand
* Adds detection for CLAYTON brand
ref #7504
* Adds detection for NORMANDE brand
ref #7504
* Adds detection for Arçelik brand
ref #7503
* Adds detection for Beko brand
ref #7503
* Adds detection for Altus brand
ref #7503
* Improves detection for Arçelik
ref #7503
* Improves detection for Philco brand
ref #7503
* Improves detection for Sunny
ref #7502
* Adds detection for AXEN brand
ref #7502
* Adds detection for Dyon brand
ref #7502
* Adds detection for ONVO brand
ref #7502
* Improves detection for Aiwa
* Improves detection for LG
* Move Toshiba before Hisense
  • Loading branch information
liviuconcioiu authored Nov 13, 2023
1 parent bb5846c commit b706328
Show file tree
Hide file tree
Showing 8 changed files with 704 additions and 86 deletions.
11 changes: 11 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'A1' => 'Altech UEC',
'66' => 'Altice',
'A5' => 'altron',
'ALT' => 'Altus',
'KN' => 'Amazon',
'AMA' => 'AMA',
'AG' => 'AMGOO',
Expand All @@ -160,6 +161,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'RW' => 'Aoro',
'9Y' => 'Aocos',
'AP' => 'Apple',
'ARC' => 'Arçelik',
'AR' => 'Archos',
'AB' => 'Arian Space',
'A6' => 'Ark',
Expand Down Expand Up @@ -193,12 +195,14 @@ abstract class AbstractDeviceParser extends AbstractParser
'AH' => 'AVH',
'AV' => 'Avvio',
'AVA' => 'Avaya',
'AXE' => 'AXEN',
'AY' => 'Axxion',
'AXX' => 'AXXA',
'YR' => 'AYYA',
'XA' => 'Axioo',
'AM' => 'Azumi Mobile',
'WW' => 'Awow',
'AWO' => 'AWOX',
'XU' => 'AUX',
'BAC' => 'Backcell',
'BFF' => 'BAFF',
Expand All @@ -216,6 +220,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'B5' => 'Beeline',
'B0' => 'Beelink',
'BL' => 'Beetel',
'BEK' => 'Beko',
'2X' => 'Benco',
'BQ' => 'BenQ',
'BS' => 'BenQ-Siemens',
Expand Down Expand Up @@ -313,6 +318,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'1C' => 'Chuwi',
'L8' => 'Clarmin',
'25' => 'Claresta',
'CLA' => 'CLAYTON',
'1J' => 'Cloud',
'CD' => 'Cloudfone',
'6C' => 'Cloudpad',
Expand Down Expand Up @@ -396,6 +402,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'DIG' => 'Digit4G',
'DIC' => 'DIGICOM',
'Q0' => 'DIGIFORS',
'DIK' => 'DIKOM',
'DQ' => 'DISH',
'DIS' => 'Disney',
'9D' => 'Ditecma',
Expand Down Expand Up @@ -432,6 +439,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'UD' => 'DUNNS Mobile',
'DUU' => 'Duubee',
'DUR' => 'Durabook',
'DYO' => 'Dyon',
'DTE' => 'D-Tech',
'DLI' => 'D-Link',
'ENO' => 'eNOVA',
Expand Down Expand Up @@ -1082,6 +1090,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'2N' => 'Nomu',
'6H' => 'Noontec',
'NR' => 'Nordmende',
'NOR' => 'NORMANDE',
'7N' => 'NorthTech',
'NOT' => 'Nothing Phone',
'5N' => 'Nos',
Expand Down Expand Up @@ -1120,6 +1129,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'3O' => 'ONYX BOOX',
'O4' => 'ONN',
'9Q' => 'Onkyo',
'ONV' => 'ONVO',
'2O' => 'OpelMobile',
'OH' => 'Openbox',
'7Y' => 'Obabox',
Expand Down Expand Up @@ -1545,6 +1555,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'6T' => 'Twoe',
'15' => 'Tymes',
'UC' => 'U.S. Cellular',
'UGI' => 'UGINE',
'UG' => 'Ugoos',
'U1' => 'Uhans',
'UH' => 'Uhappy',
Expand Down
3 changes: 2 additions & 1 deletion Parser/OperatingSystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ class OperatingSystem extends AbstractParser
'TIZ' => 'Tizen',
'TOS' => 'TmaxOS',
'UBT' => 'Ubuntu',
'VID' => 'VIDAA',
'WAS' => 'watchOS',
'WER' => 'Wear OS',
'WTV' => 'WebTV',
Expand Down Expand Up @@ -203,7 +204,7 @@ class OperatingSystem extends AbstractParser
'ORD', 'TOS', 'RSO', 'DEE', 'FRE', 'MAG', 'FEN', 'CAI', 'PCL', 'HAS',
'LOS', 'DVK', 'ROK', 'OWR', 'OTV', 'KTV', 'PUR', 'PLA', 'FUC', 'PAR',
'FOR', 'MON', 'KAN', 'ZEN', 'LND', 'LNS', 'CHN', 'AMZ', 'TEN', 'CST',
'NOV', 'ROU', 'ZOR', 'RED',
'NOV', 'ROU', 'ZOR', 'RED', 'VID',
],
'Mac' => ['MAC'],
'Mobile Gaming Console' => ['PSP', 'NDS', 'XBX'],
Expand Down
16 changes: 16 additions & 0 deletions Tests/Parser/fixtures/oss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3926,3 +3926,19 @@
version: "14.1"
platform:
family: Mac
-
user_agent: Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Odin/88.4324.2.10 Safari/537.36 Model/Hisense-NT72671D VIDAA/6.0(Hisense;SmartTV;85A66GAVT;NT72671/V0000.06.12N.N0622;UHD;86A6GA;)
os:
name: VIDAA
short_name: VID
version: "6.0"
platform: ARM
family: GNU/Linux
-
user_agent: Mozilla/5.0 (Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.140 Safari/537.36 OPR/46.0.2207.0 OMI/4.21.2.50.Honey.220 Model/Hisense-NT72671D TV Store/4.21
os:
name: Opera TV
short_name: OTV
version: "4.21"
platform: ARM
family: GNU/Linux
Loading

0 comments on commit b706328

Please sign in to comment.