Videos add-ons automated VPN launch

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Kamarad Offline
Junior Member
Posts: 2
Joined: Sep 2012
Reputation: 0
Post: #1
Hi there:

As a big fan and usee of XBMC, there is one feature that would be very useful in future version: the ability to get any video addon to automatically connect on a specific VPN before being launch.
Like many of us living outside US (Canada for me), it's nice to watch Hulu or Netflix U.S. (which is much richer than the canadian Netflix), etc. As I speak french, I also often connect on addons proposing European video streams. Finally, I also want my regular Canadian TV addons on internet ( i.e Toutv, etc.). So, for each location - excepted Canada for me - I need a different VPN/IP address connection. This works fine in XBMC, but I need to get back to Windows to launch a different VPN connection and then get back to XBMC to launch the proper add-on, with is long, often needs me to use a keyboard, etc. and totally pisses off my wife. So, the feature needed here would be simply (?) to add in the configuration menu of each video add-ons the ability to include a command line - or something else - which would :

- Disconnect a previous existing VPN, if one is already running,
- Launch a specific pre-configured VPN that the user would have previously and once and for all set under Windows (or another OS)
- wait for the vpn to be correctly up and running,
- Launch the add-on.

Do you think this is feasible?

Thanks for your answer!
find quote
eoghan Offline
Junior Member
Posts: 27
Joined: Apr 2012
Reputation: 0
Post: #2
i would like something like this too.

Zotac Zbox id41 Intel Atom d525 nm10 1.8ghz win7
find quote
Bstrdsmkr Offline
Fan
Posts: 651
Joined: Oct 2010
Reputation: 12
Post: #3
Write a batch script to disconnect the current vpn and connect to the correct one. Create one of these for each VPN. Use a launcher addon like Advanced Launcher to call the batch script from within xbmc, then launch your addon.

For bonus points, you can launch the addon from within the batch file using xbmc's JSON-RPC
find quote
Kamarad Offline
Junior Member
Posts: 2
Joined: Sep 2012
Reputation: 0
Post: #4
(2012-09-01 23:35)Bstrdsmkr Wrote:  Write a batch script to disconnect the current vpn and connect to the correct one. Create one of these for each VPN. Use a launcher addon like Advanced Launcher to call the batch script from within xbmc, then launch your addon.

For bonus points, you can launch the addon from within the batch file using xbmc's JSON-RPC

Thank you for the advice - I already used Advanced Launcher to connect/disconnect my different VPNs, but I am afraid that JSON-RPC is way too complex for my programming knowledge. Beside, I would not want to create a new batch each time I need to install a new addon...
find quote
eoghan Offline
Junior Member
Posts: 27
Joined: Apr 2012
Reputation: 0
Post: #5
Im surprised no one has created something like this using only free vpn's (that i know of) . Does any1 know a good free vpn for uk, Expat shield cant be installed on the same computer as hotspot.I sent them a message to ask why they dont merge them and they said they are working on doing this. I would try something like u suggested bstrdmker but its out of my league.

Zotac Zbox id41 Intel Atom d525 nm10 1.8ghz win7
(This post was last modified: 2012-09-02 02:59 by eoghan.)
find quote