2016-05-06 04:33:53 +01:00
|
|
|
# mpc
|
|
|
|
|
2024-04-04 05:34:14 +01:00
|
|
|
> Music Player Client: control the Music Player Daemon (MPD).
|
|
|
|
> See also: `mpd`, `ncmpcpp`, `cmus`.
|
2024-02-24 15:52:45 +00:00
|
|
|
> More information: <https://www.musicpd.org/doc/mpc/html>.
|
2016-05-06 04:33:53 +01:00
|
|
|
|
2016-05-06 17:24:46 +01:00
|
|
|
- Toggle play/pause:
|
2016-05-06 04:33:53 +01:00
|
|
|
|
|
|
|
`mpc toggle`
|
|
|
|
|
|
|
|
- Stop playing:
|
|
|
|
|
|
|
|
`mpc stop`
|
|
|
|
|
2016-05-06 17:24:46 +01:00
|
|
|
- Show information about the currently playing song:
|
2016-05-06 04:33:53 +01:00
|
|
|
|
|
|
|
`mpc status`
|
|
|
|
|
2024-02-24 15:52:45 +00:00
|
|
|
- Play the next song:
|
2016-05-06 04:33:53 +01:00
|
|
|
|
|
|
|
`mpc next`
|
|
|
|
|
2024-02-24 15:52:45 +00:00
|
|
|
- Play the previous song:
|
2016-05-06 04:33:53 +01:00
|
|
|
|
|
|
|
`mpc prev`
|
|
|
|
|
2024-02-24 15:52:45 +00:00
|
|
|
- Seek `n` seconds forward (`+`) or backward (`-`):
|
2016-05-06 04:33:53 +01:00
|
|
|
|
2024-02-24 15:52:45 +00:00
|
|
|
`mpc {{+n|-n}}`
|