Closed SubJunk closed 5 years ago
Thanks for the feedback, I've corrected that now.
I am also interested in the ability to pass the info like hash and bytesize, because the machine I want to use to access the OpenSubtitles API isn't the same one that has the video files. Would you be open to me contributing that change?
I don't see why not, though it should not break the current version, so it should be something like:
identify(string) => identify({path: string})
And the optional identify({moviehash: string, moviebytesize: int})
is the only way to bypass "path"
If
!query
is true, then!query.path
is also true, so this is really checking for the existence ofquery