Mpc: Difference between revisions
From wikinotes
No edit summary |
(→Usage) |
||
Line 13: | Line 13: | ||
<blockquote> | <blockquote> | ||
<source lang="bash"> | <source lang="bash"> | ||
mpc ls # list all files in music-dir | |||
mpc ls 'Adam and the Ants' # list files in subdir | |||
mpc update --wait 'Adam and the Ants' # update just one directory | |||
mpc list artist | shuf | tail -n 10 # 10x random artists | mpc list artist | shuf | tail -n 10 # 10x random artists | ||
</source> | </source> | ||
</blockquote><!-- Usage --> | </blockquote><!-- Usage --> |
Revision as of 15:26, 16 April 2022
mpc is a simple commandline client for mpd.
Documentation
man mpc
https://man.archlinux.org/man/extra/mpc/mpc.1.en
Usage
mpc ls # list all files in music-dir mpc ls 'Adam and the Ants' # list files in subdir mpc update --wait 'Adam and the Ants' # update just one directory mpc list artist | shuf | tail -n 10 # 10x random artists