def getGroups(self, entity=None): groups = GenericSource.getGroups(self, entity) if entity.isType('album') or entity.isType('track'): groups.remove('desc') if entity.isType('artist'): groups.remove('images') return groups
def getGroups(self, entity=None): groups = GenericSource.getGroups(self, entity) if not entity.isType('app') and not entity.isType('movie') and not entity.isType('tv'): groups.remove('desc') return groups