updated xbmc script to support all the ratios