From a1ae455c69add62a4e83f050510968ae516cd8d0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 3 Apr 2019 14:01:46 +0200 Subject: [PATCH] doc/protocol.rst: make the `albumart` documentation more generic --- doc/protocol.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/protocol.rst b/doc/protocol.rst index 02a7ecfc4..da9759014 100644 --- a/doc/protocol.rst +++ b/doc/protocol.rst @@ -782,11 +782,12 @@ The music database ================== :command:`albumart {URI} {OFFSET}` - Searches the directory the file ``URI`` - resides in and attempts to return a chunk of an album + Locate album art for the given song and return a chunk of an album art image file at offset ``OFFSET``. - Uses the filename "cover" with any of ".png, .jpg, - .tiff, .bmp". + + This is currently implemented by searching the directory the file + resides in for a file called :file:`cover.png`, :file:`cover.jpg`, + :file:`cover.tiff` or :file:`cover.bmp`. Returns the file size and actual number of bytes read at the requested offset, followed