# 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:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![chrisjj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://community.mp3tag.de/u/chrisjj)
#### Post date: [October 6, 2024, 3:31pm UTC](https://community.mp3tag.de/t/export-config-to-output-each-genres-average-track-duration/66168/1 "2024-10-06T15:31:45Z")

</div>

Anyone have such a thing already?

Thanks.

---

<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.

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [August 31, 2025, 3:42pm UTC](https://community.mp3tag.de/t/export-config-to-output-each-genres-average-track-duration/66168/3 "2025-08-31T15:42:12Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
