simplify output selection
This commit is contained in:
parent
84d2b5623c
commit
de08d72f8c
@ -44,11 +44,6 @@ def main():
|
|||||||
play out depending on output mode
|
play out depending on output mode
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if stdin_args.mode:
|
|
||||||
output = import_module(f'ffplayout.output.{stdin_args.mode}').output
|
|
||||||
output()
|
|
||||||
|
|
||||||
else:
|
|
||||||
script_dir = Path(__file__).parent.absolute()
|
script_dir = Path(__file__).parent.absolute()
|
||||||
output_dir = script_dir.joinpath('ffplayout', 'output')
|
output_dir = script_dir.joinpath('ffplayout', 'output')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user