Corrects for any offsets that may have been created by loop and skip
        events

def parse_duration(self):
        """
        Corrects for any offsets that may have been created by loop and skip
        events
        """
        for edit in self.track_edits:
            if edit.edit_type == 'loopPlugin':
                self.duration += (
                    (edit.options['end'] -
                     edit.options['start']) *
                    float(edit.options['loop'])
                )