Permalink
Browse files

Merge pull request #5 from runa/patch-1

moviebytesize should be a string if bigger that a 32bit signed integer.
  • Loading branch information...
2 parents 631d2f2 + 7f1eb1a commit b27577b3ce390795ff003298dd0d2575606e43ac @byroot committed Aug 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/getsub
View
@@ -133,7 +133,7 @@ end
movies.each do |movie|
begin
puts "* search subs for: #{movie.path}"
- subs = server.search_subtitles(:moviehash => movie.hash, :moviebytesize => movie.size, :sublanguageid => @options[:language])
+ subs = server.search_subtitles(:moviehash => movie.hash, :moviebytesize => movie.size.to_s, :sublanguageid => @options[:language])
if subs.any?
select_and_download!(subs, movie)
else

0 comments on commit b27577b

Please sign in to comment.