Compare commits

...

2 commits
0.1 ... master

Author SHA1 Message Date
8116938e83 bumped to version 0.1.1 2025-07-28 09:31:02 +03:30
0af753ea1f Use platformdirs for default input and output dirs 2025-07-28 09:27:14 +03:30
2 changed files with 4 additions and 3 deletions

View file

@ -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"

View file

@ -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: