Mpc: Difference between revisions
From wikinotes
(Created page with "mpc is a simple commandline client for mpd. = Usage = <blockquote> <source lang="bash"> mpc list artist | shuf | tail -n 10 # 10x random artists </source> </blockquote><...") |
(→Usage) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
mpc is a simple commandline client for [[mpd]]. | mpc is a simple commandline client for [[mpd]]. | ||
= Documentation = | |||
<blockquote> | |||
{| class="wikitable" | |||
|- | |||
| <code>man mpc</code> || https://man.archlinux.org/man/extra/mpc/mpc.1.en | |||
|- | |||
|} | |||
</blockquote><!-- Documentation --> | |||
= Usage = | = Usage = | ||
<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 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