public string[] TagTypes()
{
MpdResponse response = this.getConnection().Exec("tagtypes");
string[] ret = new string[response.Message.Count];
for (int i = 0; i < ret.Length; i++) {
KeyValuePair<string, string> line = response[i];
if (!line.Key.Equals("tagtype"))
throw new InvalidMpdResponseException("Key of line " + (i) + " is not 'tagtype'");
ret[i] = line.Value;
}
return ret;
}