Mpc: Difference between revisions
From wikinotes
(→Usage) |
(→Usage) |
||
Line 16: | Line 16: | ||
mpc ls 'Adam and the Ants' # list files in subdir | mpc ls 'Adam and the Ants' # list files in subdir | ||
mpc update --wait 'Adam and the Ants' # update just one directory | mpc update --wait 'Adam and the Ants' # update just one directory | ||
mpc search title "ceases to be" # case-insensitive search (get path) | |||
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 --> |
Latest revision as of 15:57, 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 search title "ceases to be" # case-insensitive search (get path) mpc list artist | shuf | tail -n 10 # 10x random artists