From eb459c81f0a351ca2c69297b4588eca707da0164 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Fri, 22 Mar 2013 08:33:44 +0100 Subject: [PATCH] docs: library.{find_exact,search}() returns all tracks if no query --- mopidy/core/library.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mopidy/core/library.py b/mopidy/core/library.py index e4be7ce8..29b2e797 100644 --- a/mopidy/core/library.py +++ b/mopidy/core/library.py @@ -20,6 +20,9 @@ class LibraryController(object): """ Search the library for tracks where ``field`` is ``values``. + If the query is empty, and the backend can support it, all available + tracks are returned. + Examples:: # Returns results matching 'a' @@ -80,6 +83,9 @@ class LibraryController(object): """ Search the library for tracks where ``field`` contains ``values``. + If the query is empty, and the backend can support it, all available + tracks are returned. + Examples:: # Returns results matching 'a'