Skip to content

Commit

Permalink
Adds detection for All Star, Astro (UA), astro (MY), FUJICOM, GN Elec…
Browse files Browse the repository at this point in the history
…tronics, TUCSON, UNITED brands and improves detection for various brands (#7948)

* Adds detection for GN Electronics brand
* Improves detection for Graetz
* Adds detection for UNITED brand
* Adds detection for FUJICOM brand
* Adds detection for TUCSON brand
* Adds detection for astro brand
* Improves detection for LG devices
* Improves detection for AWOX devices
* Improves detection for Blaupunkt devices
* Improves detection for Botech devices
* Improves detection for BAUHN devices
* Adds detection for All Star brand
* Improves detection for AXEN devices
* Improves detection for GVC Pro devices
* Improves detection for PEAQ devices
* Improves detection for Hyundai devices
* Move tests from tv-5 to tv-4

ref #7885
  • Loading branch information
liviuconcioiu authored Dec 17, 2024
1 parent 806e52d commit bfce66a
Show file tree
Hide file tree
Showing 6 changed files with 456 additions and 17 deletions.
8 changes: 7 additions & 1 deletion Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -189,7 +190,8 @@ abstract class AbstractDeviceParser extends AbstractParser
'59' => 'ArtLine',
'8A' => 'Asano',
'90' => 'Asanzo',
'1U' => 'Astro',
'1U' => 'Astro (UA)',
'AST' => 'astro (MY)',
'A4' => 'Ask',
'A8' => 'Assistant',
'ASS' => 'ASSE',
Expand Down Expand Up @@ -653,6 +655,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'1F' => 'FMT',
'FPT' => 'FPT',
'FG' => 'Fuego',
'FUJ' => 'FUJICOM',
'FU' => 'Fujitsu',
'4F' => 'Funai',
'5J' => 'Fusion5',
Expand Down Expand Up @@ -699,6 +702,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'38' => 'GLONYX',
'U6' => 'Glofiish',
'GLO' => 'Glory Star',
'GNE' => 'GN Electronics',
'G7' => 'GoGEN',
'GC' => 'GOCLEVER',
'5G' => 'Gocomma',
Expand Down Expand Up @@ -1787,6 +1791,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'UR' => 'Turkcell',
'4U' => 'TuCEL',
'TUV' => 'Tuvio',
'TUC' => 'TUCSON',
'2U' => 'Türk Telekom',
'TV' => 'TVC',
'TW' => 'TWM',
Expand All @@ -1813,6 +1818,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'UNI' => 'Unistrong',
'U2' => 'UNIWA',
'UND' => 'Uniden',
'UNE' => 'UNITED',
'UGR' => 'United Group',
'UO' => 'Unnecto',
'UNN' => 'Unnion Technologies',
Expand Down
36 changes: 36 additions & 0 deletions Tests/fixtures/peripheral.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1540,3 +1540,39 @@
model: SM15X
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/53.0.2785.34 Safari/537.36 LG Browser/8.00.00(LGE; HF60LS-EU; 03.00.08; 1; DTV_W18Z); webOS.TV-2018; LG NetCast.TV-2013 Compatible (LGE, HF60LS-EU, wireless)
os:
name: webOS
version: "4"
platform: ""
client:
type: browser
name: LG Browser
version: 8.00.00
engine: Blink
engine_version: 53.0.2785.34
device:
type: peripheral
brand: LG
model: HF60LS-EU
os_family: Other Mobile
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chr0me/79.0.3945.79 Safari/537.36 LG Browser/8.00.00(LGE; 27ART10AKPL; 03.44.00; 0x00000001; DTV_N21D); webOS.TV-2021; LG NetCast.TV-2013 Compatible (LGE, 27ART10AKPL, wireless)
os:
name: webOS
version: "6"
platform: ""
client:
type: browser
name: LG Browser
version: 8.00.00
engine: Blink
engine_version: 79.0.3945.79
device:
type: peripheral
brand: LG
model: StandbyME
os_family: Other Mobile
browser_family: Unknown
4 changes: 2 additions & 2 deletions Tests/fixtures/smartphone-22.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9723,7 +9723,7 @@
engine_version: 79.0.3945.93
device:
type: smartphone
brand: Astro
brand: Astro (UA)
model: S451
os_family: Android
browser_family: Chrome
Expand All @@ -9741,7 +9741,7 @@
engine_version: 74.0.3729.157
device:
type: smartphone
brand: Astro
brand: Astro (UA)
model: S501
os_family: Android
browser_family: Chrome
Expand Down
Loading

0 comments on commit bfce66a

Please sign in to comment.