Subtitle Sync is a powerful and flexible tool designed to simplify subtitle synchronization.
Find a file
Neureka 767bc3e990
All checks were successful
Build and Deploy / build-edge (push) Successful in 15s
Build and Deploy / build-release (push) Has been skipped
Refactor database context handling and sync logic
Refactored `Program` to use scoped service providers for
database context initialization, ensuring proper dependency
management. Updated `SyncEngine` to use `using` statements
with scoped service providers for better resource disposal.

Reorganized `using` directives in `SyncEngine.cs` for clarity.
Refactored the `Sync` method to streamline logic, reduce
redundancy, and improve maintainability. Replaced direct
modification of `syncIndexEntity` with the addition of new
`SyncIndex` entities for consistency.

Enhanced logging for better traceability and reorganized
operations to align with best practices for dependency
injection and database context management.
2025-09-23 19:21:47 -07:00
.forgejo/workflows chore(build): update GitHub Actions workflow to use environment variables for registry credentials and image name 2025-08-24 19:57:59 -07:00
src Refactor database context handling and sync logic 2025-09-23 19:21:47 -07:00
.env.example fix(env): update .env.example to use quotes for string values 2025-08-24 22:54:20 -07:00
.gitignore Update .gitignore to exclude build and IDE-specific files 2025-09-18 11:18:49 -07:00
.gitlab-ci.yml Edit .gitlab-ci.yml 2025-05-28 10:49:30 -07:00
Dockerfile build(deps): upgrade Dockerfile to .NET 10.0-preview for base and build images 2025-08-24 19:52:26 -07:00
README.md refactor(docs): update README to use 'services' key for Docker configuration 2025-08-24 20:32:08 -07:00
renovate.json Edit renovate.json 2025-06-02 15:30:19 -07:00
subtitle-sync.csproj Switch to metadata-based file sync, remove hashing 2025-09-18 13:35:40 -07:00
subtitle-sync.sln Add initial implementation of subtitle sync engine with Docker support 2025-04-14 13:19:10 -07:00

Subtitle Sync

Subtitle Sync is a powerful and flexible tool designed to simplify subtitle synchronization. It supports both one-time and scheduled syncing, offering compatibility with multiple synchronization engines. Subtitle Sync intelligently detects changes to the media, subtitles, or sync engine and only re-syncs when necessary; ensuring optimal performance and efficiency.

Supported Sync Engines

Supported SyncEngine
✔️ Alass
✔️ AutoSubSync
✔️ FFSubSync

Usage

services:
  subtitle-sync:
    image: "code.neureka.dev/tools/subtitle-sync"
    container_name: "subtitle-sync"
    env_file: ".env"
    volumes:
      - "./data:/app/data"
      - "$MEDIA_DIRECTORY:/media"
    command: ["sync", "/media", "--service"]
    restart: "unless-stopped"