(self, chapter_data)
return (start, end)
Parse a chapter to be removed
Parse a chapter to be removed
Parse a chapter to be removed
def parse_rem(self, chapter_data):
        """Parse a chapter to be removed"""
        if not "start" in chapter_data:
            raise ParameterMissing("start parameter missing")
        start = parse_time(chapter_data["start"])

        if not "end" in chapter_data:
            raise ParameterMissing("end parameter missing")
        end = parse_time(chapter_data["end"])

        return (start, end)
def parse_rem ( self , chapter_data ) : if not "start" in chapter_data : raise ParameterMissing ( "start parameter missing" ) start = parse_time ( chapter_data [ "start" ] ) if not "end" in chapter_data : raise ParameterMissing ( "end parameter missing" ) end = parse_time ( chapter_data [ "end" ] ) return ( start , end )