magic constant not defined in the XBMC codebase?