Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
8116938e83 | |||
0af753ea1f |
2 changed files with 4 additions and 3 deletions
|
@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||
|
||||
[project]
|
||||
name = "srtify"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
description = "CLI tool for translating SRT files using Gemini AI"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
import json
|
||||
from pathlib import Path
|
||||
from platformdirs import user_documents_path
|
||||
from typing import Tuple, Optional
|
||||
from srtify.core.models import AppSettings, ApiConfig, DirectoryConfig, TranslationConfig
|
||||
from srtify.utils.paths import get_config_path
|
||||
|
||||
|
||||
home_dir = Path.home()
|
||||
DEFAULT_INPUT_DIR = str(home_dir / "Documents" / "Subtitles")
|
||||
DEFAULT_OUTPUT_DIR = str(home_dir / "Documents" / "Subtitles" / "Translated")
|
||||
DEFAULT_INPUT_DIR = str(user_documents_path() / "Subtitles")
|
||||
DEFAULT_OUTPUT_DIR = str(user_documents_path() / "Subtitles" / "Translated")
|
||||
|
||||
|
||||
class SettingsManager:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue