uadetector
uadetector copied to clipboard
Support for chromecast user agents
Hi,
Currently uadetector cannot identify chromecast user agents correctly. According to https://code.google.com/p/google-cast-sdk/issues/detail?id=157 a chromecast device can be identified using the presence of CrKey in it. Please add support for chromecast in uadetector.
Example:
scala> val ua = parser.parse("Mozilla/5.0 (CrKey armv7l 1.4.15250) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.0 Safari/537.36")
ua: net.sf.uadetector.ReadableUserAgent = UserAgent [deviceCategory=DeviceCategory
[category=PERSONAL_COMPUTER, icon=desktop.png, infoUrl=/list-of-ua/device-detail?device=Personal computer,
name=Personal computer], family=CHROME, icon=chrome.png, name=Chrome,
operatingSystem=OperatingSystem [family=UNKNOWN, familyName=unknown, icon=unknown.png,
name=unknown, producer=, producerUrl=, url=, versionNumber=VersionNumber [groups=[, , ],
extension=]], producer=Google Inc., producerUrl=http://www.google.com/, type=BROWSER,
typeName=Browser, url=http://www.google.com/chrome,
versionNumber=VersionNumber [groups=[31, 0, 1650, 0], extension=]]
And thanks for the wonderful library.
Thank you for reporting. At the moment our database does not support Cromecast. I will hand-over to @mallat with the request to add this.
@mallat what do you think?
(Friendly ping) any update on chromecast support?
@amalakar since the UAS data are now maintained by http://udger.com you should look into their database and request some support. Alternatively you could provide a Pull Request which improves our free database.