Skip to content

Commit

Permalink
Merge pull request #6 from garritfra/hbbtv-technisat
Browse files Browse the repository at this point in the history
Add support for TechniSAT TVs and SATs
  • Loading branch information
garritfra committed Nov 10, 2022
2 parents 94f2d60 + df7551c commit ea40a3c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ua-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,8 @@
], [MODEL, [VENDOR, SONY], [TYPE, SMARTTV]], [
/(mitv-\w{5}) bui/i // Xiaomi
], [MODEL, [VENDOR, XIAOMI], [TYPE, SMARTTV]], [
/Hbbtv.*(technisat) (.*);/i // TechniSAT
], [VENDOR, MODEL, [TYPE, SMARTTV]], [
/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, // Roku
/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i // HbbTV devices
], [[VENDOR, trim], [MODEL, trim], [TYPE, SMARTTV]], [
Expand Down
20 changes: 20 additions & 0 deletions test/device-test.json
Original file line number Diff line number Diff line change
Expand Up @@ -2045,6 +2045,26 @@
"type": "embedded"
}
},
{
"desc" : "TechniSAT Digit ISIO S SAT receiver",
"ua" : "Opera/9.80 (Linux sh4; U; HbbTV/1.1.1 (;;;;;); CE-HTML; TechniSat Digit ISIO S; de) Presto/2.9.167 Version/11.50",
"expect" :
{
"vendor": "TechniSat",
"model": "Digit ISIO S",
"type": "smarttv"
}
},
{
"desc" : "TechniSAT MultyVision SmartTV",
"ua" : "Opera/9.80 (Linux i686; U; HbbTV/1.1.1 (;;;;;); CE-HTML; TechniSat MultyVision ISIO; de) Presto/2.9.167 Version/11.50",
"expect" :
{
"vendor": "TechniSat",
"model": "MultyVision ISIO",
"type": "smarttv"
}
},
{
"desc": "Xiaomi 2013023",
"ua": "Mozilla/5.0 (Linux; U; Android 4.2.2; en-US; 2013023 Build/HM2013023) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 UCBrowser/10.0.1.512 U3/0.8.0 Mobile Safari/533.1",
Expand Down

0 comments on commit ea40a3c

Please sign in to comment.