Skip to content

Commit

Permalink
chore: [pre-commit.ci] automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Apr 15, 2024
1 parent 3ac9312 commit 0e58232
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion proxima/app/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 8 additions & 6 deletions proxima/celery/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion proxima/settings/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 0e58232

Please sign in to comment.