update CLI.py and SYS/cli_parsing.py to add new command line options for the pipeline. Also updated SYS/pipeline.py to handle the new options. Modified plugins/mpv/LUA/main.lua and plugins/mpv/portable_config/input.conf to reflect changes in the pipeline configuration.

This commit is contained in:
2026-07-04 18:19:02 -07:00
parent c97f3df288
commit e748c21e2e
5 changed files with 62 additions and 25 deletions
+2 -6
View File
@@ -1452,9 +1452,7 @@ class PipelineExecutor:
if token.startswith("@"): # selection
selection = _cli_parsing().SelectionSyntax.parse(token)
if selection is not None:
first_stage_selection_indices = sorted(
[i - 1 for i in selection]
)
first_stage_selection_indices = [i - 1 for i in selection]
continue
if token == "@*":
first_stage_select_all = True
@@ -2893,9 +2891,7 @@ class PipelineExecutor:
if _cli_parsing().SelectionFilterSyntax.matches(item, filter_spec)
]
else:
selected_indices = sorted(
[i - 1 for i in selection]
) # type: ignore[arg-type]
selected_indices = [i - 1 for i in selection] # type: ignore[arg-type]
resolved_items = items_list if items_list else []
filtered = [