Commit graph

133 commits

Author SHA1 Message Date
Saleem Ansari
275380bada Update examples in README.md with updated CLI arguments 2014-11-29 00:17:23 +05:30
Saleem Ansari
4aabea7814 Refactor and update documentation for installation on Fedora 20+ 2014-11-28 22:56:22 +05:30
Saleem Ansari
2972dce6eb Arguments parser CLI, with all existing tests passed. 2014-11-28 05:21:04 +05:30
Saleem Ansari
406187bd1a Added MANIFEST.in file 2014-11-28 04:34:14 +05:30
Saleem Ansari
150248cbcd Update project name from dejavu to PyDejavu 2014-11-28 04:06:12 +05:30
Saleem Ansari
4d2b91b052 Added tuning section to README.md. Removed trailing space from fingerprint.py 2014-11-28 03:58:52 +05:30
Saleem Ansari
efe3a33915 Added setup.py 2014-11-28 03:26:25 +05:30
Will Drevo
b9efcd545d README.md edits 2014-11-21 01:29:27 -05:00
Will Drevo
3cc85edf30 Clarified documentation 2014-11-21 01:28:04 -05:00
Will Drevo
684902f6b8 Now returns match offset into track in seconds 2014-11-21 01:21:08 -05:00
worldveil
5741964391 Merge pull request #59 from chromy/patch-1
Fix README typo
2014-09-13 18:48:19 -04:00
Hector Dearman
9d16c8ae8c Fix README typo
cupus => corpus
2014-09-13 22:30:31 +01:00
Andrew Duberstein
09561c565d Update README.md
Corrected a typo
2014-09-11 17:40:03 -07:00
worldveil
40b7a42b09 Updated README.md about matching position in song 2014-07-27 12:50:34 -04:00
Will Drevo
a7f77d50ff Added more documentation in README about testing 2014-07-03 01:01:56 -04:00
Will Drevo
60d9d6758e Added annotations for different fingerprinting parameters 2014-07-03 00:43:40 -04:00
Will Drevo
a779ca4cf9 Merging in new test suite with modifications, mp3 example files to test on, and shell files for automation 2014-07-03 00:26:50 -04:00
Will Drevo
7cbb894501 revamped testing script 2014-07-02 23:49:38 -04:00
Will Drevo
b966225ad4 refactored testing suite file to no longer depend on file naming convention 2014-07-01 20:24:53 -04:00
Fabio Costa
4f4a50ba9f Update results_dejavu.py 2014-06-29 22:28:03 +01:00
Fabio Costa
f9a59e42e6 Update generate-test-files.py 2014-06-29 22:25:39 +01:00
Fabio Costa
87469a0fe7 Create results_dejavu.py 2014-06-28 19:51:14 +01:00
Fabio Costa
bfff19b887 Create generate-test-files.py 2014-06-28 19:50:36 +01:00
Fabio Costa
a97ab6d35c Update fingerprint.py 2014-06-26 09:13:30 +01:00
Fabio Costa
375189cf70 Update fingerprint.py 2014-06-25 10:01:43 +01:00
Fabio Costa
5805a676d2 Update fingerprint.py 2014-06-25 09:57:06 +01:00
Fabio Costa
35c536a372 Update fingerprint.py 2014-06-25 09:56:45 +01:00
worldveil
e1454bf1ea Incorporated MAX_HASH_TIME_DELTA optimization 2014-03-05 01:30:19 -05:00
worldveil
3c6b741db4 Merge branch 'patch-1' of https://github.com/suxianbaozi/dejavu 2014-03-05 01:29:18 -05:00
worldveil
c90d14fdd6 Fix to dejavu.py script, small edits, removal of unecessary printing 2014-03-05 01:28:34 -05:00
worldveil
2e6d030655 Merge branch 'master' of https://github.com/compwright/dejavu 2014-03-05 01:16:38 -05:00
suxianbaozi
f41d036d45 fix #39
Make the two point for hash with little delta of time
2014-03-04 16:44:35 +08:00
worldveil
1e3dbe8eaf Formatting 2014-02-23 11:30:24 -05:00
worldveil
fec889db78 Merge branch 'patch-1' of https://github.com/suxianbaozi/dejavu 2014-02-23 11:29:29 -05:00
Jonathon Hill
12ca65546d Added a dejavu.py script and added documentation 2014-02-22 18:56:07 -05:00
suxianbaozi
7cc178444e change the start of j val to 1
when j=0  ,i+j is alse equal to i,that will make so many same hashes from diffent songs
2014-02-21 15:29:46 +08:00
Bhuvanesh Kumar
ea748847ed fixed multiple issues to prevent refingerprinting songs in same dejavu instance
* fixed code to prevent refingerprinting song if it is already fingerprinted in fingerprint_file()
	* fixed code to prevent multiple fingerprinting of songs in same dejavu instance
