namespace LibMpc
{
public partial class Commands
{
///
/// https://www.musicpd.org/doc/protocol/output_commands.html
///
public class Output
{
///
/// Turns an output off.
///
public class DisableOutput : IMpcCommand
{
private readonly int _outputId;
public DisableOutput(int outputId)
{
_outputId = outputId;
}
public string Value => string.Join(" ", "disableoutput", _outputId);
public object ParseResponse(object response)
{
throw new System.NotImplementedException();
}
}
///
/// Turns an output on.
///
public class EnableOutput : IMpcCommand
{
private readonly int _outputId;
public EnableOutput(int outputId)
{
_outputId = outputId;
}
public string Value => string.Join(" ", "enableoutput", _outputId);
public object ParseResponse(object response)
{
throw new System.NotImplementedException();
}
}
// TODO: toggleoutput // Turns an output on or off, depending on the current state.
///
/// Shows information about all outputs.
///
public class Outputs : IMpcCommand
{
public string Value => "outputs";
public object ParseResponse(object response)
{
throw new System.NotImplementedException();
}
}
}
}
}