Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Command line sync fails when brackets are in output file #182

Description

@Dr-W00

Running subsync-cmd (V0.17.0) in Windows 11. I have movies that are in the Plex suggested naming convention of \movies\MOVIE NAME (YEAR) {imdb-ID}\MOVIE NAME (YEAR) {imdb-ID}.EXT. When running subsync-cmd I get the error "Invalid output pattern". Replacing brackets with parenthesis it runs fine. Brackets in the sub file or ref file don't cause a problem, just the output file.

Otherwise, it runs like a peach. Slick piece of work.

FWIW - the screen copy below:

M:>subsync-cmd --effort=0.9 sync --sub="M:\Media\Movies\X-Men (2000) {imdb-tt0120903}\X-Men (2000) {imdb-tt0120903}.en.srt" --sub-lang=eng --ref="M:\Media\Movies\X-Men (2000) {imdb-tt0120903}\X-Men (2000) {imdb-tt0120903}.mp4" --ref-lang=eng --ref-stream-by-type=audio --out="M:\Media\Movies\X-Men (2000) {imdb-tt0120903}\X-Men (2000).en.srt" --overwrite
[!] Invalid output pattern
[-] sub: M:\Media\Movies\X-Men (2000) {imdb-tt0120903}\X-Men (2000) {imdb-tt0120903}.en.srt:0/1, type=subtitle/text, lang=eng
[-] ref: M:\Media\Movies\X-Men (2000) {imdb-tt0120903}\X-Men (2000) {imdb-tt0120903}.mp4:1/2, type=audio, lang=eng, fps=23.976023976023978
[-] out: M:\Media\Movies\X-Men (2000) {imdb-tt0120903}\X-Men (2000).en.srt, enc=UTF-8

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