This update provides detecting TVs with the DevicesDetection plugin based on the UserAgent.
Testet with several devices (see picture attached):
This is the 2nd try ...
looks like a very good change to add TV detection!
To prepare better I made some improvements in the test fixtures format: https://github.com/piwik/piwik/blob/master/tests/PHPUnit/Fixtures/userAgentParserEnhancedFixtures.yml with the new "device" category.
and also optimization in https://github.com/piwik/piwik/commit/49e77d925298edf87c8f019a47eb6bf597be3c0f
and some message to help with easily updating the list of expected fixtures (so it's easier to edit the list of fixtures)
In fact i'm thinking we should split the test fixture file in separate files per device type or so...
Would you mind updating the PR to latest master? and see if Travis is green (it is now)
Looking forward to include it in Piwik :+1: