update for new metadata using new XBMC as base for generic.py