| Crates.io | mpdsh |
| lib.rs | mpdsh |
| version | 0.1.0 |
| created_at | 2020-06-14 05:20:40.408811+00 |
| updated_at | 2020-06-14 05:20:40.408811+00 |
| description | Shell-like MPD client |
| homepage | https://github.com/zuntan/mpdsh |
| repository | https://github.com/zuntan/mpdsh |
| max_upload_size | |
| id | 253772 |
| size | 112,787 |
Shell-like MPD ( Music Player Daemon ) client written in Rust.
This is a simple CLI application. You can easily control MPD by using commands such as ls and cd. Also, rustyline completion will help you enter the names of directories and files.
https://crates.io/crates/rustyline
Usage: mpdsh [options]
Options:
-h, --host localhost
MPD host address
-p, --port 6600 MPD port number
-d, --protolog Output protocol log to stderr.
-v, --version Print version info and exit.
--help Print this help menu.
help
cd [<DIR>]
ls [-l] [<DIR|FILE>]
pl [-l]
=> The current song stopped on or playing.. The next song to be played.plist )add [<FILE|DIR>]
Adds the file to the playlist (directories add recursively).
If no file is specified, all files under the current directory are targeted.
You can use the
alias( a )
add_top [<FILE|DIR>]
at )add_uri <URI> [<POSITION>]
del <POS>|<START:END>
clr
move <POS>|<START:END> <TOPOS>
play [<POS>]
p )stop
s )pause
u )resume
e )prev
r )next
n )random [<STATE>]
repeat [<STATE>]
single <STATE>
oneshotvolume <VOL>
v )status
st )update
cmd <MPDCOMMAND> [<MPDCOMMAND_ARG> ...]
quit
q )<TAB> key
<UP> <DOWN> key
git clone https://github.com/zuntan/mpdsh.git
cd mpdsh
cargo build
cargo run -- -h
mpdsh is licensed under either of the following, at your option:
This is the first I wrote in Rust.
Rust is loved by so many people, and I'll love it too. But I'm just being scolded by the Rust compiler.
My love is still lacking.