Toggle repeat option while playing
Posted: 09 Jul 2016 00:26
Hello
Is there a way to toggle the "repeat mode" of the mediaplayer while the media is playing ?
I managed to set it beforehand passing ('--input-repeat=-1") when creating the instance so any mediaplayer created with this instance will repeat the playback.
But now, I need a way to toggle it while it's playing. Is it possible ?
Is there a way to toggle the "repeat mode" of the mediaplayer while the media is playing ?
I managed to set it beforehand passing ('--input-repeat=-1") when creating the instance so any mediaplayer created with this instance will repeat the playback.
But now, I need a way to toggle it while it's playing. Is it possible ?