Example #1
0
 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
Example #2
0
 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