As a quick fix you can modify the exaile/xl/collection.py file. Replace the 5 occurrences of "EventCodes." with "pyinotify.", such that:
self.mask = pyinotify.IN_MOVED_TO|pyinotify.IN_MOVED_FROM|\ pyinotify.IN_CREATE|pyinotify.IN_DELETE|pyinotify.IN_CLOSE_WRITE
As a quick fix you can modify the exaile/ xl/collection. py file. Replace the 5 occurrences of "EventCodes." with "pyinotify.", such that:
self.mask = pyinotify. IN_MOVED_ TO|pyinotify. IN_MOVED_ FROM|\
pyinotify. IN_CREATE| pyinotify. IN_DELETE| pyinotify. IN_CLOSE_ WRITE