when you remove the TSmedia or kodidirect in the right way(opkg remove...) all files installed by the plugins will be removed.
The files downloaded to hdd or usb during runtime will not be removed and you have to remove manually after removing the plugins,this is because both plugins use external addons and unable to control or to know what files downloaded and where