Removed code that was used before detector used playlist.