main: move getAverageSegmentSize() to playback_info (close #113)