Use preferences for xbmc api instead of harcoded value