prep 0.2.6

This commit is contained in:
Javanaut
2026-04-13 20:04:25 +02:00
parent e614ca5d75
commit 037388886e
49 changed files with 5702 additions and 490 deletions

View File

@@ -369,6 +369,7 @@ from ffx.constants import (
DEFAULT_SHOW_INDICATOR_EPISODE_DIGITS,
DEFAULT_SHOW_INDICATOR_SEASON_DIGITS,
)
from ffx.i18n import resolve_application_language
template_path = Path(os.environ["FFX_CONFIG_TEMPLATE_FILE"])
environment = Environment(
@@ -381,6 +382,7 @@ template = environment.get_template(template_path.name)
sys.stdout.write(
template.render(
language_json=json.dumps(resolve_application_language()),
database_path_json=json.dumps(os.environ["FFX_DATABASE_PATH"]),
log_directory_json=json.dumps(os.environ["FFX_LOG_DIRECTORY"]),
subtitles_directory_json=json.dumps(os.environ["FFX_SUBTITLES_DIRECTORY"]),