HydrogenAudio

Hosted Forums => foobar2000 => Support - (fb2k) => Topic started by: Alexxander on 2021-10-30 11:44:00

Title: Scan as albums (by tags) works as expected for RG scan but not for Converter
Post by: Alexxander on 2021-10-30 11:44:00
Hi,

I've set in Preferences >> Tools >> ReplayGain Scanner

    Album grouping pattern, for "Scan as albums (by tags)":
    %directoryname%


When in playlist I right-click menu ReplayGain >> Scan as albums (by tags) the album RG is calculated based on the directory the file is belonging to.

However, when using the converter on tens of files located in tens of different directories with in

   Converter >> Other >> Marked "ReplayGain-scan output files as albums"

it calculates the album RG as if all converted files belong to a single album instead of distinguishing the directory names. So a single album RG value is calculated for all files instead of one album RG value for each directory.

I've tested this on foobar2000 1.6.7 and foobar 1.6.8 beta 6.

Thanks in advance.
Title: Re: Scan as albums (by tags) works as expected for RG scan but not for Converter
Post by: A_Man_Eating_Duck on 2021-11-01 23:27:44
I wouldn't expect %directoryname% to be considered as a "tag".

I could be wrong here but shouldn't you be using fields\tags from the "metadata" tab in the file properties to figure out a grouping?

Title: Re: Scan as albums (by tags) works as expected for RG scan but not for Converter
Post by: A_Man_Eating_Duck on 2021-11-02 01:21:33
Ignore my previous post, I read your post completely backwards.
Title: Re: Scan as albums (by tags) works as expected for RG scan but not for Converter
Post by: Alexxander on 2021-11-06 09:58:28
Hi,

I've set in Preferences >> Tools >> ReplayGain Scanner

    Album grouping pattern, for "Scan as albums (by tags)":
    %directoryname%


When in playlist I right-click menu ReplayGain >> Scan as albums (by tags) the album RG is calculated based on the directory the file is belonging to.

However, when using the converter on tens of files located in tens of different directories with in

   Converter >> Other >> Marked "ReplayGain-scan output files as albums"

it calculates the album RG as if all converted files belong to a single album instead of distinguishing the directory names. So a single album RG value is calculated for all files instead of one album RG value for each directory.

I've tested this on foobar2000 1.6.7 and foobar 1.6.8 beta 6.

Thanks in advance.

This is a bit of annoying because I have to ReplayGain manually afterwards to get it right.
Title: Re: Scan as albums (by tags) works as expected for RG scan but not for Converter
Post by: Peter on 2021-11-08 12:56:56
Sorry, works as intended for me.
Note that %directoryname% evaluates to the directory name of *converted* file, not the source file. If all your files are converted to one directory, they will be perceived as one album.
Title: Re: Scan as albums (by tags) works as expected for RG scan but not for Converter
Post by: Alexxander on 2021-11-08 16:44:11
%directoryname% evaluates to the directory name of *converted* file, not the source file

That's the key point! Indeed I had written all the converted files into a single folder. Some additional testing I just did confirmed the album RG is calculated per output folder.

Many thanks!