mirror of
https://github.com/foo-dogsquared/wiki.git
synced 2025-01-31 07:57:57 +00:00
172113c96e
Notes on Nix, Flatpak, and mpc are here. They're just drafts and yet I added them into the Git worktree. I'll complete them someday ;p
23 lines
478 B
Org Mode
23 lines
478 B
Org Mode
#+title: Command line: mpc
|
|
#+date: "2021-06-22 19:10:53 +08:00"
|
|
#+date_modified: "2021-06-22 19:41:21 +08:00"
|
|
#+language: en
|
|
|
|
|
|
mpc is a command line client for the Music Player Daemon (MPD).
|
|
Pretty nifty for controlling it in the command line and a bit of automation.
|
|
|
|
|
|
|
|
|
|
* Examples
|
|
|
|
Welp, it's a music daemon client so it should be simple enough.
|
|
|
|
|
|
** Random piecewise shuffle
|
|
|
|
#+begin_src shell
|
|
mpc listall | shuf --head-count 10 | xargs --replace='{}' mpc add '{}'
|
|
#+end_src
|