def hdmi_force_hotplug_config_set(kodi_setting, all_settings):
 if (kodi_setting == 'true'):
  return '1'
 elif (all_settings.get('hdmi_edid_file', None) == 'true'):
  return '1'
 else:
  return 'remove_this_line'

def hdmi_force_hotplug_config_set ( kodi_setting , all_settings ) : if ( kodi_setting == 'true' ) : return '1' elif ( all_settings . get ( 'hdmi_edid_file' , None ) == 'true' ) : return '1' else : return 'remove_this_line'
hdmi_edid_file needs hdmi_force_hotplug but hdmi_force_hotplug doesnt need hdmi_edid_file .