2014-02-21 03:00:15 +05:30
Bhuvanesh Kumar
3fe99ac5c3 fixing fingerprinted column of songs table not getting updated to 1. 2014-02-21 01:13:42 +05:30
worldveil
eefcf0991c Corrected fingerprints table schema, fixes #26 2014-01-26 12:28:40 -05:00
Wessie
64a6161b90 Rewrote multiprocessing parts to only require one database connection
List of changes in detail:
- fingerprint_directory:
	Now uses mp.Pool.imap and updates database in callers
	process.
- fingerprint_file:
	Now uses _fingerprint_worker internally.
- _fingerprint_worker:
	Some slight changes to argument handling due to `imap`
	usage.

	Changed to return (song_name, hashes) where hashes is
	a set of hashes from all channels.
- path_to_songname:
	Changed to use `os.path.splitext`, this caused files with
	a period in their name to return the wrong name.
2014-01-20 20:53:25 +01:00
worldveil
cd7adc1485 Fixes #17 by adding configuration parameter for fingerprinting seconds, preserves this in FileRecognizer, and documents this in the README 2014-01-07 23:25:55 -05:00
worldveil
9eca3cc05a bugfixes and tweaks. also now returns offset of matched song 2013-12-25 02:56:43 -06:00
Wessie
7d14e0734a Switched fingerprint_directory to using multiprocessing.Pool
Fixed an issue of 'grouper' items being generators due to ifilter usage.
Temporary fix applied for the need of referencing SQLDatabase.FIELD_SONGNAME in __init__
Cleaned up some pep8 style issues
2013-12-23 14:59:08 +01:00
Wessie
e071804ea5 Fixed the issue of the default database not being imported.
Fixed a bug in the SQL database pertaining to the use of grouper.
Made SQLDatabase pickleable, for better multiprocessing support.
2013-12-21 12:01:05 +01:00
Wessie
f276efdf32 Cleaned up database.py
- Moved SQLDatabase to a SQL specific file
- Database class is now an abstract base class
- Cursor moved into SQL specific file
- Allowed for multi-database support in the future
2013-12-20 18:16:35 +01:00
Wessie
ec823f56e4 Updated go.py
Added clarification that the configuration is now an ordinary python
dictionary to the README.
2013-12-19 17:15:11 +01:00
Wessie
2f19fcaa51 Fixed some mistakes in my hasty edit 2013-12-19 01:39:36 +01:00
Wessie
94c4cc0d95 Updated README for the changes to the interface.
Changed default value from None to 10 for the MicrophoneRecognizer.recognize
2013-12-19 01:34:04 +01:00
Wessie
292ddf029d Reversed expected variables to the correct position. 2013-12-19 01:22:27 +01:00
Wessie
29029238fc A fairly big batch of changes, blame me to forget committing
Changes in no particular order:
- Replaced all use cases of wavfile/wave and extract_channels with the new decoder.read function
- Added a 'recognize' method to the Dejavu class. This is a shortcut for recognizing songs.
- Renamed 'do_fingerprint' into 'fingerprint_directory'
- Removed parameters not required anymore from fingerprint_directory
- Cleaned up fingerprint.py
- Made fingerprint.generate_hashes a generator
- WaveFileRecognizer is now FileRecognizer and can take any formats supported by pydub
- Fixed MicrophoneRecognizer to actually run, previous version had many small mistakes
- Renamed 'fingerprint_worker' to '_fingerprint_worker' to signify it is not to be used publicly
- Moved 'chunkify' outside the Dejavu class
- Cleaned up pep8 styling mistakes in all edited files.
2013-12-19 00:54:17 +01:00