X-Git-Url: http://git.kaliko.me/?p=python-musicpd.git;a=blobdiff_plain;f=doc%2Fcommands.txt;h=10134a1b361e5d6268b9058d5524aa9852cf985a;hp=df8058a43869371845038b4b224594961bf0b42d;hb=1273e7e588476940dd5e9d862be7f18de0db708b;hpb=c465a35a2b587e14f3f86be3d983d5b074ed375d diff --git a/doc/commands.txt b/doc/commands.txt index df8058a..10134a1 100644 --- a/doc/commands.txt +++ b/doc/commands.txt @@ -1,81 +1,122 @@ == Status Commands -clearerror -> getnone -currentsong -> getobject -status -> getobject -stats -> getobject +clearerror -> fetch_nothing +currentsong -> fetch_object +idle [] -> fetch_list +noidle -> None +status -> fetch_object +stats -> fetch_object == Playback Option Commands -crossfade -> getnone -random -> getnone -repeat -> getnone -setvol -> getnone -volume -> getnone +consume -> fetch_nothing +crossfade -> fetch_nothing +mixrampdb -> fetch_nothing +mixrampdelay -> fetch_nothing +random -> fetch_nothing +repeat -> fetch_nothing +setvol -> fetch_nothing +single -> fetch_nothing +replay_gain_mode -> fetch_nothing +replay_gain_status -> fetch_item +volume -> fetch_nothing == Playback Control Commands -next -> getnone -pause [] -> getnone -play [] -> getnone -playid [] -> getnone -previous -> getnone -seek -> getnone -seekid -> getnone -stop -> getnone +next -> fetch_nothing +pause [] -> fetch_nothing +play [] -> fetch_nothing +playid [] -> fetch_nothing +previous -> fetch_nothing +seek -> fetch_nothing +seekid -> fetch_nothing +stop -> fetch_nothing == Playlist Commands -add -> getnone -addid [] -> getitem -clear -> getnone -delete -> getnone -deleteid -> getnone -move -> getnone -moveid -> getnone -playlist -> getplaylist -playlistfind -> getsongs -playlistid [] -> getsongs -playlistinfo [] -> getsongs -playlistsearch -> getsongs -plchanges -> getsongs -plchangesposid -> getchanges -shuffle -> getnone -swap -> getnone -swapid -> getnone +add -> fetch_nothing +addid [] -> fetch_item +clear -> fetch_nothing +delete | -> fetch_nothing +deleteid -> fetch_nothing +move | -> fetch_nothing +moveid -> fetch_nothing +playlist -> fetch_playlist +playlistfind -> fetch_songs +playlistid [] -> fetch_songs +playlistinfo [|] -> fetch_songs +playlistsearch -> fetch_songs +plchanges -> fetch_songs +plchangesposid -> fetch_changes +prio | -> self._fetch_nothing, +prioid -> self._fetch_nothing, +rangeid -> self._fetch_nothing, +shuffle [] -> fetch_nothing +swap -> fetch_nothing +swapid -> fetch_nothing +addtagid -> fetch_nothing +cleartagid [] -> fetch_nothing == Stored Playlist Commands -listplaylist -> getlist -listplaylistinfo -> getsongs -listplaylists -> getplaylists -load -> getnone -playlistadd -> getnone -playlistclear -> getnone -playlistdelete -> getnone -playlistmove -> getnone -rename -> getnone -rm -> getnone -save -> getnone +listplaylist -> fetch_list +listplaylistinfo -> fetch_songs +listplaylists -> fetch_playlists +load [] -> fetch_nothing +playlistadd -> fetch_nothing +playlistclear -> fetch_nothing +playlistdelete -> fetch_nothing +playlistmove -> fetch_nothing +rename -> fetch_nothing +rm -> fetch_nothing +save -> fetch_nothing == Database Commands -count -> getobject -find -> getsongs -list [] -> getlist -listall [] -> getdatabase -listallinfo [] -> getdatabase -lsinfo [] -> getdatabase -search -> getsongs -update [] -> getitem +count -> fetch_object +count group -> fetch_object +find [ ]... -> fetch_songs +findadd [ ] -> fetch_nothing +list [ ]...[group ]... -> fetch_list +listall [] -> fetch_database +listallinfo [] -> fetch_database +lsinfo [] -> fetch_database +readcomments -> fetch_object +search [ ]... -> fetch_song +searchadd [ ]... -> fetch_nothing +searchaddpl [ ]... -> fetch_nothing +update [] -> fetch_item +rescan [] -> fetch_item + +== Mounts and neighbors == + +mount -> self._fetch_nothing +unmount -> self._fetch_nothing +listmounts -> self._fetch_mounts +listneighbors -> self._fetch_neighbors + +== Sticker Commands +sticker get -> fetch_item +sticker set -> fetch_nothing +sticker delete [] -> fetch_nothing +sticker list -> fetch_list +sticker find -> fetch_songs == Connection Commands -close -> None -kill -> None -password -> getnone -ping -> getnone +close -> None +kill -> None +password -> fetch_nothing +ping -> fetch_nothing + +== Partition Commands +partition -> fetch_nothing +listpartitions -> fetch_list +newpartition -> fetch_nothing == Audio Output Commands -disableoutput -> getnone -enableoutput -> getnone -outputs -> getoutputs +disableoutput -> fetch_nothing +enableoutput -> fetch_nothing +toggleoutput -> fetch_nothing +outputs -> fetch_outputs == Reflection Commands -commands -> getlist -notcommands -> getlist -tagtypes -> getlist -urlhandlers -> getlist +config -> fetch_object +commands -> fetch_list +notcommands -> fetch_list +tagtypes -> fetch_list +urlhandlers -> fetch_list +decoders -> fetch_plugins