selwin / python-user-agents

A Python library that provides an easy way to identify devices like mobile phones, tablets and their capabilities by parsing (browser) user agent strings.
MIT License
1.44k stars 197 forks source link

Add support for Tizen/Smart-Tv #64

Open adamlwgriffiths opened 8 years ago

adamlwgriffiths commented 8 years ago

Samsung smart-tv is detected as 'Other'.

>>> parse( 'Mozilla/5.0 (SMART-TV; Linux; Tizen 2.3) AppleWebkit/538.1 (KHTML, like Gecko) SamsungBrowser/1.0 TV Safari/538.1' ).device
Device(family='Other', brand=None, model=None)

They've provided docs for their smart-tv range. http://developer.samsung.com/technical-doc/view.do?v=T000000203

adamlwgriffiths commented 8 years ago

It seems many specific cases aren't detected (I totally appreciate User Agent strings are a nightmare), such as Steam Overlay, so feel free to close this if you're not interested in niche devices.