worldveil / dejavu

Audio fingerprinting and recognition in Python
MIT License
6.41k stars 1.43k forks source link

Output is not JSON valid because of "offset" value #67

Closed kursusHC closed 9 years ago

kursusHC commented 9 years ago

Hi and thank you for this awesome project !

I notice the output of print song is something like

{"song_id": 2, "song_name": "Red Fang - Wires", "confidence": 25, "offset_seconds": 244.3668, "match_time": 0.6960611343383789, "offset": 5262L}

Offset has letters in it so it's not considered a number, neither a string obviously. Is there a reason for this ?

Thanks

kursusHC commented 9 years ago

Thanks for this !