add playing time calculation