Module: Rmpd::Command::NoidleStrategy

Defined in:
lib/rmpd/command.rb

Instance Method Summary collapse

Instance Method Details

#execute(connection, *args) ⇒ Object



57
58
59
60
61
62
63
64
# File 'lib/rmpd/command.rb', line 57

def execute(connection, *args)
  connection.synchronize do
    connection.send_command(@name, *args)
    # The MPD server will never respond to a noidle command.
    # http://www.mail-archive.com/[email protected]/msg02246.html
    nil
  end
end