- } else if(win->autoplayFolder) {
- char *next_file = util_find_next_file(win->file);
- if(next_file) {
- AppExecProc(open_next_file, next_file);
- }
+ cmd = "{ \"command\": [\"set_property\", \"pause\", false] }\n";
+ write(p->ipc, cmd, strlen(cmd));
+ } else {
+ AppExecProc(play_next, NULL);