Added OpenELEC case, downlaod logic change