[Pkg-mpd-commits] [python-mpd] 140/262: adding searchadd and searchaddpl commands

Simon McVittie smcv at debian.org
Sun May 22 18:16:38 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 159463d76fae7d8f06b21f52bb8525fdcc41a04f
Author: Jörg Thalheim <jthalheim at gmail.com>
Date:   Sun Jul 8 21:55:34 2012 +0200

    adding searchadd and searchaddpl commands
---
 doc/commands.txt | 2 ++
 mpd.py           | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/doc/commands.txt b/doc/commands.txt
index 2ab54e7..97dcea7 100644
--- a/doc/commands.txt
+++ b/doc/commands.txt
@@ -72,6 +72,8 @@ listall            [<str>]                 -> fetch_database
 listallinfo        [<str>]                 -> fetch_database
 lsinfo             [<str>]                 -> fetch_database
 search             <locate>                -> fetch_songs
+searchadd          <locate>                -> fetch_songs
+searchaddpl        <str> <locate>          -> fetch_songs
 update             [<str>]                 -> fetch_item
 rescan             [<str>]                 -> fetch_item
 
diff --git a/mpd.py b/mpd.py
index 73f3398..de73609 100644
--- a/mpd.py
+++ b/mpd.py
@@ -131,6 +131,8 @@ _commands = {
     "listallinfo":        "_fetch_database",
     "lsinfo":             "_fetch_database",
     "search":             "_fetch_songs",
+    "searchadd":          "_fetch_nothing",
+    "searchaddpl":        "_fetch_nothing",
     "update":             "_fetch_item",
     "rescan":             "_fetch_item",
     # Sticker Commands

-- 
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