Look at the video and you see what the program does.
Maybe you only need part 2, if you want more the function after you started Netflix without starting Netflix first.
You should first install the other parts in my former posts
The code is for testing purposes only and is not really well. It somehow evolved …