Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: [pre-commit.ci] automatic fixes
Browse files Browse the repository at this point in the history
pre-commit-ci[bot] committed Oct 28, 2024
1 parent 80db9c8 commit 8ab34ac
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
@@ -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
14 changes: 8 additions & 6 deletions proxima/celery/tasks.py
Original file line number Diff line number Diff line change
@@ -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,
2 changes: 1 addition & 1 deletion proxima/settings/manager.py
Original file line number Diff line number Diff line change
@@ -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()

0 comments on commit 8ab34ac

Please sign in to comment.