mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
35 lines
538 B
Plaintext
35 lines
538 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# mpc
|
|
|
|
> Music Player Client: control the Music Player Daemon (MPD).
|
|
> See also: `mpd`, `ncmpcpp`, `cmus`.
|
|
> More information: <https://www.musicpd.org/doc/mpc/html/>.
|
|
|
|
- Toggle play/pause:
|
|
|
|
`mpc toggle`
|
|
|
|
- Stop playing:
|
|
|
|
`mpc stop`
|
|
|
|
- Show information about the currently playing song:
|
|
|
|
`mpc status`
|
|
|
|
- Play the next song:
|
|
|
|
`mpc next`
|
|
|
|
- Play the previous song:
|
|
|
|
`mpc prev`
|
|
|
|
- Seek `n` seconds forward (`+`) or backward (`-`):
|
|
|
|
`mpc {{+n|-n}}`
|