playerctl: update page (#11616)

pull/23/head
Lena 2023-11-30 19:09:30 +01:00 committed by GitHub
parent 862f4c9fa0
commit 0e7d2cea9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -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\}\}}}"`