Commit graph

89 commits

Author SHA1 Message Date
mrepetto
ad73b09881 - Added support for Postgresql 2019-09-20 16:04:57 -03:00
mrepetto
22a1a46259 named more indexes 2019-09-19 19:48:23 -03:00
mrepetto
728f85f4db fixed identation 2019-09-19 17:49:28 -03:00
mrepetto
213069a05d added missing quotation marks 2019-09-19 17:39:33 -03:00
mrepetto
ade00317f9 Added date track columns for songs and fingerprints and set named constraint for those tables. 2019-09-19 13:12:07 -03:00
mrepetto
78dfef04d3 migrated code to python 3.6.6 and refactored some code to improve it. 2019-09-18 12:39:59 -03:00
Will Drevo
d2b8761eb3
Merge pull request #185 from JPery/MultipleInstancesFix
Fixed bug where multiple instances of dejavu where not working
2019-05-27 00:22:24 -07:00
Will Drevo
999c66a24e
Merge pull request #135 from anuragkumarak95/master
Update fingerprint.py
2019-05-27 00:21:16 -07:00
Will Drevo
e0f2577718
Merge pull request #97 from markstrefford/master
Updated link to Scipy ndimage iterate_structure page
2019-05-27 00:17:18 -07:00
Will Drevo
6fe89c577e
Merge pull request #193 from WillPastor/bitwise-fix
Replace deprecated boolean subtraction operator
2019-05-27 00:13:33 -07:00
William P
02345911ca Replace deprecated boolean subtraction operator
Fixes #109 by changing deprecated boolean subtraction operator ( minus sign, '-' ) to '^'.
2019-04-23 11:52:00 -04:00
J. Pery
b72921e2f7 Fixed bug where multiple instances of dejavu where not working 2019-02-06 10:53:07 +01:00
Tyrone-Zhao
df14366a94 make the '--recognize mic 10' function avalible 2018-09-22 19:41:01 +08:00
Tyrone-Zhao
bfe0003551 change to print song_name and file_sha1 with 'utf8' encoding correctly 2018-09-22 15:32:11 +08:00
Tyrone-Zhao
b52b8ef7bd change all cursor's encoding to 'utf8' 2018-09-22 14:24:32 +08:00
Tyrone-Zhao
c124d53aff change cursor's encoding to 'utf8' 2018-09-22 14:12:11 +08:00
Anurag Kumar
1204f77bd1
Updated fingerprint.py
Reduced the amount of iterations that will execute in the edited lines, using filter with python3 will reduce iteration a lot as it defines  a generator rather than a list.
2017-12-06 10:02:33 +05:30
Anurag Kumar
7268ce0a78
[comments-only] Update fingerprint.py
type at line #97.
FINGERPRINT_REDUCTION is actually being used to slice generated hash from 0th to FINGERPRINT_REDUCTION(th) position, updated the comment accordingly
2017-12-05 10:08:23 +05:30
Mark Strefford
541b3b4e5d Updated link to Scipy ndimage iterate_structure page 2016-04-18 05:57:34 +01:00
Will Drevo
254a79cdf5 Completed integration for SHA1 file hashing to avoid duplicates 2015-04-19 15:12:16 -04:00
Tyler Jones
27ed19b0f0 Files are now uniquely identified through a SHA1 hash, as opposed to
using the song name.
2015-03-28 18:36:51 -07:00
sg3510
2feecce34b updated docstring 2015-02-26 16:10:09 +00:00
sg3510
3a9e3a4da7 adding limit support 2015-02-26 14:33:41 +00:00
sg3510
2c961cc43f waive add 2015-02-26 14:24:44 +00:00
sg3510
8b200c39f7 adding wavio support 2015-02-26 14:20:52 +00:00
Will Drevo
dad98961f4 Offset cast to int, return is valid JSON. Fixes #67 2015-01-14 20:32:49 -05:00
Will Drevo
ece1c8b22e Fixes #65, fixes #60, merges #64 2014-12-15 21:30:33 -05:00
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
4d2b91b052 Added tuning section to README.md. Removed trailing space from fingerprint.py 2014-11-28 03:58:52 +05:30
Will Drevo
684902f6b8 Now returns match offset into track in seconds 2014-11-21 01:21:08 -05: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
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
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
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