From 7520b13aa11ee4a0b98a08d49fbce87f0ff35ba5 Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Wed, 18 Feb 2015 22:35:49 +0100 Subject: [PATCH] mpd: Update listall/info docs --- mopidy/mpd/protocol/music_db.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/mopidy/mpd/protocol/music_db.py b/mopidy/mpd/protocol/music_db.py index c143df31..f08e51f2 100644 --- a/mopidy/mpd/protocol/music_db.py +++ b/mopidy/mpd/protocol/music_db.py @@ -359,6 +359,13 @@ def listall(context, uri=None): ``listall [URI]`` Lists all songs and directories in ``URI``. + + Do not use this command. Do not manage a client-side copy of MPD's + database. That is fragile and adds huge overhead. It will break with + large databases. Instead, query MPD whenever you need something. + + + .. warning:: This command is disabled by default in Mopidy installs. """ result = [] for path, track_ref in context.browse(uri, lookup=False): @@ -381,6 +388,13 @@ def listallinfo(context, uri=None): Same as ``listall``, except it also returns metadata info in the same format as ``lsinfo``. + + Do not use this command. Do not manage a client-side copy of MPD's + database. That is fragile and adds huge overhead. It will break with + large databases. Instead, query MPD whenever you need something. + + + .. warning:: This command is disabled by default in Mopidy installs. """ result = [] for path, lookup_future in context.browse(uri):