using System.Collections.Generic;
using System.Linq;
namespace LibMpc
{
public partial class Commands
{
///
/// https://www.musicpd.org/doc/protocol/reflection_commands.html
///
public static class Reflection
{
// TODO: config
// TODO: commands
// TODO: notcommands
public class TagTypes : IMpcCommand>
{
public string Value => "tagtypes";
public IEnumerable FormatResponse(IList> response)
{
var result = response.Where(item => item.Key.Equals("tagtype")).Select(item => item.Value);
return result;
}
}
// TODO: urlhandlers
// TODO: decoders
}
}
}