This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Poll: Would you like to see these features implemented?
You do not have permission to vote in this poll.
Yes
33.33%
1 33.33%
Some
33.33%
1 33.33%
No
0%
0 0%
Don't care
33.33%
1 33.33%
Total 3 vote(s) 100%
* You voted for this item. [Show Results]

Feature Suggestions Regarding Automatic Filename Generation
#27
(26.11.2017, 08:33)Selur Wrote: -> Added a new version which:
a. shouldn't 'trim off' spaces.
b. has a new parameter:
--FileSeparator: Place this text between the file name and the addition, when not used, 'Merger' will be used.
Neither a. nor b. works in this build. Running this:
MediaInfoRenamer.exe --Inform="Audio;%StreamSize%bytes#%BitRate/String%#%SamplingRate/String%#%Language%#ch%Channels%" --Separator="#" --Merger=" " --Replacements="kb/s%kbps#:%¦#/%;#\%;#|%;#?%#*%#.000%#.00%#.0%" test.mkv
...just results in:
Error: Missing a 'Merger' parameter!

I see FileSeparator listed amongst the available parameters, but trying to use it with line:
MediaInfoRenamer.exe --Inform="Audio;%StreamSize%bytes#%BitRate/String%#%SamplingRate/String%#%Language%#ch%Channels%" --Separator="#" --FileSeparator="_" --Merger="; " --Replacements="kb/s%kbps#:%¦#/%;#\%;#|%;#?%#*%# %#.000%#.00%#.0%" test.mkv
...results in this:
Error: File 'FileSeparator=_'  doesn't exist!
...and with FileSeparator removed from the above command, despite using "; " as Merger i'm getting no spaces in the output filename:
The Code Wrote:test;3371314bytes;296kbps;48kHz;en;ch61250849bytes;110kbps;48kHz;ja;ch2.mkv

(26.11.2017, 08:33)Selur Wrote: How could there? The Renamer doesn't have any concept of the stream count number or anything. Big Grin
I was just expecting to see a standard Merger there by default; see what i mean above... (*=Audio1; *=Audio2)

PS. Also separately checked to make sure that Replacements weren't interfering with the Merger by removing '# %' during testing.
Reply


Messages In This Thread
RE: Feature Suggestions Regarding Automatic Filename Generation - by Nuihc88 - 26.11.2017, 13:16

Forum Jump:


Users browsing this thread: 3 Guest(s)