lib/webradio.rb in rget-4.0.0 vs lib/webradio.rb in rget-4.0.1
- old
+ new
@@ -170,11 +170,11 @@
path = @options.path.sub(%r|^dropbox://|, '')
File.join(path, file)
end
end
-def WebRadio(url, options)
- radio = WebRadio.instance(url, options)
+def WebRadio(params, options)
+ radio = WebRadio.instance(params, options)
yield radio if block_given?
radio
end