Mpc: Difference between revisions

From wikinotes
No edit summary
 
(One intermediate revision by the same user not shown)
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 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