Commit graph

126 commits

Author SHA1 Message Date
Pedro Guridi
f3bdc34994 adds a config option to limit the input seconds for fingerprinting. 2013-12-17 20:21:59 -03:00
Pedro Guridi
6a4d386736 fixes #3, now song_name column in database has the full path 2013-12-17 19:54:04 -03:00
Pedro Guridi
0b36781ccd fixes #4, now wav files storage is optional 2013-12-17 19:42:39 -03:00
Wessie
1c9eddc3a2 Merged with fingerprinter and recognizer cleanup 2013-12-17 23:19:45 +01:00
Vin
1fcff7e2c5 Fixed some import/class mistakes 2013-12-17 22:12:21 +00:00
Vin
614ad0d4cc Moved mic recording constants inside MicrophoneRecognizer 2013-12-17 22:05:09 +00:00
Vin
788b3acebf Added missing 'self' 2013-12-17 22:03:50 +00:00
Vin
d25c564d4f Finished the changes to the recognize module
- Recognizers now use a class structure
 - Generic code for matching is in BaseRecognizer
 - Two recognizers are available:
  - Wave file recognizer
  - Recording recognizer
2013-12-17 21:57:59 +00:00
Wessie
05adf3bc31 Changed default cursor type for mysql from DictCursor to Cursor. 2013-12-17 22:02:59 +01:00
Vin
371742a314 Began moving recognizer functionality into separate classes 2013-12-17 20:55:20 +00:00
Wessie
6f4cadafbb Added a foreign key relationship to the create table statements.
- MySQL will also use the InnoDB engine now.
- Added a ping call in the MySQL Cursor cache mechanism
- Added a rollback call when a MySQLError occurs
- Removed 'delete_orphans' which is not needed anymore due to foreign key constraints and delete on cascade
- Changed SQLDatabase to accept options to create a cursor factory, instead of taking a pre-created cursor factory
2013-12-17 21:55:05 +01:00
Vin
f02ab94192 Cleaned up Dejavu class calls (find_matches, align_matches) 2013-12-17 20:18:55 +00:00
Vin
25bf97e813 Changed a method to fit the new hash tuples 2013-12-17 16:37:06 +00:00
Vin
776995e454 Merge remote-tracking branch 'wessie/master' 2013-12-17 01:14:13 +00:00
Wessie
bed11f3de7 Switched back to MySQLdb for better support of executemany. 2013-12-17 02:00:05 +01:00
Vin
ab2cf9d58b Changed insert_hashes to fit the new data format 2013-12-17 01:57:18 +01:00
Vin
3bc507d8e4 Changed insert_hashes to fit the new data format 2013-12-17 00:48:49 +00:00
Vin
9faf2cd591 Merge remote-tracking branch 'wessie/master' 2013-12-17 00:46:17 +00:00
Wessie
0bd7219b87 Cleaned up the database driver.
- The SQLDatabase class now uses a context manager for mysql access.
- Most of the error handling is done by the context manager now
- Optimized several methods that returned a list into returning a generator
- Optimized return_matches to use an IN query instead.
- Other small fixes.
2013-12-17 01:39:03 +01:00
Vin
a4ed612658 Moved main Dejavu class from dejavu.control to dejavu 2013-12-16 23:38:58 +00:00
Vin
6a6ae94e3d Refactored the fingerprint module 2013-12-16 23:12:50 +00:00
Wessie
f918b6b7e0 Added matplotlib to the dependency list
Fixed small typo in dependencies
2013-12-16 17:41:33 +01:00
worldveil
9aa80ff87c added MIT license fixes #5, also fixes #6 2013-12-16 10:28:22 -06:00
worldveil
62cf1f6f89 updated plots and added link to blog description 2013-12-06 11:57:24 -05:00
worldveil
51680735db fixes #1 and fixes #2. also identifies issue with DELETE_ORPHANS sql command 2013-11-29 22:08:25 -05:00
worldveil
90a93bc47b moved to github 2013-11-18 21:51:27 -05:00