# Disc Number

**URL:** <https://community.mp3tag.de/t/disc-number/16467>\
**Category:** Support\
**Created:** [January 3, 2015, 6:06pm UTC](https://community.mp3tag.de/t/disc-number/16467 "2015-01-03T18:06:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![carstencoach](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/e95f7d/32.png) [@carstencoach](https://community.mp3tag.de/u/carstencoach)\
**Post date:** [January 3, 2015, 6:06pm UTC](https://community.mp3tag.de/t/disc-number/16467/1 "2015-01-03T18:06:49Z")

</div>

I am currently tagging my Karaoke Collection and I was wondering if anybody can help me with some scripting.  
I want to use the "SC1021" from the directory "Sound Choice Karaoke SC1021" as disc number.  
Is this possible?

---

<div class="post-metadata">

**Author:** ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)\
**Post date:** [January 3, 2015, 6:18pm UTC](https://community.mp3tag.de/t/disc-number/16467/2 "2015-01-03T18:18:11Z")

</div>

> [@carstencoach](#):
>
> I want to use the "SC1021" from the directory "Sound Choice Karaoke SC1021" as disc number.  
> Is this possible?

Yes.  
Define an action.

Action-Type: Format value  
Field: DISCNUMBER  
Format String: $right(%\_directory%,6)

BTW, DISCNUMBER is an official tag (TPOS) and it is defined as numeric.

---

<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:** [January 3, 2015, 6:19pm UTC](https://community.mp3tag.de/t/disc-number/16467/3 "2015-01-03T18:19:58Z")

</div>

> [@carstencoach](#):
>
> I am currently tagging my Karaoke Collection and I was wondering if anybody can help me with some scripting.  
> I want to use the "SC1021" from the directory "Sound Choice Karaoke SC1021" as disc number.  
> Is this possible?

You could use the Convert\>Filename-Tag function.  
If the separator is "Karaoke" try:  
%dummy% Karaoke %discnumber%\%dummy%

Or are there other patterns?

---

<div class="post-metadata">

**Author:** ![carstencoach](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/e95f7d/32.png) [@carstencoach](https://community.mp3tag.de/u/carstencoach)\
**Post date:** [January 3, 2015, 7:48pm UTC](https://community.mp3tag.de/t/disc-number/16467/4 "2015-01-03T19:48:01Z")

</div>

Thank you to "Poster" for the right scripting.  
I am a very happy man now.

Regards Carstencoach

---

<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:25pm UTC](https://community.mp3tag.de/t/disc-number/16467/5 "2026-02-09T12:25:27Z")

</div>

Closed on February 9, 2026, 12:25pm UTC


