Skip to content

Commit

Permalink
Adds detection for FUJICOM brand
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuconcioiu committed Dec 13, 2024
1 parent cc5dd8f commit 6aefefa
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'1F' => 'FMT',
'FPT' => 'FPT',
'FG' => 'Fuego',
'FUJ' => 'FUJICOM',
'FU' => 'Fujitsu',
'4F' => 'Funai',
'5J' => 'Fusion5',
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/tv-5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,21 @@
model: Smart TV (2020)
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.192 Model/Vestel-MB180 VSTVB MB100 HbbTV/1.5.1 (+DRM; FUJICOM; MB180; 1.73.2.0; ; _TV_G32_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: FUJICOM
model: Smart TV (2020)
os_family: GNU/Linux
browser_family: Opera
8 changes: 8 additions & 0 deletions regexes/device/televisions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,14 @@ Fuego:
- regex: '_TV_[A-Z0-9]+_([0-9]{4});'
model: 'Smart TV ($1)'

# FUJICOM (https://fujicom.com/)
FUJICOM:
regex: 'FUJICOM[;,]'
device: 'tv'
models:
- regex: '_TV_[A-Z0-9]+_([0-9]{4});'
model: 'Smart TV ($1)'

# GN Electronics (https://www.gnelectronics.in/)
GN Electronics:
regex: 'GN_ELECTRONICS[;,]'
Expand Down

0 comments on commit 6aefefa

Please sign in to comment.