CLI playlist support
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user