refactors refresh_playlist
cleanup