Git Product home page Git Product logo

fingerprinter's People

Contributors

evilrix avatar jonty avatar mxcl avatar nova77 avatar rj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fingerprinter's Issues

Malformed generated XML file

Hello !

Thanks for the great tool you provided to the community.

I wanted to bring to your attention that the lastfm-fpclient often generates malformed xml documents

The opening MBID tag is often missing like in the examples I am providing below
`

This Woman In My Life 221 http://www.last.fm/music/Phil+Vassar/_/This+Woman+In+My+Life 0 `

let me know if you need more example and I will send it your way

Thanks in advance for your help

Building on Ubuntu 12.04 fails.

Everything seemed fine untill.

Linking CXX executable bin/lastfm-fpclient
/usr/bin/ld: cannot find -lfplib
collect2: выполнение ld завершилось с кодом возврата 1
make[2]: *** [bin/lastfm-fpclient] Ошибка 1
make[1]: *** [CMakeFiles/lastfm-fpclient.dir/all] Ошибка 2
make: *** [all] Ошибка 2

Is it an error with build script?

Can't build on OSX

Hello,
I'm trying to make this build but not getting any success.

I don't really know how to use cmake and make stuff. I just need the bin so that I can use it with another language.

This is what I get when I do 'cmake .'

[18/04/15 22:55:58][Raghav's:lastfmfpclient]$ cmake .
-- The C compiler identification is AppleClang 6.0.0.6000057
-- The CXX compiler identification is AppleClang 6.0.0.6000057
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
CMake Warning (dev):
  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:

   fplib_shared

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /usr/local/Cellar/lastfmfpclient

and this is what I get when I do 'make install'

[18/04/15 22:56:25][Raghav's:lastfmfpclient]$ make install
Scanning dependencies of target fplib_shared
[  9%] Building CXX object CMakeFiles/fplib_shared.dir/src/fplib/Filter.cpp.o
[ 18%] Building CXX object CMakeFiles/fplib_shared.dir/src/fplib/FingerprintExtractor.cpp.o
[ 27%] Building CXX object CMakeFiles/fplib_shared.dir/src/fplib/OptFFT.cpp.o
Linking CXX shared library lib/libfplib.dylib
Undefined symbols for architecture x86_64:
  "_fftwf_destroy_plan", referenced from:
      fingerprint::OptFFT::~OptFFT() in OptFFT.cpp.o
  "_fftwf_execute", referenced from:
      fingerprint::OptFFT::process(float*, unsigned long) in OptFFT.cpp.o
  "_fftwf_free", referenced from:
      fingerprint::OptFFT::~OptFFT() in OptFFT.cpp.o
  "_fftwf_malloc", referenced from:
      fingerprint::OptFFT::OptFFT(unsigned long) in OptFFT.cpp.o
  "_fftwf_plan_many_dft_r2c", referenced from:
      fingerprint::OptFFT::OptFFT(unsigned long) in OptFFT.cpp.o
  "_src_delete", referenced from:
      fingerprint::initCustom(fingerprint::PimplData&, int, int, unsigned int, unsigned int, int, unsigned int, int) in FingerprintExtractor.cpp.o
      fingerprint::PimplData::~PimplData() in FingerprintExtractor.cpp.o
  "_src_new", referenced from:
      fingerprint::initCustom(fingerprint::PimplData&, int, int, unsigned int, unsigned int, int, unsigned int, int) in FingerprintExtractor.cpp.o
  "_src_process", referenced from:
      fingerprint::FingerprintExtractor::process(short const*, unsigned long, bool) in FingerprintExtractor.cpp.o
  "_src_short_to_float_array", referenced from:
      fingerprint::src_short_to_float_and_mono_array(short const*, float*, int, int) in FingerprintExtractor.cpp.o
  "_src_strerror", referenced from:
      fingerprint::FingerprintExtractor::process(short const*, unsigned long, bool) in FingerprintExtractor.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libfplib.dylib] Error 1
make[1]: *** [CMakeFiles/fplib_shared.dir/all] Error 2
make: *** [all] Error 2

Also, in main.cpp

// DO NOT CHANGE THOSE!
const char FP_SERVER_NAME[]       = "ws.audioscrobbler.com/fingerprint/query/";
const char METADATA_SERVER_NAME[] = "http://ws.audioscrobbler.com/2.0/";
const char PUBLIC_CLIENT_NAME[]   = "fp client 1.6";
const char HTTP_POST_DATA_NAME[]  = "fpdata";

// if you want to use the last.fm fingerprint library in your app you'll need
// your own key
const char LASTFM_API_KEY[] = "2bfed60da64b96c16ea77adbf5fe1a82";

Do I have to change anything else other than API key?

Lastfm Server No Longer Exists

This tool no longer appears to work:

$ ./lastfm-fpclient ~/Music/Bit\ Shifter/Information\ Chase/01\ -\ Bit\ Shifter\ -\ Chase\ Init.mp3 
ERROR: Empty reply from server$

Presumably Last.fm has either discontinued their fingerprinting API, or changed the way it works without updating the client.

This is potentially a duplicate of #9, but if it;s been broken since that was posted, presumably it's supposed to be broken.

FpLib license

While trying the library I noticed it is based on libsamplerate and fftw3. Those are both GPLed. How come FpLib is distributed under the LGPL? By being linked to GPL libraries it has to be GPL too. Please make it clear in the README.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.