add CLI flag to set stop after current

This commit is contained in:
Drew Weymouth
2025-08-08 08:16:33 -07:00
parent d6ad0de122
commit 30ee5deb9c
5 changed files with 41 additions and 22 deletions
+4
View File
@@ -548,6 +548,10 @@ func (a *App) checkFlagsAndSendIPCMsg(cli *ipc.Client) error {
return cli.SeekBackOrPrevious()
case *FlagNext:
return cli.SeekNext()
case *FlagStop:
return cli.Stop()
case *FlagStopAfterCurrent:
return cli.StopAfterCurrent()
case *FlagShow:
return cli.Show()
case VolumeCLIArg >= 0: