#NEWLINE# def cmd_status( self , conn ) : #NEWLINE# #INDENT# for line in super ( Server , self ) . cmd_status ( conn ) : #NEWLINE# #INDENT# ( yield line ) #NEWLINE# #UNINDENT# if ( self . current_index > ( - 1 ) ) : #NEWLINE# #INDENT# item = self . playlist [ self . current_index ] #NEWLINE# ( yield ( 'bitrate: ' + unicode ( ( item . bitrate / 1000 ) ) ) ) #NEWLINE# ( pos , total ) = self . player . time ( ) #NEWLINE# ( yield ( ( ( 'time: ' + unicode ( pos ) ) + ':' ) + unicode ( total ) ) )