Some fixes here and there

This commit is contained in:
Faisal Salman 2014-06-25 13:53:30 +07:00
parent 82e704cb0e
commit 66bb3bd874
4 changed files with 11 additions and 13 deletions

View File

@ -290,7 +290,7 @@
/(coremedia) v((\d+)[\w\._]+)/i
], [NAME, VERSION, MAJOR], [
/(aqualung|lyssna|bsplayer)\/([\w\.-]+)/i // Aqualung/Lyssna/BSPlayer
/(aqualung|lyssna|bsplayer)\/((\d+)?[\w\.-]+)/i // Aqualung/Lyssna/BSPlayer
], [NAME, VERSION], [
/(ares|ossproxy)\s((\d+)[\w\.-]+)/i // Ares/OSSProxy
@ -306,7 +306,7 @@
/(nexplayer)\s((\d+)[\w\.-]+)/i // Nexplayer
], [NAME, VERSION, MAJOR], [
/(flrp)\/((\d+)[\w\.-]+)/i // Flip Player
/(flrp)\/((\d+)[\w\.-]+)/i // Flip Player
], [[NAME, 'Flip Player'], VERSION, MAJOR], [
/(fstream|nativehost|queryseekspider|ia-archiver|facebookexternalhit)/i
@ -330,8 +330,7 @@
// MPlayer SVN
], [NAME, VERSION], [
/(mplayer)(?:\s|\/)((\d+)[\w\.-]+)/i, // MPlayer
/(mplayer) unknown-((\d+)[\w\.\-]+)/i // MPlayer UNKNOWN
/(mplayer)(?:\s|\/|[unkow-]+)((\d+)[\w\.-]+)/i, // MPlayer
], [NAME, VERSION, MAJOR], [
/(mplayer)/i, // MPlayer (no other info)
@ -493,18 +492,17 @@
/android\s3\.[\s\w-;]{10}((a\d{3}))/i // Acer
], [[VENDOR, 'Acer'], MODEL, [TYPE, TABLET]], [
/android\s3\.[\s\w-;]{10}(lg?)-([06cv9]{3,4})/i // LG
/android\s3\.[\s\w-;]{10}(lg?)-([06cv9]{3,4})/i // LG Tablet
], [[VENDOR, 'LG'], MODEL, [TYPE, TABLET]], [
/((nexus\s[45]))/i,
/(lg) netcast\.tv/i // LG SmartTV
], [VENDOR, [TYPE, SMARTTV]], [
/((nexus\s[45]))/i, // LG
/(lg)[e;\s-\/]+(\w+)*/i
], [[VENDOR, 'LG'], MODEL, [TYPE, MOBILE]], [
/android.+((ideatab[a-z0-9\-\s]+))/i // Lenovo
], [[VENDOR, 'Lenovo'], MODEL, [TYPE, TABLET]], [
/(lg) netcast\.tv/i // LG SmartTV
], [VENDOR, [TYPE, SMARTTV]], [
/(mobile|tablet);.+rv\:.+gecko\//i // Unidentifiable
], [TYPE, VENDOR, MODEL]
],

File diff suppressed because one or more lines are too long

View File

@ -674,7 +674,7 @@
"ua" : "AppleTV/3.0.2 (Macintosh; Intel Mac OS X 10.4.7) AppleWebKit/528.18",
"expect" :
{
"name" : "AppleWebKit",
"name" : "WebKit",
"version" : "528.18",
"major" : "528"
}
@ -784,7 +784,7 @@
"ua" : "FLRP/2.5 CFNetwork/609.1.4 Darwin/13.0.0",
"expect" :
{
"name" : "FLRP",
"name" : "Flip Player",
"version" : "2.5",
"major" : "2"
}

View File

@ -205,7 +205,7 @@
"expect" :
{
"vendor" : "Apple",
"model" : "iPhone",
"model" : "iPhone 4S",
"type" : "mobile"
}
},