added stuff to comply with xbmc guidelines