]> kaliko git repositories - python-musicpd.git/blob - doc/commands.txt
Add mounts and neighbors commands (MPD 0.19)
[python-musicpd.git] / doc / commands.txt
1 == Status Commands
2 clearerror                                 -> fetch_nothing
3 currentsong                                -> fetch_object
4 idle               [<str>]                 -> fetch_list
5 noidle                                     -> None
6 status                                     -> fetch_object
7 stats                                      -> fetch_object
8
9 == Playback Option Commands
10 consume            <bool>                  -> fetch_nothing
11 crossfade          <int>                   -> fetch_nothing
12 mixrampdb          <str>                   -> fetch_nothing
13 mixrampdelay       <int>                   -> fetch_nothing
14 random             <bool>                  -> fetch_nothing
15 repeat             <bool>                  -> fetch_nothing
16 setvol             <int>                   -> fetch_nothing
17 single             <bool>                  -> fetch_nothing
18 replay_gain_mode   <str>                   -> fetch_nothing
19 replay_gain_status                         -> fetch_item
20 volume             <int>                   -> fetch_nothing
21
22 == Playback Control Commands
23 next                                       -> fetch_nothing
24 pause              [<bool>]                -> fetch_nothing
25 play               [<int>]                 -> fetch_nothing
26 playid             [<int>]                 -> fetch_nothing
27 previous                                   -> fetch_nothing
28 seek               <int> <int>             -> fetch_nothing
29 seekid             <int> <int>             -> fetch_nothing
30 stop                                       -> fetch_nothing
31
32 == Playlist Commands
33 add                <str>                   -> fetch_nothing
34 addid              <str> [<int>]           -> fetch_item
35 clear                                      -> fetch_nothing
36 delete             <int>                   -> fetch_nothing
37 deleteid           <int>                   -> fetch_nothing
38 move               <int> <int>             -> fetch_nothing
39 moveid             <int> <int>             -> fetch_nothing
40 playlist                                   -> fetch_playlist
41 playlistfind       <locate>                -> fetch_songs
42 playlistid         [<int>]                 -> fetch_songs
43 playlistinfo       [<int>]                 -> fetch_songs
44 playlistsearch     <locate>                -> fetch_songs
45 plchanges          <int>                   -> fetch_songs
46 plchangesposid     <int>                   -> fetch_changes
47 shuffle            [<str>]                 -> fetch_nothing
48 swap               <int> <int>             -> fetch_nothing
49 swapid             <int> <int>             -> fetch_nothing
50
51 == Stored Playlist Commands
52 listplaylist       <str>                   -> fetch_list
53 listplaylistinfo   <str>                   -> fetch_songs
54 listplaylists                              -> fetch_playlists
55 load               <str>                   -> fetch_nothing
56 playlistadd        <str> <str>             -> fetch_nothing
57 playlistclear      <str>                   -> fetch_nothing
58 playlistdelete     <str> <int>             -> fetch_nothing
59 playlistmove       <str> <int> <int>       -> fetch_nothing
60 rename             <str> <str>             -> fetch_nothing
61 rm                 <str>                   -> fetch_nothing
62 save               <str>                   -> fetch_nothing
63
64 == Database Commands
65 count              <locate>                -> fetch_object
66 find               <locate>                -> fetch_songs
67 findadd            <locate>                -> fetch_nothing
68 list               <str> [<locate>]        -> fetch_list
69 listall            [<str>]                 -> fetch_database
70 listallinfo        [<str>]                 -> fetch_database
71 lsinfo             [<str>]                 -> fetch_database
72 search             <locate>                -> fetch_songs
73 update             [<str>]                 -> fetch_item
74 rescan             [<str>]                 -> fetch_item
75 readcomments       <str>                   -> fetch_object
76
77 == Mounts and neighbors ==
78
79 mount              <str> <str>             -> self._fetch_nothing
80 unmount            <str>                   -> self._fetch_nothing
81 listmounts                                 -> self._fetch_mounts
82 listneighbors                              -> self._fetch_neighbors
83
84 == Sticker Commands
85 sticker   get      <str> <str> <str>       -> fetch_item
86 sticker   set      <str> <str> <str> <str> -> fetch_nothing
87 sticker   delete   <str> <str> [<str>]     -> fetch_nothing
88 sticker   list     <str> <str>             -> fetch_list
89 sticker   find     <str> <str> <str>       -> fetch_songs
90
91 == Connection Commands
92 close                                      -> None
93 kill                                       -> None
94 password           <str>                   -> fetch_nothing
95 ping                                       -> fetch_nothing
96
97 == Audio Output Commands
98 disableoutput      <int>                   -> fetch_nothing
99 enableoutput       <int>                   -> fetch_nothing
100 toggleoutput       <int>                   -> fetch_nothing
101 outputs                                    -> fetch_outputs
102
103 == Reflection Commands
104 commands                                   -> fetch_list
105 notcommands                                -> fetch_list
106 tagtypes                                   -> fetch_list
107 urlhandlers                                -> fetch_list
108 decoders                                   -> fetch_plugins