add 3 command hooks : on_play on_pause on_stop