2015-08-16, 10:54
The addon that I use can be found on this thread: http://forum.kodi.tv/showthread.php?tid=222196. I can set the VPN switch to be activated when different addons are opened. For example if I open nbcsn I need to activate a USA VPN to watch the content - in the settings for the VPN switch i type NBC in the folder path section. When anything with NBC in its folder path is opened the batch file is ran to connect the USA VPN. There is a disconnect VPN option that disconnects the VPN - again this requires a folder path to run the disconnect VPN batch file. The main screen does not have a folder path that the switch can use to run the disconnect VPN batch file so if I exit an addon that was opened from the widgets on this screen the VPN does not disconnect when exiting back to the main screen. If I open an addon from within the video addons section and exit back to this list of addons the folder path activates the disconnect VPN batch file.
I hope this makes sense??
I hope this makes sense??