# how to do a count up/down from a particular valor??

**URL:** https://community.mp3tag.de/t/how-to-do-a-count-up-down-from-a-particular-valor/9737
**Category:** Support
**Created:** [January 20, 2010, 1:49pm UTC](https://community.mp3tag.de/t/how-to-do-a-count-up-down-from-a-particular-valor/9737 "2010-01-20T13:49:02Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![vvcepheus7](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vvcepheus7/32/305_2.png) [@vvcepheus7](https://community.mp3tag.de/u/vvcepheus7)
#### Post date: [January 20, 2010, 1:49pm UTC](https://community.mp3tag.de/t/how-to-do-a-count-up-down-from-a-particular-valor/9737/1 "2010-01-20T13:49:02Z")

</div>

Hi everyone!

Someone can tell me how this is done, please?

Someone knows how to do a count up/down from a particular valor?

That is to say, I would like extract and rename covers of some mp4 files but assuming a specific value.

That is, if I put this:

% genre% -% comment% - $ num (% \_count%, 5)

the sequence is 1, 2, 3, etc.. (with 5 digits)

I'd like to choose which number starts counting ascending. An example of this sequence is:

6,7,8,9,10,11,12 ...

So, I say, start from 6 until the end.

As you do this??

thanks in advance!

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [January 20, 2010, 2:04pm UTC](https://community.mp3tag.de/t/how-to-do-a-count-up-down-from-a-particular-valor/9737/2 "2010-01-20T14:04:54Z")

</div>

$num($add(%\_counter%,5),5)

---

<div class="post-metadata">

### Author: ![vvcepheus7](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vvcepheus7/32/305_2.png) [@vvcepheus7](https://community.mp3tag.de/u/vvcepheus7)
#### Post date: [January 20, 2010, 2:16pm UTC](https://community.mp3tag.de/t/how-to-do-a-count-up-down-from-a-particular-valor/9737/3 "2010-01-20T14:16:23Z")

</div>

Thank you for reply!

If I use this:

%genre%-%comment%-$num($add(%\_counter%,5),5)

I get:

genre-coment-00004.jpg  
genre-coment-00004(1).jpg  
genre-coment-00004(2).jpg  
genre-coment-00004(3).jpg  
...

But I would like get this:

genre-coment-00006.jpg  
genre-coment-00007.jpg  
genre-coment-00008.jpg  
genre-coment-00009.jpg

How could I do it?

thank you dano!!

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [January 20, 2010, 2:31pm UTC](https://community.mp3tag.de/t/how-to-do-a-count-up-down-from-a-particular-valor/9737/4 "2010-01-20T14:31:23Z")

</div>

You use this on cover export?

Seems it's not working there.

You could format a temporary tag field with $num($add(5,%\_counter%),5) and use that field in the cover export

I.e.  
Action type: Format value  
Field: TEMP  
String: $num($add(5,%\_counter%),5)

Cover export:  
%genre%-%comment%-%temp%

---

<div class="post-metadata">

### Author: ![vvcepheus7](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vvcepheus7/32/305_2.png) [@vvcepheus7](https://community.mp3tag.de/u/vvcepheus7)
#### Post date: [January 20, 2010, 3:01pm UTC](https://community.mp3tag.de/t/how-to-do-a-count-up-down-from-a-particular-valor/9737/5 "2010-01-20T15:01:39Z")

</div>

sorry for my english hehe (I only speak spanish 😛)

Yes, I use this for cover export!

I've tried do it:

%genre%-%comment%-$num($add(%\_counter%,5),5)

And works ok for tag ==\> filename.  
But not work from file to extract cover. It is a bug of mp3tag?? you want that I inform of this in Bug Reports?

Now, you say:

Action type: Format value  
Field: TEMP  
String: $num($add(5,%\_counter%),5)

Cover export:  
%genre%-%comment%-%temp%

I understand this. You say me:

1st) create a sequence in temporal tag (any empty tag)  
2nd) use this sequence for extract cover and rename  
3rd) format the sequence in the temporal tag (erase 1st step)

It is correct?? But, how write it please !?

1st) ¿?

Action: ?  
String: $num($add(5,%\_counter%),5) ==\> temporal tag where I type?

2nd) ok. I do it this:

Action: Cover export  
%genre%-%comment%-%temp%

3rd) ¿?

Action: Format value  
String: $num($add(5,%\_counter%),5) ==\> temporal tag where I type? Or I type only this in the place empy of "Format value"?

You can show me how to writte the 1st and 3rd step pliz!!??

thank u dano!

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [January 20, 2010, 4:07pm UTC](https://community.mp3tag.de/t/how-to-do-a-count-up-down-from-a-particular-valor/9737/6 "2010-01-20T16:07:51Z")

</div>

C'mon you can do it

Action type: Format value  
Field: TEMP  
Format string: $num($add(5,%\_counter%),5)

---

<div class="post-metadata">

### Author: ![vvcepheus7](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vvcepheus7/32/305_2.png) [@vvcepheus7](https://community.mp3tag.de/u/vvcepheus7)
#### Post date: [January 20, 2010, 5:03pm UTC](https://community.mp3tag.de/t/how-to-do-a-count-up-down-from-a-particular-valor/9737/7 "2010-01-20T17:03:57Z")

</div>

I have not understood you, sorry! I'm a little dummy! hehe I don't know write an generic format of expression for use "format value". I don't know where you write tag TEMP. I have found the "action type" but I assume that it is for erase tag not for generate or write anything. But my problem was that I don't know generate a sequence into the field. Never before I used this action...

But you don't worry because I found an alternative 😛

tag to filename:  
%genre%-%comment%-$num($add(%\_counter%,VALOR),6)

export cover:  
%\_filename\_ext%

problem fixed 😛

---

<div class="post-metadata">

### Author: ![vvcepheus7](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vvcepheus7/32/305_2.png) [@vvcepheus7](https://community.mp3tag.de/u/vvcepheus7)
#### Post date: [January 20, 2010, 5:16pm UTC](https://community.mp3tag.de/t/how-to-do-a-count-up-down-from-a-particular-valor/9737/8 "2010-01-20T17:16:45Z")

</div>

Aaaah! Finally i found the problem! it is a nonsense.

You use the english version of mp3tag. I use the spanish version of mp3tag.

the literal translation of: "Format value" is the same that other action. So I use the action not correct! 😛

I undertand good!!!

thank u!

---

<div class="post-metadata">

### Author: ![vvcepheus7](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vvcepheus7/32/305_2.png) [@vvcepheus7](https://community.mp3tag.de/u/vvcepheus7)
#### Post date: [January 20, 2010, 5:25pm UTC](https://community.mp3tag.de/t/how-to-do-a-count-up-down-from-a-particular-valor/9737/9 "2010-01-20T17:25:16Z")

</div>

In spanish version:

Action: "Formatear valor" mean "erase field valor"  
Action: "Eliminar campos" mean "erase field valor"

The translation is not correct!

Where say "Formatear valor" should say "Dar Formato Al campo" for indicate well it is for modificate a tag, not for erase. Formatear in spanish is how "format c:" 😃

🙂

---

<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: [February 9, 2026, 12:22pm UTC](https://community.mp3tag.de/t/how-to-do-a-count-up-down-from-a-particular-valor/9737/10 "2026-02-09T12:22:06Z")

</div>


