# Generating %DISCNUMBER% Tags

**URL:** https://community.mp3tag.de/t/generating-discnumber-tags/4117
**Category:** Support
**Created:** [November 28, 2006, 2:05pm UTC](https://community.mp3tag.de/t/generating-discnumber-tags/4117 "2006-11-28T14:05:05Z")
**Posts on this page:** 1
**Showing post:** 21

<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: [November 26, 2007, 8:39pm UTC](https://community.mp3tag.de/t/generating-discnumber-tags/4117/21 "2007-11-26T20:39:04Z")

</div>

> [...to count discs...] we need an extra storage place to hold a user defined value while  
> an action runs against the selected tracks

Since then, Mp3tag as acquired actions for Export and Import. So perhaps a solution is: an Export action counts the discs and writes the results to a text file, and then a Import Text File action does a lookup to write them into the tags.

Though this would not work before the fix to the bug at [/t/5799/1](https://community.mp3tag.de/t/5799/1) .

---

_[View the full topic](https://community.mp3tag.de/t/generating-discnumber-tags/4117)._
