]> uap-core.de Git - uwplayer.git/commitdiff
fix repeat
authorOlaf Wintermann <olaf.wintermann@gmail.com>
Fri, 7 Jul 2023 21:14:45 +0000 (23:14 +0200)
committerOlaf Wintermann <olaf.wintermann@gmail.com>
Fri, 7 Jul 2023 21:14:45 +0000 (23:14 +0200)
application/player.c

index 2d631352423e21f5002270bfcd37791bb39cfc44..a2b522d841cb9d7cb006dd98e76c63985f475b58 100644 (file)
@@ -597,6 +597,8 @@ void PlayerEOF(Player *p) {
     if(win->playlist.repeatTrack) {
         char *cmd = "{ \"command\": [\"set_property\", \"playback-time\", 0] }\n";
         write(p->ipc, cmd, strlen(cmd));
+        cmd = "{ \"command\": [\"set_property\", \"pause\", false] }\n";
+        write(p->ipc, cmd, strlen(cmd));
     } else {
         AppExecProc(play_next, NULL);
     }