XBMC 12 (Frodo) fix

This makes your excellent addon work with XBMC v12 "Frodo" (successfully tested) and maybe also with v11 "Eden" (not tested).

Enjoy