Some work on playlist in preparation for playlist addition and removal