Decode function tries to detect playlist type.