#NEWLINE# @ protocol . commands . add ( 'disableoutput' , outputid = protocol . UINT ) #NEWLINE# def disableoutput( context , outputid ) : #NEWLINE# #INDENT# '\n    *musicpd.org, audio output section:*\n\n        ``disableoutput {ID}``\n\n        Turns an output off.\n    ' #NEWLINE# if ( success == 0 ) : #NEWLINE# #INDENT# success = context . core . mixer . set_mute ( False ) . get ( ) #NEWLINE# if ( not success ) : #NEWLINE# #INDENT# raise exceptions . MpdSystemError ( 'problems disabling output' ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# raise exceptions . MpdNoExistError ( 'No such audio output' )