Fixed a potential null pointer source when adding files exclusively with playlist.