Made it look cooler

This commit is contained in:
2022-10-14 02:30:44 -04:00
parent fb2e2a831e
commit 22e9aaf60e
3 changed files with 120 additions and 74 deletions

View File

@@ -78,15 +78,15 @@ func ConvertToArray(ArtistTree map[string]map[string]map[string]string) []string
func FormatString(a interface{}) string {
if a == "play" {
return "Playing"
return "⏵︎"
} else if a == "1" {
return "On"
return ""
} else if a == "0" {
return "Off"
} else if a == "stop" {
return "Stopped"
return "x"
} else if a == "⏹︎" {
return "stopped"
} else {
return "Paused"
return "⏸︎"
}
}