src: added functions to restart player