# Detemine BITRATE for name of folder

**URL:** https://community.mp3tag.de/t/detemine-bitrate-for-name-of-folder/69803
**Category:** Support
**Created:** [September 17, 2025, 8:54pm UTC](https://community.mp3tag.de/t/detemine-bitrate-for-name-of-folder/69803 "2025-09-17T20:54:56Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [September 17, 2025, 9:06pm UTC](https://community.mp3tag.de/t/detemine-bitrate-for-name-of-folder/69803/2 "2025-09-17T21:06:44Z")

</div>

See e.g. here:

> [@calculate average bitrate](https://community.mp3tag.de/t/calculate-average-bitrate/19540):
>
> Hi. I recently tried to create .nfos with some homemade template heavily borrowing from existing scripts since scripting isn't my area of expertise smiley One thing I can't make work and I have no clue why is calculating average bitrate. I stole the "looping add and divide" formula from old scripts found in this forum section, the addition part works, not the division... ie this is supposed to display the average number : $loop(%\_filename\_ext%)$puts(Vbitrate,$add($get(Vbitrate),%\_bitrate%)…

and here:

> [@Average bitrate in folder name](https://community.mp3tag.de/t/average-bitrate-in-folder-name/8219):
>
> Hi, I'm looking for the solution to make a mass change of my folder names to include also a bitrate information. Something like this: if VBR \Dark Side of the Moon [VBR 234]\01 - Breathe else \Dark Side of the Moon [320]\01 - Breathe The following format string does not work \%artist%$if("%\_vbr%","VBR","%\_bitrate%")$num(%track%,2) - %title% What do I do wrong? Thanks!

---

_[View the full topic](https://community.mp3tag.de/t/detemine-bitrate-for-name-of-folder/69803)._
