Open danijel1124 opened 10 months ago
in init.py lines 136-141 song_name, hashes, file_hash = Dejavu._fingerprint_worker( file_path, self.limit, song_name=song_name ) sid = self.db.insert_song(song_name, file_hash) should be changed to song_name, hashes, file_hash = Dejavu._fingerprint_worker( (file_path, self.limit) ) sid = self.db.insert_song(song_name, file_hash, len(hashes))
hi, when I try to use fingerprint_file I get the following error: " _fingerprint_worker() got an unexpected keyword argument 'song_name' " I just pass one argument to the function. " djv.fingerprint_file(file_path)" From the library source code: