Skip to content
Browse files

Update protocol docs with change from previous commit

  • Loading branch information...
1 parent c89d58f commit 8f30e9a13925144c64a481971d25b062353d1e92 @jodal jodal committed
Showing with 8 additions and 0 deletions.
  1. +8 −0 mopidy/frontends/mpd/protocol/current_playlist.py
View
8 mopidy/frontends/mpd/protocol/current_playlist.py
@@ -11,6 +11,10 @@ def add(frontend, uri):
Adds the file ``URI`` to the playlist (directories add recursively).
``URI`` can also be a single file.
+
+ *Clarifications:*
+
+ - ``add ""`` should add all tracks in the library to the current playlist.
"""
if not uri:
return
@@ -37,6 +41,10 @@ def addid(frontend, uri, songpos=None):
addid "foo.mp3"
Id: 999
OK
+
+ *Clarifications:*
+
+ - ``addid ""`` should return an error.
"""
if not uri:
raise MpdNoExistError(u'No such song', command=u'addid')

0 comments on commit 8f30e9a

Please sign in to comment.
Something went wrong with that request. Please try again.