petems/mplayer-ruby — pull request #4 by dfyx (2014-06-29 20:26:50+00:00)
Title: Fix HTTP leading to "Invalid File" error

The =~ operator returns an integer that tells you where in the input the pattern was found. You should NOT convert this into an integer because an index of 0 would become false.