Save a little memory allocation and time by only constructing playlistitem if it is actually needed.