removing code duplications in playlist update SUP-2792 #time 5h

Sorry, please disregard.