@classmethod
def addEndTimes(cls, chapters, duration):
    """Add end times to chapters based on subsequent chapter start times
        Mediainfo only gives start times for each chapter

        Args:
            chapters (list): The parsed chapter info
            duration (int): Full video duration 

        """
    start_prev = duration
    for i in reversed(range(0, len(chapters))):
        chapters[i]['end'] = start_prev
        start_prev = chapters[i]['start']
