Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/mediainfo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def self.from_uri(input)
http.use_ssl = true if input.is_a? URI::HTTPS # For https support
http_request = http.request(request)
raise RemoteUrlError, "HTTP call to #{input} is not working : #{http_request.value}" unless http_request.is_a?(Net::HTTPOK)
MediaInfo::Tracks.new(MediaInfo.run(URI.escape(input.to_s)))
MediaInfo::Tracks.new(MediaInfo.run(input.to_s))
end
end

Expand Down
3 changes: 2 additions & 1 deletion mediainfo.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ Gem::Specification.new do |s|
f.match(%r{^(test|spec|features)/})
end

# Since Ruby 1.8, REXML is included in the standard Ruby distribution.
s.add_dependency 'rexml'

s.add_development_dependency 'bundler', '~> 2'
s.add_development_dependency 'rake', '~> 12.3'
s.add_development_dependency 'rspec', '~> 3.0'
Expand Down