module MPD::Plugins::Outputs
Commands related to audio output devices.
Public Instance Methods
disableoutput(num)
click to toggle source
Disables specified output. @param [Integer] num Number of the output to disable. @macro returnraise
# File lib/ruby-mpd/plugins/outputs.rb, line 21 def disableoutput(num) send_command :disableoutput, num end
enableoutput(num)
click to toggle source
Enables specified output. @param [Integer] num Number of the output to enable. @macro returnraise
# File lib/ruby-mpd/plugins/outputs.rb, line 14 def enableoutput(num) send_command :enableoutput, num end
outputs()
click to toggle source
Gives a list of all outputs @return [Array<Hash>] An array of outputs.
# File lib/ruby-mpd/plugins/outputs.rb, line 7 def outputs send_command :outputs end
toggleoutput(num)
click to toggle source
Toggles specified output. @param [Integer] num Number of the output to enable. @macro returnraise
# File lib/ruby-mpd/plugins/outputs.rb, line 28 def toggleoutput(num) send_command :toggleoutput, num end