Skip to content

/batch endpoint returns 200 but never processes files, even with DEBUG=True #353

Description

@bryangrandy

Setup:

  • Running mccloud/subgen:latest on Synology DSM via Container Manager (not Docker Desktop)
  • Volume mount: /volume1/Videos → /media (rw)
  • Environment: PUID=99, PGID=100, DEBUG=True
  • Folder permissions confirmed correct (drwxr-xr-x)
  • Confirmed via container terminal that the app can see the files (ls -la /media/[folder] shows all video files correctly)
  • Confirmed via ffprobe that a sample .mp4 has a valid video + audio stream, no embedded subtitle track, audio tagged as (eng) in metadata (this may or may not be accurate — audio is not actually English)

What I did:
POST to /batch?directory=%2Fmedia%2F[FolderName]

What happens:

  • Response: 200, body: null
  • Logs show only:
    • DEBUG: /media/[FolderName]
    • DEBUG: The folders are:
    • INFO: Starting to search folders to see if we need to create subtitles.
  • No further log lines ever appear, even with DEBUG=True
  • CPU usage stays near 0%, confirming no transcription is actually happening
  • No .srt files are created
  • Confirmed the folder contains video files with no existing .srt subtitle files (verified manually) and no .subgen_skip marker file present

What I expected:
Per-file processing to begin, or at minimum, DEBUG-level log lines explaining why each file is being skipped.

Question:
Is there a specific default setting (e.g., related to audio language detection or PREFERRED_AUDIO_LANGUAGES) that could cause transcribe_existing() to silently exit without processing or logging anything for a folder, even when DEBUG is enabled? Any guidance on what additional environment variables to check would be appreciated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions