# Export config to output each genre's average track duration

**URL:** https://community.mp3tag.de/t/export-config-to-output-each-genres-average-track-duration/66168
**Category:** Support
**Created:** [October 6, 2024, 3:31pm UTC](https://community.mp3tag.de/t/export-config-to-output-each-genres-average-track-duration/66168 "2024-10-06T15:31:45Z")
**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: [October 6, 2024, 3:57pm UTC](https://community.mp3tag.de/t/export-config-to-output-each-genres-average-track-duration/66168/2 "2024-10-06T15:57:03Z")

</div>

Here is a thread about the calculation of the average bitrate:

> [@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%)…

you could try to adapt it.

A personal remark: people drown in lakes that are 1.5m deep on average.

---

_[View the full topic](https://community.mp3tag.de/t/export-config-to-output-each-genres-average-track-duration/66168)._
