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

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

Open
Dr-W00 opened this issue Mar 15, 2024 · 0 comments
Open

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

Dr-W00 opened this issue Mar 15, 2024 · 0 comments

Comments

@Dr-W00
Copy link

Dr-W00 commented Mar 15, 2024

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant