added playlist duration with add duration function