I wanted my home-assistant to know when I am watching Netflix on my windows 10 PC and since there is no API for Netflix the only way I found to do this is to check my browser and if the active tab is netflix.com send a mqtt message to hass.
I was able to do this with a python script. If somebody is in the same need here is the script: