lib/rmpd/commands/admin.rb in rmpd-1.0.5 vs lib/rmpd/commands/admin.rb in rmpd-1.1.0
- old
+ new
@@ -1,16 +1,16 @@
module Rmpd
module Commands
- complex_command :outputs, :regexp => /(^outputid: )/i
- complex_command :tagtypes, :regexp => /(^tagtype: )/i, :min_version => [0, 13, 0]
-
+ simple_command :outputs
+ simple_command :tagtypes, :min_version => [0, 13, 0]
simple_command :disableoutput
simple_command :enableoutput
simple_command :update
+ simple_command :_kill
def kill
- send_command("kill")
+ _kill
@socket.close
end
alias_method :disable_output, :disableoutput
alias_method :tag_types, :tagtypes