Posts by zomboided

    ace310, go and pick up 4.1.5 from github

    Release 4.1.5 · Zomboided/service.vpn.manager · GitHub
    Install that directly over what you have and switch on debug (settings/debug)

    You'll need to set up VPN cycling if you've not done that already. This can be done in settings/utilities and you can assign a remote button or key to swap between VPNs.

    Set up a couple of different VPNs so that you have something to cycle against. Each time you cycle it'll cause the disconnect/reconnect to happen as if your connection was glitching.

    Play some local media or PVR or whatever the selection of media is that you consider to be local and cycle the connections.

    In the log, you'll see this line, this example is a steam from an addon :

    13:02:21.376 T:8872 NONE: VPN Mgr Debug: Changing VPN. Current playing http//http://sniidevices.scrippsnetworks.com/0232/0232648_6.mp4[/media]

    You can search on the term in bold. I've had to remove a : after http: to stop the forum trying to format it as media, you may need to do this too, but please let me know what you've changed.

    For each of the different kinds of local media you use, get me this line and a comment on what it is (e.g. local stored file, file stored on an SMB share, PVR stream on local network, etc).

    Then play some media that's not local and post up that.

    This won't fix your problem but it might help me understand what the different sorts of local media are and if I can filter them out somehow.

    It's not unusual - it's the reason I added support to the TV Guide Fullscreen addon. In that addon I added some code to github which was merged that allowed you to switch VPNs on and off with channels, based on the addon that was backing them. The BBC iPlayer problem was the very reason I did this. If a channel is using an addon which has an addon filter, it'll switch the VPN before changing channel (adds a delay, but nothing I can do about that). If it's already on the right VPN, then it'll just switch the channel. This is the right answer to your problem (and is one that I use).

    The option you mention is just about checking to see whether the VPN is connected. Originally I had only done this outside of playback as I was worried about the CPU overhead. I'm not bothered about this any more as it's minimal. This is working fine, it's not supposed to affect the line you're pointing at.

    I get the concept of 'wait for no video playing before reconnect', but I'd worry that it would lead to things streaming over the wrong, or worse, no VPN connection when you were expecting it to. Given that there's no kill switch built in, this is the next best thing.

    I need to think more about that line you've pointed out. Other people have whined at me about playback stopping for local media if the VPN is jittery and I've dismissed them with a 'get a better VPN', but I've now realised this line is the cause of those issues.

    So you're watching live tv with a vpn enabled, and when the vpn drops you don't want it to reconnect? Surely just disable the vpn for live tv? You can use window filtering for that, or I added integrated support to the TV Guide Fullscreen addon if you're using that.

    I'll check out that line of code too. It's there to stop media from playing when the vpn has died. Maybe that is something that's optional, but if it is, it suggests that you don't care whether you use vpn for that source and should just filter it off anyway

    This doesn't show me anything to do with the downloading of files. This looks like you're trying to list the connections.

    Go to setting/utilities and clear out the vpn provider files and the downloaded data. Then reboot with debug switched on. Then try and validate a connection. You should post the complete log, not an extract

    If you're using a funky skin, it might be worth switching to the standard one too for this.

    EDIT : I just tried this on my dev build....NordVPN downloads it's trillions of files just fine, then when I cancel the connection attempt and go back in, it realises that it's already downloaded them and doesn't try again.

    For most providers it generates ovpn files from tagged templates and only downloads ~5 small files. Nord is the exception as they want to expose all servers and let the user load balance if they're doing it all manually. So for the most part, user replaceable files beyond what you can already do would not work well. Also, if everything works the files will only download once and then the addon will warn you when an update is ready and only download the refreshed files when you want it to.

    User Defined is the answer for what you think you want to do. Use the import wizard, it should just work. Messing with files can cause things to break as the addon manages them all. I could have an option to rename user defined but that's something for very little gain as I can't think where it's surfaced outside of the config screens. I'd rather understand why it's not working for you though (if that's still the case after clearing out the directory). I'm pretty sure others are using Nord and anyone running a recent build is downloading files.

    If you want to donate beer, give that money to your favourite charity. They need it more than me but the sentiment is appreciated.

    You can use user defined if you want to manage the files yourself. Instructions are on the wiki and there's an import wizard to help you.

    If it's hanging, try clearing out what's already downloaded (settings/utilities has this option) Nothing I can do without seeing a log tho. You can switch on debug and grab the kodi log file whenever you want, I don't need the openvpn log

    It's all on the wiki, but you'll not avoid storing passwords as plain text though (they're passed to openvpn during connection so need to be stored in this way). The alternative to avoid that is to use openvpn directly on the command line and enter the password when prompted. The addon won't work with this approach though.

    You'd need to put this in the openvpn file, it's not something selectable via the GUI. The ovpn files are based on what the provider supplies, and this is a common warning across many them. I'd not worry about it (the password needs to be stored as plain text on the box anyway). If you are worried about it then you need to look at using the user defined option and add your own/modified ovpn files.

    Hello, I'm using 8.1.1 on a RPi2, with HDMI audio to a Sony TV, passthru via SPDIF to a Yamaha amp.

    Everything works as expected during playback, but when I play a file with a DTS track, the amp will switch, but then will remain on DTS when I press stop, and no GUI sounds will play.

    If I then go and play something old (with a 2.0 soundtrack), then no noise will be heard (I have to manually cycle the amp to find the right audio stream)

    But then if I play one of my kid's favourite shows, the amp seems to realise that it needs to switch back to Pro Logic and everything is good (and the GUI sounds return).

    The first log shows this, going from Bugs Life to Black Belt Jones to Peppa Pig.

    If I switch the Audio options so that stereo upmix is enabled, and I enable AC3 transcoding, then playing a DTS file and stopping it will mean that no GUI sounds will play, but then going to something old will cause the amp to switch to DD. The second log shows this, although the something old was One Foot In The Grave.

    I also tried to switch between optimized and best match for the output configuration and that appeared to make no difference to the problem.

    Finally, if I play a DD file, then stopping that will cause the amp to switch back to Pro Logic and the GUI sounds will work fine.

    So, is there an option I'm missing related to the amp getting a signal to switch back to Pro Logic after DTS playback stops? It seems like Kodi is reluctant to switch away from DTS.

    Or is there a handy command/function I can throw into a monitor class so that when I detect playback has stopped I can force the amp into Pro Logic mode?

    This is from the ipredator.se ovpn that was causing your problem:

    ca /path/to/openvpn/config/keys/IPredator.se.ca.crt

    tls-auth /path/to/openvpn/config/keys/IPredator.se.ta.key

    If you'd used one of the ovpn files that used inline certs and keys you'd have not seen the problem.

    I don't have an AirVPN account anymore. Can you provide me with the latest ovpn files?

    They supplied you with ovpn files that contained a path they intended you to change to make your own. I like that you've created that example path to fix the problem tho :)

    You can could have deleted the path entirely and the import function will fix it for you. I guess that's less practical for 10s of ovpn files

    I think you'd be able to use the up/down scripts to set it. See the wiki for how to use those. I don't know what the specific set of commands are that you'd need, and I'm not sure if you'd need to add something more to the ovpn. I did do some googling but there seemed to be some confusing info that would need to be worked through. Post up what you find, this is an interesting problem

    There's a ping option in either settings/monitor or debug to keep the connection alive, or reset it if the ping doesn't work. Is that switched on? You'll need to reset the VPN provider files after changing it.

    I'm guessing openvpn doesn't notice something has changed. You could kill that task when the computer wakes up, providing you can find somewhere to hook into. If the task isn't there, the addon will restart it.

    Otherwise get a kodi and openvpn log with debug switched on.