hulu-automuter 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,14 +24,16 @@ Benefits:
24
24
 
25
25
  gem install hulu-automuter
26
26
 
27
- If you get an error message saying that hulu-automuter is missing, then you
28
- probably have a `PATH` issue. Try one of these workarounds:
27
+ Confirm that the installation succeeded by typing `hulu-automuter -h`. If you
28
+ get an error message saying that hulu-automuter is missing, then you probably
29
+ have a `PATH` issue. Try one of these workarounds:
29
30
 
30
31
  * Put the directory where Rubygems installs executables on your `PATH`
31
32
  * Try installing with `sudo gem install hulu-automuter`
32
33
 
33
34
  To upgrade Hulu Automuter to a newer version, just repeat the installation procedure.
34
35
 
36
+
35
37
  ## Usage
36
38
 
37
39
  hulu-automuter [ -p port ]
@@ -56,6 +58,27 @@ browser.
56
58
  Press `CTRL-c` to stop hulu-automuter.
57
59
 
58
60
 
61
+ ## Tips
62
+
63
+ If you don't want to keep changing your web browser proxy settings manually
64
+ when you want to use Hulu Automuter and then return to normal web
65
+ browsing, try one of these tips:
66
+
67
+ * See if your browser or your OS has a "Create Location" feature that lets you
68
+ save your HTTP proxy configurations as "Locations" that you can choose from a drop-down.
69
+ * Use one web browser program for general web browsing, and another web browser
70
+ for HTTP proxying. Hulu Automuter is not the only proxy program you may want
71
+ to use. [Polipo][polipo], [Tor][tor], and [Privoxy][privoxy] are others.
72
+
73
+ [tor]: https://www.torproject.org/
74
+ [polipo]: http://www.pps.jussieu.fr/~jch/software/polipo/
75
+ [privoxy]: http://www.privoxy.org/
76
+
77
+ There are also sure to be scripts out there that let you change your HTTP proxy
78
+ settings from the command line. If you know of one, feel free to add it to the
79
+ [wiki](https://github.com/danchoi/hulu_automuter/wiki).
80
+
81
+
59
82
  ## Bug reports and feature requests
60
83
 
61
84
  Please submit these at either of these places:
@@ -88,6 +88,7 @@ hc = case RUBY_PLATFORM
88
88
 
89
89
  proxyproc = Proc.new{|req,res|
90
90
  r = req.path
91
+ next unless req.host =~ /hulu\.com/
91
92
  if r =~ /adload/
92
93
  $stdout.puts ["ad loaded", hc.mute].join(', ')
93
94
  `#{hc.mute}`
@@ -1,3 +1,3 @@
1
1
  module HuluAutomuter
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: hulu-automuter
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi