lastfm / fingerprinter Goto Github PK
View Code? Open in Web Editor NEWLast.fm Fingerprint Library and Sample Client
Home Page: http://www.last.fm
Last.fm Fingerprint Library and Sample Client
Home Page: http://www.last.fm
Hi, I'm using lastfmfpclient.exe but it hasn't worked since 2 ,3 days ago .. Is there any problem with lastfmfpclient?
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?
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?
Unfortunately build fails under windows. Could you share already built binaries?
thank you
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
`
let me know if you need more example and I will send it your way
Thanks in advance for your help
Hello,
I'm trying to compile Fingerprinter on Mac OSX Snow Leopard, using macports.
Packages:
sudo port install cmake fftw-3 taglib libmad curl libsamplerate
This is the trace: http://pastie.org/private/oupffouezfmzhmndjrszq
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.