How to completely remove Xbmc from your Apple TV 2

If you want to remove Gotham to then Install Kodi its best to remove all traces of XBMC first to do this use this code

First ssh root@apple tv ip
use password

PHP Code:
apt-get remove org.xbmc.xbmc-atv2
apt
-get autoremove
rm 
-Rf /private/var/mobile/Library/Preferences/XBMC
rm 
-Rf /private/var/stash/Applications/XBMC.frappliance