code: def bitrate(self):
          
          b=0
          if self.__dict__['bit_rate']:
              try:
                  b=int(self.__dict__['bit_rate'])
              except Exception as e:
                  print "None integer bitrate"
          return b
docs: Returns bitrate as an integer in bps