|
@@ -43,7 +43,7 @@ impl Mpd {
|
|
|
fn get_text(&self) -> String {
|
|
|
match self.song {
|
|
|
Some(ref song) => match (&song.title, &song.tags.get("Artist")) {
|
|
|
- (&Some(ref title), &Some(ref artist)) => format!("{} - {}", title, artist),
|
|
|
+ (&Some(ref title), &Some(ref artist)) => format!("{} - {}", artist, title),
|
|
|
(&Some(ref title), &None) => title.to_string(),
|
|
|
_ => {
|
|
|
let path = Path::new(&song.file);
|