I've setup an ExternalTool for MP3gain to apply Album gain on selected tracks (MM leveling is track based only...
), like you can see in this picture:
As you can see, I pass the file list to MP3gain with the <%P: >
Works a treat for MOST albums, but for SOME it doesn't. The only thing I could notice is these problematic albums have a high track count or long album names (or both), which results in a very long string passed to the external program as parameter. (But see... I'm just guessing here. I can't prove this...)
See this example album:
It gives me this error:
Could this be an script bug? Or do you think it is a problem with the external program itself?
This made think of a possible workaround.
You could provide another mask: %F
which would expand only to the "Folder" where the song is located, not the complete path (Folder + Filename). Oh, and %N
could be just the filename, for instance.
With this new mask, I could set up something like this:
C:\Arquivos de programas\MP3Gain\mp3gain.exe /a /k /p %F\*.mp3
(I've tested it in the command prompt and it works fine)