Made it look cooler
This commit is contained in:
@@ -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 "⏸︎"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user