add script for calculating MPC playlist duration