Live video streaming analytics

Hello there !

The last few days I’ve trying to find a way to create an addon that silently monitores the user’s video activity while watching Live TV from streams that I provide (without a tv tuner, just links). Is there a way to record how long a user watches that stream, when he changes to another stream (with a possible screenshot of the moment he changed url) and to what link he went ?

I am asking all these, although may sounding noobish questions, because I still try to figure out how Kodi and it’s python modules work…