updated for XBMC downloader