I raised the issue with Kodi but it appears to have hit a dead end. https://trac.kodi.tv/ticket/17908