Added user defined playlist function to detector.