# Add discnumber with separator only when Discnumber exists

**URL:** https://community.mp3tag.de/t/add-discnumber-with-separator-only-when-discnumber-exists/14827
**Category:** Support
**Created:** [June 22, 2013, 10:39am UTC](https://community.mp3tag.de/t/add-discnumber-with-separator-only-when-discnumber-exists/14827 "2013-06-22T10:39:31Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![HapuKurk](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/b5e925/32.png) [@HapuKurk](https://community.mp3tag.de/u/HapuKurk)
#### Post date: [July 4, 2013, 6:56pm UTC](https://community.mp3tag.de/t/add-discnumber-with-separator-only-when-discnumber-exists/14827/10 "2013-07-04T18:56:40Z")

</div>

Actally I came across interesting idea, not sure can it be done, but:

Couldnt I just read "%discnumber%-%track%" combo as %track% and then split it aftrewards by somekind of script which uses tracknumber field and - as separator? ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:")

Or read it as somekind of custom variable and then split it to %discnumber & %track%.  
Theoretically it could be possible, as it includes clear separator, which differs from other separators.  
"-" VS. " - "

Then it would be possible just create Action group, which includes all the necessary steps.

Anyway...looks like a time to do some experiments on some small group of files... ![:w00t:](https://community.mp3tag.de/uploads/default/original/1X/cb01eca72fe9339ff6f3ec9f1e3c5fe002be0f0a.gif ":w00t:")

---

_[View the full topic](https://community.mp3tag.de/t/add-discnumber-with-separator-only-when-discnumber-exists/14827)._
