diff --git a/proxima/app/link.py b/proxima/app/link.py index 328530b..217b366 100644 --- a/proxima/app/link.py +++ b/proxima/app/link.py @@ -140,7 +140,7 @@ def batch_link(self): logger.critical( "[red bold]Oh dear. All the proxies failed to link.[/]\n" "[red]Resolve might not like your encoding settings or something else is wrong.[/]\n", - exc_info=True + exc_info=True, # TODO: Add troubleshooting wiki link here # Like so: `"[cyan]See [troubleshooting](link)"` # labels: enhancement diff --git a/proxima/celery/tasks.py b/proxima/celery/tasks.py index bb2e3f5..e2ea0b2 100644 --- a/proxima/celery/tasks.py +++ b/proxima/celery/tasks.py @@ -170,12 +170,14 @@ def encode_proxy(self, job_dict: dict) -> str: # labels: enhancement # VIDEO FILTERS "-vf", - f"scale=-2:{ps.vertical_res}," - f"scale={job.input_level}:out_range=limited, " - f"{ffmpeg_video_flip(job)}" - f"format={ps.pix_fmt}" - if ps.pix_fmt - else "", + ( + f"scale=-2:{ps.vertical_res}," + f"scale={job.input_level}:out_range=limited, " + f"{ffmpeg_video_flip(job)}" + f"format={ps.pix_fmt}" + if ps.pix_fmt + else "" + ), # AUDIO "-c:a", ps.audio_codec, diff --git a/proxima/settings/manager.py b/proxima/settings/manager.py index e697f11..53bd6d6 100644 --- a/proxima/settings/manager.py +++ b/proxima/settings/manager.py @@ -19,7 +19,7 @@ from rich import print from rich.panel import Panel -from proxima.app.core import setup_rich_logging, app_exit +from proxima.app.core import app_exit, setup_rich_logging from proxima.settings import dotenv_settings_file, user_settings_file setup_rich_logging()