fix thumbnail extraction

fix trac http://trac.kodi.tv/ticket/15601