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:
@@ -1917,7 +1917,7 @@ class CmdletExecutor:
|
||||
|
||||
selection = SelectionSyntax.parse(arg)
|
||||
if selection is not None:
|
||||
zero_based = sorted(idx - 1 for idx in selection)
|
||||
zero_based = [idx - 1 for idx in selection]
|
||||
for idx in zero_based:
|
||||
if idx not in selected_indices:
|
||||
selected_indices.append(idx)
|
||||
@@ -2326,7 +2326,7 @@ class CLI:
|
||||
self._pipeline_executor = PipelineExecutor(config_loader=self._config_loader)
|
||||
|
||||
@staticmethod
|
||||
def parse_selection_syntax(token: str) -> Optional[Set[int]]:
|
||||
def parse_selection_syntax(token: str) -> Optional[List[int]]:
|
||||
return SelectionSyntax.parse(token)
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user