diff options
| author | krolxon <krolyxon@tutanota.com> | 2024-04-26 17:09:57 +0530 |
|---|---|---|
| committer | krolxon <krolyxon@tutanota.com> | 2024-04-26 17:09:57 +0530 |
| commit | e500c52e47cddd1fa1496c702b8ceeb74e43ff17 (patch) | |
| tree | ac841ab4fd1eebb8a6f1cc2da571d0ad0e05faf3 | |
| parent | 91a7aeab42bead688909640f746fd673ee6630a5 (diff) | |
add screenshot
| -rwxr-xr-x | README.md | 5 | ||||
| -rwxr-xr-x | assets/ss.png | bin | 0 -> 1862562 bytes | |||
| -rwxr-xr-x | src/main.rs | 12 |
3 files changed, 11 insertions, 6 deletions
@@ -1,5 +1,9 @@ +## rmptui (Rust Music Player TUI(💀)) A MPD client in Rust +## rmptui in action + + ### Keys - `q` OR `Ctr+C` to quit - `p` to toggle pause @@ -23,6 +27,7 @@ A MPD client in Rust - `U` to update the MPD database - `r` to toggle repeat - `z` to toggle random +- `/` to search ### TODO - [x] fix performance issues diff --git a/assets/ss.png b/assets/ss.png Binary files differnew file mode 100755 index 0000000..cb9778b --- /dev/null +++ b/assets/ss.png diff --git a/src/main.rs b/src/main.rs index 060d947..1a13a1a 100755 --- a/src/main.rs +++ b/src/main.rs @@ -37,12 +37,12 @@ fn main() -> AppResult<()> { Some(Command::Pause) => app.conn.pause(), Some(Command::Toggle) => app.conn.toggle_pause(), _ => { - let mut vec: Vec<RSong> = Vec::new(); - for filename in app.conn.songs_filenames { - let song = RSong::new(&mut app.conn.conn, filename); - vec.push(song); - } - println!("{:#?}", vec); + // let mut vec: Vec<RSong> = Vec::new(); + // for filename in app.conn.songs_filenames { + // let song = RSong::new(&mut app.conn.conn, filename); + // vec.push(song); + // } + // println!("{:#?}", vec); } } |
