Patch for hanging handler and video duration command escaping