[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix subtitle and attachment extraction when input path contains quotes #12575

Merged
merged 2 commits into from
Sep 7, 2024

Conversation

dmitrylyzo
Copy link
Contributor
@dmitrylyzo dmitrylyzo commented Sep 3, 2024

Changes

Issues
Fixes #10991
#12450
Fixes #12570

@gnattu
Copy link
Member
gnattu commented Sep 3, 2024

Probably also related: #12450

I've seen the path being escaped twice in that CLI

@dmitrylyzo dmitrylyzo changed the title Fix subtitle extraction when input path contains quotes Fix subtitle and attachment extraction when input path contains quotes Sep 3, 2024
@dmitrylyzo
Copy link
Contributor Author
dmitrylyzo commented Sep 3, 2024

Probably also related: #12450

I've seen the path being escaped twice in that CLI

FFmpeg is complaining about bad format, but I don't see double escaping in the command from that issue.
In the first line, these are two strings (quoted): process.StartInfo.FileName and process.StartInfo.Arguments.

Quotes in the input path will cause problems though.

@gnattu
Copy link
Member
gnattu commented Sep 3, 2024

FFmpeg is complaining about bad format, but I don't see double escaping in the command from that issue.

Then that is really weird because, the cli itself is fine if there is no quote issues.

@dmitrylyzo dmitrylyzo marked this pull request as ready for review September 4, 2024 07:21
@nielsvanvelzen nielsvanvelzen added the stable backport Backport into the next stable release label Sep 7, 2024
@Bond-009 Bond-009 merged commit 3c3ebe8 into jellyfin:release-10.9.z Sep 7, 2024
15 of 16 checks passed
@dmitrylyzo dmitrylyzo deleted the fix-subtitleextract branch September 7, 2024 20:48
joshuaboniface pushed a commit that referenced this pull request Sep 7, 2024
Fix subtitle and attachment extraction when input path contains quotes

Original-merge: 3c3ebe8

Merged-by: Bond-009 <bond.009@outlook.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
@jellyfin-bot jellyfin-bot removed the stable backport Backport into the next stable release label Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants