Help with $aggregate_bitrate

hello all,
a few years ago I installed a plugin that allowed for “$aggregate_bitrate”. now that I’ve updated to the newest version of Picard, my script doesn’t allow for this function.

I’m hoping someone might be able to assist me in finding the particular plugin, or help me find another way to average all the bitrates.

thanks, everyone!

The plugin should be located somewhere at the following locations if you are using Windows:

  • %LOCALAPPDATA%\MusicBrainz\Picard\plugins
  • C:\Program Files\MusicBrainz Picard\plugins
  • C:\Program Files (x86)\MusicBrainz Picard

The first location is were you actually should install plugins to. It can be easily opened from within Picard using Options > Plugins > “Open plugin folder”

On Mac and Linux it is $HOME/.config/MusicBrainz/Picard/plugins

You can also look at Picard debug output in Help > View Error/Debug log. If you have some plugins that cannot be loaded (because they are for older versions) Picard will show some warning messages on start. Depending on the plugin you should probably remove the files (copy them to a backup location) and install updated versions of the plugins using Picard’s builtin plugin management. For plugins not available in the official plugin list you’ll have to update them (like the plugin for $aggregate_bitrate). In this case just post the plugin here and I can help you updating them.


thanks outsidecontext for your support!

i actually went through those folders and the debugging. I didn’t find anything in any of the old plugins and the debugging just confused me.

Having said that, i was able to stumble through some scripts i found here on the forums and managed to make it work for me.

I really appreciate the time you took to help me!

1 Like

Could you share your solution? This would be great and help others who want to achieve the same


Absolutely!! Below is the script I now use. it doesn’t do EXACTLy what I used to do (Averaging the bitrate) but for my needs just labeling the folder as VBR works just fine.

Thanks to the poster whose script helped me!

what this code gives me is:

Led Zeppelin - (1973) Houses Of The Holy (1990)[320 8 tks]
Led Zeppelin - (1973) Houses Of The Holy (1990)[VBR 8 tks]

$set(album,$replace(%album%,:, -))
$if($lt($matchedtracks( ),$div(%_totalalbumtracks%,2)),Misc,
$if($rsearch(%album%,Santa ),Holidays,
$if($eq(%albumartist%,Various Artists),Various Artists,
$if($eq($left($if2(%albumartist%,%artist%),4),The ),



  • %album%
    ($left(%date%,4)) $left([%_folderbr%,4) %totaltracks% tks],
    $rreplace($if2(%albumartist%,%artist%),(^The )(.*),\2, The) -
    $if($ne(%albumartist%,Various Artists),($left(%originaldate%,4)) )%album%
    $if($gt(%totaldiscs%,1), (CD%discnumber%))
    $if($and($eq(%albumartist%,Various Artists),$eq(%originaldate%,%date%)),(%date%)))
    $left([%_folderbr%,4) %totaltracks% tks]
    $if($lt($matchedtracks( ),%_totalalbumtracks%), (~Inc. - $matchedtracks( ) of %_totalalbumtracks%)))
    $num(%tracknumber%,2). %artist% - %title%

sorry, I’m not sure how to actually post the script so I hope this helps.