mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 23:26:00 +02:00
playerctl: update page (#11616)
This commit is contained in:
parent
862f4c9fa0
commit
0e7d2cea9c
1 changed files with 7 additions and 7 deletions
|
@ -1,17 +1,17 @@
|
|||
# playerctl
|
||||
|
||||
> Utility to control different media players.
|
||||
> Control media players via MPRIS.
|
||||
> More information: <https://github.com/altdesktop/playerctl>.
|
||||
|
||||
- Toggle play:
|
||||
|
||||
`playerctl play-pause`
|
||||
|
||||
- Next media:
|
||||
- Skip to the next track:
|
||||
|
||||
`playerctl next`
|
||||
|
||||
- Previous media:
|
||||
- Go back to the previous track:
|
||||
|
||||
`playerctl previous`
|
||||
|
||||
|
@ -21,12 +21,12 @@
|
|||
|
||||
- Send a command to a specific player:
|
||||
|
||||
`playerctl --player={{player_name}} {{command}}`
|
||||
`playerctl --player {{player_name}} {{play-pause|next|previous|...}}`
|
||||
|
||||
- Send a command to all players:
|
||||
|
||||
`playerctl --all-players {{command}}`
|
||||
`playerctl --all-players {{play-pause|next|previous|...}}`
|
||||
|
||||
- Show now playing:
|
||||
- Display metadata about the current track:
|
||||
|
||||
`playerctl metadata --format "Now playing: {{artist}} - {{album}} - {{title}}"`
|
||||
`playerctl metadata --format "{{Now playing: \{\{artist\}\} - \{\{album\}\} - \{\{title\}\}}}"`
|
||||
|
|
Loading…
Add table
Reference in a new issue