Extract listener variable to help identify duplication.
Extract listener variable to help identify duplication.

julianghionoiu/tdl-client-python,tdpreece/tdl-client-python,tdpreece/tdl-client-python,julianghionoiu/tdl-client-python