Add repeat mode options to playlist #52

This commit is contained in:
Rafał Dzięgiel
2021-04-27 14:50:54 +02:00
parent de65eee106
commit fd2de8b9b6
2 changed files with 37 additions and 1 deletions

View File

@@ -560,7 +560,7 @@ class ClapperPlayer extends GstClapper.Clapper
debug(`end of stream: ${lastTrackId}`);
this.emitWs('end_of_stream', lastTrackId);
if(this.playlistWidget.nextTrack())
if(this.playlistWidget._handleStreamEnded(player))
return;
if(settings.get_boolean('close-auto')) {