Make kodi handling smarter

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>