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:
+2
-6
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user