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

%CompleteName% does not print filename correctly if it contains a '%' character #1954

Open
RobertKrawitz opened this issue Jan 29, 2024 · 0 comments
Assignees
Labels

Comments

@RobertKrawitz
Copy link

This is MediaInfo 23.03:

$ mediainfo "--Output=General;%Duration% %CompleteName%\n" test.mp4 test_%TEST%.mp4
133700 test.mp4
964134 test_.mp4

If the file name contains just one % character, it hangs:

$ mediainfo "--Output=General;%Duration% %CompleteName%\n" test.mp4 test_%TEST.mp4
...

My use case is that I use %...% as comment syntax within filenames.

@JeromeMartinez JeromeMartinez transferred this issue from MediaArea/MediaInfo Jan 29, 2024
@JeromeMartinez JeromeMartinez self-assigned this Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants