whole_func_string: function (options) {
    var self = this
    if (!(self instanceof Device)) return new Device(options)
    EventEmitter.call(self)
  
    self.config = options
    self.host = self.config.addresses[0]
    self._playing = false
  }
func_code_string: function (options) {
    var self = this
    if (!(self instanceof Device)) return new Device(options)
    EventEmitter.call(self)
  
    self.config = options
    self.host = self.config.addresses[0]
    self._playing = false
  }
func_documentation_string: Chromecast
  Supported Media: https://developers.google.com/cast/docs/media
  Receiver Apps: https://developers.google.com/cast/docs/receiver_apps
   
  Device
  @param {Array}  options.address      IP address
  @param {String} options.name         name