pass "Options" object on to fpCalc

This allows specifying the "command" property in the options
Didn't the original code assume options might not be passed?

Your point makes sense - but it should probably be documented somewhere.

On 9/9/2014 3:57 PM, Parsha Pourkhomami wrote:
>
> In index.js:
>
> > @@ -5,13 +5,17 @@ var fpcalc = require("fpcalc");
> >
> >  module.exports = function(file, options, callback) {
> >  	// Get fingerprint of file
> > -	fpcalc(file, function(err, result) {
> > +	if (! callback) {
> > +		callback = options;
> > +		options = {};
> > +	}
>
> I don't think we need to support this case because |options.key| is 
> always required, right?
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/parshap/node-acoustid/pull/2/files#r17331038>.
>