changed test to new code of segment getSegmentToDate
changed series to parallel and segment getSegmentsStillPlaying to getSegmentToDate
finished with segment add api hook
*transition is array now
*changed name getSegmentToDate to getSegmentsToDate
had to change getSegmentsToDate to getSegmentsWhichStillPlaying
finished with GET segments api hook
added DELETE api hook