set category on download

to close https://github.com/styxit/HTPC-Manager/issues/276
What does this function do? nothing is returned or set as far as i can see.