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 /(coremedia) v((\d+)[\w\._]+)/i
], [NAME, VERSION, MAJOR], [ ], [NAME, VERSION, MAJOR], [
/(aqualung|lyssna|bsplayer)\/([\w\.-]+)/i // Aqualung/Lyssna/BSPlayer /(aqualung|lyssna|bsplayer)\/((\d+)?[\w\.-]+)/i // Aqualung/Lyssna/BSPlayer
], [NAME, VERSION], [ ], [NAME, VERSION], [
/(ares|ossproxy)\s((\d+)[\w\.-]+)/i // Ares/OSSProxy /(ares|ossproxy)\s((\d+)[\w\.-]+)/i // Ares/OSSProxy
@ -306,7 +306,7 @@
/(nexplayer)\s((\d+)[\w\.-]+)/i // Nexplayer /(nexplayer)\s((\d+)[\w\.-]+)/i // Nexplayer
], [NAME, VERSION, MAJOR], [ ], [NAME, VERSION, MAJOR], [
/(flrp)\/((\d+)[\w\.-]+)/i // Flip Player /(flrp)\/((\d+)[\w\.-]+)/i // Flip Player
], [[NAME, 'Flip Player'], VERSION, MAJOR], [ ], [[NAME, 'Flip Player'], VERSION, MAJOR], [
/(fstream|nativehost|queryseekspider|ia-archiver|facebookexternalhit)/i /(fstream|nativehost|queryseekspider|ia-archiver|facebookexternalhit)/i
@ -330,8 +330,7 @@
// MPlayer SVN // MPlayer SVN
], [NAME, VERSION], [ ], [NAME, VERSION], [
/(mplayer)(?:\s|\/)((\d+)[\w\.-]+)/i, // MPlayer /(mplayer)(?:\s|\/|[unkow-]+)((\d+)[\w\.-]+)/i, // MPlayer
/(mplayer) unknown-((\d+)[\w\.\-]+)/i // MPlayer UNKNOWN
], [NAME, VERSION, MAJOR], [ ], [NAME, VERSION, MAJOR], [
/(mplayer)/i, // MPlayer (no other info) /(mplayer)/i, // MPlayer (no other info)
@ -493,17 +492,16 @@
/android\s3\.[\s\w-;]{10}((a\d{3}))/i // Acer /android\s3\.[\s\w-;]{10}((a\d{3}))/i // Acer
], [[VENDOR, 'Acer'], MODEL, [TYPE, TABLET]], [ ], [[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]], [ ], [[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 /(lg)[e;\s-\/]+(\w+)*/i
], [[VENDOR, 'LG'], MODEL, [TYPE, MOBILE]], [ ], [[VENDOR, 'LG'], MODEL, [TYPE, MOBILE]], [
/android.+((ideatab[a-z0-9\-\s]+))/i // Lenovo /android.+((ideatab[a-z0-9\-\s]+))/i // Lenovo
], [[VENDOR, 'Lenovo'], MODEL, [TYPE, TABLET]], [ ], [[VENDOR, 'Lenovo'], MODEL, [TYPE, TABLET]], [
/(lg) netcast\.tv/i // LG SmartTV
], [VENDOR, [TYPE, SMARTTV]], [
/(mobile|tablet);.+rv\:.+gecko\//i // Unidentifiable /(mobile|tablet);.+rv\:.+gecko\//i // Unidentifiable
], [TYPE, VENDOR, MODEL] ], [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", "ua" : "AppleTV/3.0.2 (Macintosh; Intel Mac OS X 10.4.7) AppleWebKit/528.18",
"expect" : "expect" :
{ {
"name" : "AppleWebKit", "name" : "WebKit",
"version" : "528.18", "version" : "528.18",
"major" : "528" "major" : "528"
} }
@ -784,7 +784,7 @@
"ua" : "FLRP/2.5 CFNetwork/609.1.4 Darwin/13.0.0", "ua" : "FLRP/2.5 CFNetwork/609.1.4 Darwin/13.0.0",
"expect" : "expect" :
{ {
"name" : "FLRP", "name" : "Flip Player",
"version" : "2.5", "version" : "2.5",
"major" : "2" "major" : "2"
} }

View File

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