CLI playlist support

This commit is contained in:
Dmitry Sergeev
2026-09-01 22:16:36 +03:00
parent 362ae15867
commit cb5321cd8b
3 changed files with 110 additions and 0 deletions
+10
View File
@@ -125,3 +125,13 @@ func playlistRuntimeError(err error) error {
}
return err
}
func shouldAutoStartPlaylist(
args appArgs,
playlist playback.Playlist,
) bool {
return args.PlaylistPath != "" &&
args.VideoFlowId == "" &&
args.AudioFlowId == "" &&
len(playlist.Entries) > 0
}