mirror of https://github.com/CrimsonTome/tldr.git
playerctl: update page (#11616)
parent
862f4c9fa0
commit
0e7d2cea9c
|
@ -1,17 +1,17 @@
|
||||||
# playerctl
|
# playerctl
|
||||||
|
|
||||||
> Utility to control different media players.
|
> Control media players via MPRIS.
|
||||||
> More information: <https://github.com/altdesktop/playerctl>.
|
> More information: <https://github.com/altdesktop/playerctl>.
|
||||||
|
|
||||||
- Toggle play:
|
- Toggle play:
|
||||||
|
|
||||||
`playerctl play-pause`
|
`playerctl play-pause`
|
||||||
|
|
||||||
- Next media:
|
- Skip to the next track:
|
||||||
|
|
||||||
`playerctl next`
|
`playerctl next`
|
||||||
|
|
||||||
- Previous media:
|
- Go back to the previous track:
|
||||||
|
|
||||||
`playerctl previous`
|
`playerctl previous`
|
||||||
|
|
||||||
|
@ -21,12 +21,12 @@
|
||||||
|
|
||||||
- Send a command to a specific player:
|
- 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:
|
- 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…
Reference in New Issue