Merge pull request #29 from MustafaSalih1993/dev

removed test code from mpd
This commit is contained in:
Mustafa Salih 2021-01-11 07:41:21 +03:00 committed by GitHub
commit e32d53902f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -770,7 +770,6 @@ pub fn get_mpd_current(config: &Config) -> String {
Ok(connection) => connection, Ok(connection) => connection,
_ => return String::from(""), _ => return String::from(""),
}; };
conn.volume(100).unwrap();
let current: Song = conn.currentsong().unwrap().unwrap(); let current: Song = conn.currentsong().unwrap().unwrap();
let result = format!( let result = format!(