I do frequently use this feature when its available in a player. Selecting individual tracks prior to starting playback isn't viable for me, choosing to stop on demand (but not mid-song) is.
Are you looking for --keep-open=always? This will cause playback to pause whenever the current file is completed, even if it's not the final entry in the current playlist.
After re-reading the issue title some 10x, my guess is he is looking for a way to not auto-advance the playlist, and wait for user input?
If you're looking for a key to do something like "stop after the end of this track" you could always use a hotkey to cycle the value of keep-open, so pushing it will enable keep-open=always. Which is the option to cause the player to pause at the end of every file.
@garoto This is an example playlist. x marks my position:
1. Closer - 5:55
2. Ida Lupino - 7:35
3. Started (Paul Bley) - 5:21
4. Open, to Love - 7:14 x
5. Harlem - 3:26
6. Seven - 7:25
7. Nothing Ever Was, Anyway - 6:02
In this example, I want to stop after the currently playing song, "Open, to Love". I may resume playback later from "Harlem". The playlist should remain active.
If you're looking for a key to do something like "stop after the end of this track" you could always use a hotkey to cycle the value of
keep-open, so pushing it will enablekeep-open=always. Which is the option to cause the player to pause at the end of every file.
I understand. Could you quickly show to to bind the command to a key so I can close this issue after verifying?
Just edit input.conf with the desired behavior. So if you want to use the key F, you'd add: F cycle-values keep-open no always to input.conf.
Most helpful comment
Just edit
input.confwith the desired behavior. So if you want to use the keyF, you'd add:F cycle-values keep-open no alwaysto input.conf.