Said mayor and council have power and authority to pass such ordinances as they may think proper in regard to granting or not granting license to theatrical companies or performances, or for shows or other exhibitions, and to fix the amount of such licenses by ordinance.