Synoindex check if disabled

This commit is contained in:
Ruud
2011-09-08 11:22:36 +02:00
parent 391fbbad55
commit e544b04347
@@ -12,6 +12,7 @@ class Synoindex(Notification):
addEvent('renamer.after', self.addToLibrary)
def addToLibrary(self, group = {}):
if self.isDisabled(): return
command = ['/usr/syno/bin/synoindex', '-A', group.get('destination_dir')]
log.info(u'Executing synoindex command: %s ' % command)