Munch command
This commit is contained in:
parent
5556ea70df
commit
c9ac64d504
4 changed files with 7 additions and 13 deletions
|
@ -21,7 +21,6 @@ pub trait Noise {
|
|||
fn shuf(&mut self);
|
||||
fn get_status(&mut self, verbose: bool) -> String;
|
||||
fn list_queue(&mut self, file: bool, _verbose: bool);
|
||||
// fn get_art(&mut self);
|
||||
}
|
||||
|
||||
impl Noise for Client {
|
||||
|
@ -80,9 +79,8 @@ impl Noise for Client {
|
|||
}
|
||||
|
||||
fn munch(&mut self) {
|
||||
// let current_song = self.currentsong().unwrap().unwrap().place.unwrap();
|
||||
// self.delete(current_song).unwrap();
|
||||
todo!("Not net implemented")
|
||||
let current_song = self.currentsong().unwrap().unwrap().place.unwrap();
|
||||
self.delete(current_song.pos).unwrap();
|
||||
}
|
||||
|
||||
fn length(&mut self) {
|
||||
|
@ -186,11 +184,6 @@ impl Noise for Client {
|
|||
|
||||
output.join("\n")
|
||||
}
|
||||
|
||||
// fn get_art(&mut self) {
|
||||
// let current_song = self.currentsong().unwrap().unwrap().file;
|
||||
// self.albumart(¤t_song).unwrap();
|
||||
// }
|
||||
}
|
||||
|
||||
fn format_song(song: Song) -> String {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue