summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-04-05 12:38:49 +0200
committerMax Kellermann <max@musicpd.org>2019-04-05 14:23:35 +0200
commit8e5e97bfeda23ab296683882ceb997098b48f567 (patch)
tree5db6f198d530bf2cb2171195abe2a79bc3d71ff6 /doc
parent17dd334b821f9e70ea6d3a3615c111e0b62a32bf (diff)
command: add command "getfingerprint"
A first use case for our libchromaprint integration added by commit 30e22b753b06660d888eb42a8c74d950d044d6dd
Diffstat (limited to 'doc')
-rw-r--r--doc/protocol.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/protocol.rst b/doc/protocol.rst
index 92b63dcfe..e1a882f9d 100644
--- a/doc/protocol.rst
+++ b/doc/protocol.rst
@@ -824,6 +824,17 @@ The music database
don't this group tag. It exists only if at least one such song is
found.
+:command:`getfingerprint {URI}`
+
+ Calculate the song's audio fingerprint. Example (abbreviated fingerprint)::
+
+ getfingerprint "foo/bar.ogg"
+ chromaprint: AQACcEmSREmWJJmkIT_6CCf64...
+ OK
+
+ This command is only available if MPD was built with
+ :file:`libchromaprint` (``-Dchromaprint=enabled``).
+
.. _command_find:
:command:`find {FILTER} [sort {TYPE}] [window {START:END}]`