Skip to content
Extraits de code Groupes Projets
Vérifiée Valider bc73bad8 rédigé par Kubat's avatar Kubat
Parcourir les fichiers

DOC: Finished to update MPD compatibility list

parent 073ddf62
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!141Improve MPD compatibility
...@@ -192,9 +192,6 @@ For the compatibility column, the possible values are the following: ...@@ -192,9 +192,6 @@ For the compatibility column, the possible values are the following:
| `status` | `status` | ~ | slight differencies in the duration and time, not working with mpc | | `status` | `status` | ~ | slight differencies in the duration and time, not working with mpc |
| `stats` | `stats` | ~ | don't send all the stats, only `db_update` | | `stats` | `stats` | ~ | don't send all the stats, only `db_update` |
| `consume {state}` | `consume {state}` | + | | | `consume {state}` | `consume {state}` | + | |
| `crossfade {seconds}` | | | not implemented |
| `mixrampdb {dB}` | `mixrampdb {dB}` | | not implemented |
| `mixrampdelay {seconds}` | | | not implemented |
| `random {state}` | `random {state}` | + | | | `random {state}` | `random {state}` | + | |
| `repeat {state}` | `repeat {state}` | + | | | `repeat {state}` | `repeat {state}` | + | |
| `setvol {vol}` | `setvol {vol}` | + | won't display the correct volume, mpv properties flush issue... | | `setvol {vol}` | `setvol {vol}` | + | won't display the correct volume, mpv properties flush issue... |
...@@ -214,14 +211,14 @@ For the compatibility column, the possible values are the following: ...@@ -214,14 +211,14 @@ For the compatibility column, the possible values are the following:
| `add {uri}` | `add {uri}` | + | | | `add {uri}` | `add {uri}` | + | |
| `addid {id} [pos]` | `addid {id...}` | ~ | can add multiple songs, but no position support | | `addid {id} [pos]` | `addid {id...}` | ~ | can add multiple songs, but no position support |
| `clear` | `clear` | + | | | `clear` | `clear` | + | |
| `delete [{POS}|{start:end}]` | | TODO | not implemented | | `delete [{POS}/{start:end}]` | | TODO | not implemented |
| `deleteid {songid}` | `deleteid {songid}` | + | delete all kara with that id, skip the current kara if needed | | `deleteid {songid}` | `deleteid {songid}` | + | delete all kara with that id, skip the current kara if needed |
| `move [{from}|{start:end}] {to}` | | TODO | not implemented | | `move [{from}/{start:end}] {to}` | | TODO | not implemented |
| `moveid {from} {to}` | `moveid {from} {to}` | ~ | `to` is always an absolute position | | `moveid {from} {to}` | `moveid {from} {to}` | ~ | `to` is always an absolute position |
| `playlist` | `playlist` | + | | | `playlist` | `playlist` | + | |
| `playlistfind {tag} {needle}` | `playlistfind {uri}` | ~ | uses lektord URIs | | `playlistfind {tag} {needle}` | `playlistfind {uri}` | ~ | uses lektord URIs |
| `playlistid {songid}` | | TODO | not implemented | | `playlistid {songid}` | | TODO | not implemented |
| `playlistinfo [[songpos]|[start:end]]` | `playlistinfo` | - | is an alias to `playlist` | | `playlistinfo [[songpos]/[start:end]]` | `playlistinfo` | - | is an alias to `playlist` |
| `playlistsearch {taf} {needle}` | `playlistsearch {uri}` | ~ | uses lektord URIs | | `playlistsearch {taf} {needle}` | `playlistsearch {uri}` | ~ | uses lektord URIs |
| `plchanges {version} [start:end]` | | | not implemented | | `plchanges {version} [start:end]` | | | not implemented |
| `plchangesposid {version} [start:end]` | | | not implemented | | `plchangesposid {version} [start:end]` | | | not implemented |
...@@ -231,8 +228,6 @@ For the compatibility column, the possible values are the following: ...@@ -231,8 +228,6 @@ For the compatibility column, the possible values are the following:
| `shuffle [start:end]` | `shuffle` | ~ | shuffles all the queue | | `shuffle [start:end]` | `shuffle` | ~ | shuffles all the queue |
| `swap {song1} {song2}` | | TODO | not implemented | | `swap {song1} {song2}` | | TODO | not implemented |
| `swap {songid1} {songid2}` | | | not implemented | | `swap {songid1} {songid2}` | | | not implemented |
| `addtagid {songid} {tag} {val}` | | | not implemented |
| `cleartagid {songid} [tag]` | | | not implemented |
| `listplaylist {name}` | `listplaylist {name}` | + | | | `listplaylist {name}` | `listplaylist {name}` | + | |
| `listplaylistinfo {name}` | `listplaylistinfo {name} {uri}` | - | do a search in the playlist | | `listplaylistinfo {name}` | `listplaylistinfo {name} {uri}` | - | do a search in the playlist |
| `listplaylists` | `listplaylists` | + | | | `listplaylists` | `listplaylists` | + | |
...@@ -240,14 +235,85 @@ For the compatibility column, the possible values are the following: ...@@ -240,14 +235,85 @@ For the compatibility column, the possible values are the following:
| `playlistadd {name} {uri}` | `playlistadd {name} {uri}` | ~ | uses lektord URIs | | `playlistadd {name} {uri}` | `playlistadd {name} {uri}` | ~ | uses lektord URIs |
| `playlistclear {name}` | `playlistclear {name}` | + | | | `playlistclear {name}` | `playlistclear {name}` | + | |
| `playlistdelete {name} {songpos}` | `playlistdelete {name} [songid]` | ~ | delete all the playlist if `songpos` is not spesified, uses kara ids, not pos | | `playlistdelete {name} {songpos}` | `playlistdelete {name} [songid]` | ~ | delete all the playlist if `songpos` is not spesified, uses kara ids, not pos |
| `playlistmove {name} {from} {to}` | | | not implemented |
| `rename {name} {newname}` | `rename {name} {newname}` | ~ | will fail if the `newplaylist` already exists | | `rename {name} {newname}` | `rename {name} {newname}` | ~ | will fail if the `newplaylist` already exists |
| `rm {name}` | `rm {name}` | + | | | `rm {name}` | `rm {name}` | + | |
| `save {name}` | `save {name} {destdb}` | - | export a part of the db into as sqlite3 db | | `save {name}` | `save {name} {destdb}` | - | export a part of the db into as sqlite3 db |
| `albumart {uri} {offset}` | | | not implemted |
| `count {filt} [group {grptype}]` | | | not implemted | | `count {filt} [group {grptype}]` | | | not implemted |
| `getfingerprint {uri}` | | | not implemted | | `getfingerprint {uri}` | | | not implemted |
| `find {filt} [sort {type}] [window {START:END}]` | `find {uri}` | - | do a simple search in the db with lektord's URIs | | `find {filt} [sort {type}] [window {START:END}]` | `find {uri}` | - | do a simple search in the db with lektord's URIs |
| `findadd {filt} [sort {type}] [window {start:end}]` | `findadd {uri}` | - | same remarks as `find` | | `findadd {filt} [sort {type}] [window {start:end}]` | `findadd {uri}` | - | same remarks as `find` |
| `list {type} {filt} [group {grptype}]` | | | not implemented | | `list {type} {filt} [group {grptype}]` | | | not implemented |
| `listall [uri]` | | | not implemented | | `listall [uri]` | | | not implemented |
| `listallinfo [uri]` | | | not implemented |
| `listfiles {uri}` | | | not implemented |
| `lsinfo [uri]` | | | not implemented |
| `search {filt} [sort {type}] [window {start:end}]` | `search {uri}` | - | is an alias to `find` |
| `searchadd {filt} [sort {type}] [window {start:end}]` | `searchadd {uri}` | - | is an alias to `findadd` |
| `update [uri]` | `update` | ~ | doesn't take URIs |
| `rescan [uri]` | `rescan` | ~ | doesn't take URIs |
| `close` | `close` | + | send the `OK` status before closing the socket |
| `kill` | `kill` | + | |
| `password {password}` | `password {password}` | + | |
| `ping` | `ping` | + | |
| `config` | | | not implemented |
| `sticker get {t} {uri} {n}` | `sticker get {type} {uri} {name}` | CHECK | check the return conventions |
| `sticker set {t} {uri} {n} {val}` | `sticker set {t} {uri} {n} {val}` | CHECK | check the return conventions |
| `sticker delete {t} {uri} [n]` | `sticker delete {t} {uri} [n]` | CHECK | check the return conventions |
| `sticker list {type} {uri}` | `sticker list {type} {uri}` | CHECK | check the return conventions |
| `sticker find {t} {uri} {n}` | `sticker find {t} {uri} {n}` | CHECK | check the return conventions |
| `sticker find {t} {uri} {n} {op} {v}` | `sticker find {t} {uri} {n} {op} {v}` | CHECK | check the return conventions, operators are `g`, `e` and `l` |
### Commands specific to lektord
| Command | Comment / notes |
| ----------------------- | --------------------------------------------------------------- |
| `__import` | import favorites as playlists prefixed bt `@` in lektor |
| `__dump {pltname}` | add the content of the queue to an existing playlist |
| `__adduser {password}` | create a new admin user |
| `__restart` | restarts lektord |
| `__rescan` | same as `rescan`, but force populating without timestamp check |
| `sticker __add {name}` | create a sticker |
| `__insert {uri}` | do the `add` command, but with the maximum priority |
### Commands with no plan for support
| MPD command | Reason / notes |
| --------------------------------- | --------------------------------------------- |
| `readcomments {uri}` | really not a priority |
| `readpicture {uri} {offset}` | really not a priority |
| `albumart {uri} {offset}` | really not a priority |
| `mount {path} {uri}` | no necessity in lektord |
| `unmount {path}` | no necessity in lektord |
| `listmounts` | no necessity in lektord |
| `listneighbors` | no necessity in lektord |
| `partition {name}` | no necessity in lektord |
| `listpartitions` | no necessity in lektord |
| `newpartition {name}` | no necessity in lektord |
| `delpartition {name}` | no necessity in lektord |
| `tagtypes` | tags are handled by kurisu for the moment |
| `tagtypes disable {name...}` | tags are handled by kurisu for the moment |
| `tagtypes enable {name...}` | tags are handled by kurisu for the moment |
| `tagtypes clear` | tags are handled by kurisu for the moment |
| `tagtypes all` | tags are handled by kurisu for the moment |
| `addtagid {songid} {tag} {val}` | tags are handled by kurisu for the moment |
| `cleartagid {songid} [tag]` | tags are handled by kurisu for the moment |
| `crossfade {seconds}` | lektord uses libmpv |
| `mixrampdb {dB}` | lektord uses libmpv |
| `mixrampdelay {seconds}` | lektord uses libmpv |
| `moveoutput {outputname}` | lektord uses libmpv |
| `disableoutput {id}` | lektord uses libmpv |
| `enableoutput {id}` | lektord uses libmpv |
| `toggleoutput {id}` | lektord uses libmpv |
| `outputs` | lektord uses libmpv |
| `outputset {id} {name} {value}` | lektord uses libmpv |
| `commands` | not implemented |
| `notcommands` | not implemented |
| `urlhandlers` | not implemented |
| `decoders` | lektord only suprts mkv files (for mkv tags) |
| `subscribe {name}` | no necessity for p2p messages for the moment |
| `unsubscribe {name}` | no necessity for p2p messages for the moment |
| `channels` | no necessity for p2p messages for the moment |
| `readmessages` | no necessity for p2p messages for the moment |
| `sendmessage {channel} {text}` | no necessity for p2p messages for the moment |
| `searchaddpl {name} {filt} [sort {type}] [window {start:end}]` | `playlistadd` exists |
| `playlistmove {name} {from} {to}` | no necessity in lektord as playlists are shuffled when added to the queue |
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter