mipstian / catch

Catch: Broadcatching made easy.
https://kaylees.site/catch.html
MIT License
428 stars 41 forks source link

Don't check unless on specified network #37

Closed boutcher closed 8 years ago

boutcher commented 10 years ago

Some people may not want to have Catch checking for new shows unless they're on an active VPN connection, or maybe at home and not at work, etc. So this request is for some option like:

[ x ] Only check when connected to the following network(s): [ 0.0.0.0/0 ]

Then, if my ISP owns a class C network 100.150.200.0, I would check the box and enter "100.150.200.*" or CIDR "100.150.200.0/24"... Whatever is easiest you think for the population to configure.

Before every fetch of the RSS feed, hit some web service somewhere like whatsmyip.com or something, and ensure you're on a specified network. If you are, you continue as normal.

If NOT, don't poll for new files, and maybe change the icon to one with a pause symbol or something on it....

boutcher commented 10 years ago

http://stackoverflow.com/a/3097641/928963

mipstian commented 10 years ago

I think this is overkill, and I'm not inclined to rely on another web service. Also, I never heard anyone asking for this (and the home/work scenario is handled by the time restriction feature). Why do you need this?

boutcher commented 10 years ago

Hypothetically ..... I use privateinternetaccess.com - and I want to ensure catch is only firing up downloads while I'm on their private VPN. If that VPN connection goes away, or I don't start it up on reboot by accident, I don't want Catch triggering downloads over my normal ISP connection.

That would be a reason why I might hypothetically need a feature like this.

mipstian commented 10 years ago

Wait, so there are a total of 0 users who want this? :)

boutcher commented 10 years ago

:-)

mipstian commented 10 years ago

Anyways, I think this is too complex to be effective.

Do you know about "Network Locations" in OS X? I think it's possible to set up VPN for one specific Network Location, and maybe then (and only if we detect multiple locations) we can add a menu to Catch saying "only check when on network location: [...]". This would be considerably easier to understand and zero-impact for the vast majority of user who don't care about this feature at all :)

Asgardsurfer commented 9 years ago

If people use Vuze, they can set it to bind to tun0 let's say. If Vuze is not bound to tun0 and Catch sends the file over, Vuze will not start until your VPN is active and bound to tun0. That is just an example... For those of you that use Transmission on OS X , you can use this fine app: https://github.com/joshbernfeld/Transmission-Interface-Binder

mipstian commented 9 years ago

Yup come to think of it, the problem is downloading more than checking, right?

Asgardsurfer commented 9 years ago

Yes, in my opinion no need to complicate things...let's not turn Catch into bloatware.

mipstian commented 9 years ago

Agreed, maybe we can make a secret defaults write preference but nothing in the UI. How would we check if we're on the vpn in code?

mipstian commented 8 years ago

You know what, I think this isn't worth it. Sorry @boutcher, thanks for the suggestion anyway!