#NEWLINE# @ reconnect #NEWLINE# def volume( self , level = None , interval = None ) : #NEWLINE# #INDENT# if level : #NEWLINE# #INDENT# self . client . setvol ( int ( level ) ) #NEWLINE# return #NEWLINE# #UNINDENT# if interval : #NEWLINE# #INDENT# level = ( int ( self . client . status ( ) [ 'volume' ] ) + int ( interval ) ) #NEWLINE# self . client . setvol ( int ( level ) ) #NEWLINE# return