<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_chromecast_from_service(services, tries=None, retry_wait=None, timeout=None, blocking=True):
 """Creates a Chromecast object from a zeroconf service."""

    # Build device status from the mDNS service name info, this
    # information is the primary source and the remaining will be
    # fetched later on.
    services, zconf, uuid, model_name, friendly_name = services
    _LOGGER.debug("_get_chromecast_from_service %s", services)
    cast_type = CAST_TYPES.get(model_name.lower(),
                               CAST_TYPE_CHROMECAST)
    device = DeviceStatus(
        friendly_name=friendly_name, model_name=model_name,
        manufacturer=None, uuid=uuid, cast_type=cast_type,
    )
    return Chromecast(host=None, device=device, tries=tries, timeout=timeout,
                      retry_wait=retry_wait, blocking=blocking,
                      services=services, zconf=zconf)