CMUS-REMOTE(1) | General Commands Manual | CMUS-REMOTE(1) |
cmus-remote - control cmus
cmus-remote [OPTION]...
[FILE|DIR|PLAYLIST]...
cmus-remote -C COMMAND...
cmus-remote
Add FILE/DIR/PLAYLIST to playlist, library (-l) or play queue (-q).
If no arguments are given cmus-remote reads raw commands from stdin (one command per line). Raw commands are cmus' command mode commands. These same commands are used in configuration files and key bindings. cmus(1) contains full list of commands. For consistency also searching is supported: -C /text.
If -C is given, all command line arguments are treated as raw commands.
--server SOCKET
--passwd PASSWD
--help
--version
-p, --play
-u, --pause
-U, --pause-playback
-s, --stop
-n, --next
-r, --prev
-R, --repeat
-S, --shuffle
-v, --volume VOL
-k, --seek SEEK
-f, --file FILE
-Q
-l, --library
-P, --playlist
-q, --queue
-c, --clear
-C, --raw
Special commands only available to cmus-remote.
status
format_print
Add playlists/files/directories/URLs to library view (1 & 2):
$ cmus-remote -l music.m3u \ http://live.urn1350.net:8080/urn_high.ogg
Load (clear and add) playlist to playlist view (3):
$ cmus-remote -c music.m3u
Three different ways to toggle repeat:
$ cmus-remote -R $ cmus-remote -C "toggle repeat" $ cmus-remote toggle repeat ^D
Query settings or key bindings:
$ cmus-remote -C "set repeat?" setting: 'repeat=false' $ cmus-remote -C "showbind common a" bind common a win-add-l
Dump the playlist to stdout:
$ cmus-remote -C "save -p -" [...]
Search works too:
$ cmus-remote -C /beatles
Written by Timo Hirvonen <tihirvon@gmail.com>
05/11/2006 | cmus |