Closed kg04ls closed 3 years ago
You could put your queued files in a playlist, then use an event callback to wait for END_FILE events and on END_FILE delete the first entry (index 0) in the playlist using playlist_remove. You could also ignore mpv's playlist handling entirely and have your own queue that you schedule e.g. by using wait_for_playback in a loop on a separate thread.
I'm closing this issue because it seems it is resolved.
I want music queue, not playlist. How to do what after music played, it deleted from playlist?