Posts: 38
Joined: Mar 2015
Reputation:
0
Alth79
Junior Member
Posts: 38
Sounds promising!
I have three batch files at the moment - UK, US and Australian. For example - If the UK batch file is ran it closes any VPN connections that are active and then attempts to connect the UK VPN. I also have a disconnect batch file to simply close any VPN connections.
Posts: 220
Joined: Aug 2009
Reputation:
8
ok, so does it need to disconnect the vpn connection when you leave a certain addon?
the service addon as it is connects when entering a specific addon and disconnects when leaving the addon. is this necessary?
need to know whether i need an additional setting for a "disconnect batch file".
Posts: 38
Joined: Mar 2015
Reputation:
0
Alth79
Junior Member
Posts: 38
No need for the addon to disconnect with how my batch files are set up - when my batch file is ran it closes any VPN connections that are active before another vpn is connected. Is this how your addon works? If your addon closes a vpn connection when exiting an addon that is also good for me - I can create new batch files to fit with how your addon works. I am happy to make my set up fit however your addon requires.
Cheers again!
Posts: 38
Joined: Mar 2015
Reputation:
0
Alth79
Junior Member
Posts: 38
Hi marv_el, are there any changes that I could make to the addon to make it work with advanced launcher rather than the openvpn addon? I have created new batch files so have vpn batch files that would fit with how your addon currently works.
Thanks for your time
Posts: 220
Joined: Aug 2009
Reputation:
8
just came home from work. i will make the changes a lil bit later. cu
Posts: 179
Joined: Dec 2013
Reputation:
2
marv_el many thanks for sharing your work, I'm hoping to have a play with it later if you don't mind me asking did you write this for Kodi or Xbmc ?
Posts: 38
Joined: Mar 2015
Reputation:
0
Alth79
Junior Member
Posts: 38
Brilliant, thanks for sharing. I will give it a try and let you know how it goes. Do I need to locate the batch files in any particular place? Do I use the batch file name or VPN name in the addon? Sorry if these are daft questions!
Cheers
Posts: 220
Joined: Aug 2009
Reputation:
8
yes, you have to select the batch files in the settings from the service addon. enter the name of the addon and select the batch file, which should be executed.
in case you see a pop up window i can try to suppress it by using another command. i am not familiar with this so i have to try out.
but tell me first if it works.
Posts: 220
Joined: Aug 2009
Reputation:
8
true, it uses lower case names. fits my needs, but i easily can change it back. didn't think about that, since it wasn't meant to be released. but thanks for the hint.
i am thinking about your idea to upload it on github.
glad to hear that it works for you!
Posts: 38
Joined: Mar 2015
Reputation:
0
Alth79
Junior Member
Posts: 38
marv_el what can I say - your addon is absolutely fantastic! Works a treat! Thank you very much for sharing! Gives my htpc a true feeling of being a corporate/professional/paid for/true cable cutting build as I can now nip in and out of any addon from any country without the need to manually toggle a vpn connection - exactly what I was hoping for when I opened this thread! Needless to say the WAF has also gone through the roof!!
Like invisable has said, this really could become a very popular addon, as long as people know how to create the batch files. If you were to release this - the version that you mentioned in an earlier post that also disconnects the vpn when exiting the addon would also be helpful.
Thanks again!!
Posts: 220
Joined: Aug 2009
Reputation:
8
thanks for the positive feedback. your input is very helpful.
when i find the time i will improve the addon as suggested and upload it on github.
Posts: 38
Joined: Mar 2015
Reputation:
0
Alth79
Junior Member
Posts: 38
Hi marv_el, still loving your addon! Was wondering if the kodi library could be linked to a vpn like the other addons are? In my library I have a mixture of local movies and TV shows and also streams from addons which when played are opened from the addon. If I could link my library to a USA vpn that would be ideal.
No worries if not, just putting ideas out there.
Cheers