[Pkg-mpd-commits] [python-mpd] 75/262: adding findadd and rescan commands
Simon McVittie
smcv at debian.org
Sun May 22 18:16:27 UTC 2016
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch upstream
in repository python-mpd.
commit df0be04d1d7299652a44ad53fc44e797f41de362
Author: J. Alexander Treuman <jat at spatialrift.net>
Date: Mon Dec 13 17:50:29 2010 -0500
adding findadd and rescan commands
---
doc/commands.txt | 2 ++
mpd.py | 2 ++
2 files changed, 4 insertions(+)
diff --git a/doc/commands.txt b/doc/commands.txt
index 8fb069d..278f859 100644
--- a/doc/commands.txt
+++ b/doc/commands.txt
@@ -60,12 +60,14 @@ save <str> -> fetch_nothing
== Database Commands
count <locate> -> fetch_object
find <locate> -> fetch_songs
+findadd <locate> -> fetch_nothing
list <str> [<locate>] -> fetch_list
listall [<str>] -> fetch_database
listallinfo [<str>] -> fetch_database
lsinfo [<str>] -> fetch_database
search <locate> -> fetch_songs
update [<str>] -> fetch_item
+rescan [<str>] -> fetch_item
== Sticker Commands
sticker get <str> <str> <str> -> fetch_item
diff --git a/mpd.py b/mpd.py
index f18356b..9494b0e 100644
--- a/mpd.py
+++ b/mpd.py
@@ -114,12 +114,14 @@ class MPDClient(object):
# Database Commands
"count": self._fetch_object,
"find": self._fetch_songs,
+ "findadd": self._fetch_nothing,
"list": self._fetch_list,
"listall": self._fetch_database,
"listallinfo": self._fetch_database,
"lsinfo": self._fetch_database,
"search": self._fetch_songs,
"update": self._fetch_item,
+ "rescan": self._fetch_item,
# Sticker Commands
"sticker get": self._fetch_item,
"sticker set": self._fetch_nothing,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mpd/python-mpd.git
More information about the Pkg-mpd-commits
mailing list