]> kaliko git repositories - python-musicpd.git/commitdiff
Add addtagid and cleartagid commands (MPD 0.19)
authorKaliko Jack <kaliko@azylum.org>
Sun, 16 Nov 2014 22:57:54 +0000 (23:57 +0100)
committerKaliko Jack <kaliko@azylum.org>
Sun, 16 Nov 2014 22:57:54 +0000 (23:57 +0100)
Also add missing priority commands (prio and prioid)

CHANGES.txt
doc/commands.txt
musicpd.py

index a82e7caa172e4c1129a62f700dc658ac409691b2..66f06291769b0f28cc8afbaae9625904ca91aa97 100644 (file)
@@ -7,6 +7,8 @@ Changes in 0.4.2 UNRELEASED
 * Add unittest (requires mock)
 * Add mounts and neighbors commands (mount, unmount, listmounts and
   listneighbors)
+* Add tag editing commands (addtagid and cleartagid)
+* Add missing priority commands (prio and prioid)
 
 Changes in 0.4.1
 ----------------
index 0e169c3207f8a73c22253629b2980a48ca6f81b8..92ef071da4345e3832ef1cf96e3ef6f0cea93d0d 100644 (file)
@@ -33,26 +33,30 @@ stop                                       -> fetch_nothing
 add                <str>                   -> fetch_nothing
 addid              <str> [<int>]           -> fetch_item
 clear                                      -> fetch_nothing
-delete             <int>                   -> fetch_nothing
+delete             <int>|<range>           -> fetch_nothing
 deleteid           <int>                   -> fetch_nothing
-move               <int> <int>             -> fetch_nothing
+move               <int>|<range> <int>     -> fetch_nothing
 moveid             <int> <int>             -> fetch_nothing
 playlist                                   -> fetch_playlist
 playlistfind       <locate>                -> fetch_songs
 playlistid         [<int>]                 -> fetch_songs
-playlistinfo       [<int>]                 -> fetch_songs
+playlistinfo       [<int>|<range>]         -> fetch_songs
 playlistsearch     <locate>                -> fetch_songs
 plchanges          <int>                   -> fetch_songs
 plchangesposid     <int>                   -> fetch_changes
-shuffle            [<str>]                 -> fetch_nothing
+prio               <int> <int>|<range>     -> self._fetch_nothing,
+prioid             <int> <int>             -> self._fetch_nothing,
+shuffle            [<range>]               -> fetch_nothing
 swap               <int> <int>             -> fetch_nothing
 swapid             <int> <int>             -> fetch_nothing
+addtagid           <int> <str> <str>       -> fetch_nothing
+cleartagid         <int> [<str>]           -> fetch_nothing
 
 == Stored Playlist Commands
 listplaylist       <str>                   -> fetch_list
 listplaylistinfo   <str>                   -> fetch_songs
 listplaylists                              -> fetch_playlists
-load               <str>                   -> fetch_nothing
+load               <str> [<range>]         -> fetch_nothing
 playlistadd        <str> <str>             -> fetch_nothing
 playlistclear      <str>                   -> fetch_nothing
 playlistdelete     <str> <int>             -> fetch_nothing
index 8358ddcd4892bbe3ca30b38a3b10595f41448653..3d18bfedef1d937a8c68f17bd38d342eff5d88d9 100644 (file)
@@ -130,9 +130,13 @@ class MPDClient:
             "playlistsearch":     self._fetch_songs,
             "plchanges":          self._fetch_songs,
             "plchangesposid":     self._fetch_changes,
+            "prio":               self._fetch_nothing,
+            "prioid":             self._fetch_nothing,
             "shuffle":            self._fetch_nothing,
             "swap":               self._fetch_nothing,
             "swapid":             self._fetch_nothing,
+            "addtagid":           self._fetch_nothing,
+            "cleartagid":         self._fetch_nothing,
             # Stored Playlist Commands
             "listplaylist":       self._fetch_list,
             "listplaylistinfo":   self._fetch_songs,