Skip to content

Commit

Permalink
Merge pull request #5 from runa/patch-1
Browse files Browse the repository at this point in the history
moviebytesize should be a string if bigger that a 32bit signed integer.
  • Loading branch information
byroot committed Aug 12, 2012
2 parents 631d2f2 + 7f1eb1a commit b27577b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/getsub
Expand Up @@ -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
Expand Down

0 comments on commit b27577b

Please sign in to comment.