implement code for get_playlist_by_id