command: add command "getfingerprint"

A first use case for our libchromaprint integration added by commit
30e22b753b
This commit is contained in:
Max Kellermann
2019-04-05 12:38:49 +02:00
parent 17dd334b82
commit 8e5e97bfed
6 changed files with 420 additions and 0 deletions

View File

@@ -356,6 +356,13 @@ if sqlite_dep.found()
]
endif
if chromaprint_dep.found()
sources += [
'src/command/FingerprintCommands.cxx',
'src/lib/chromaprint/DecoderClient.cxx',
]
endif
basic = static_library(
'basic',
'src/ReplayGainInfo.cxx',
@@ -444,6 +451,7 @@ mpd = build_target(
sqlite_dep,
zeroconf_dep,
more_deps,
chromaprint_dep,
],
link_args: link_args,
install: not is_android and not is_haiku,