https://github.com/OpenELEC/xbmc/commit/20eb923c7b4b4d9d27328d621c4f4f073ee4dc40