# Moving Track & Discnumber from Comment field

**URL:** <https://community.mp3tag.de/t/moving-track-discnumber-from-comment-field/46070>\
**Category:** Support\
**Created:** [August 3, 2019, 2:37pm UTC](https://community.mp3tag.de/t/moving-track-discnumber-from-comment-field/46070 "2019-08-03T14:37:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![coyote](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/d6d6ee/32.png) [@coyote](https://community.mp3tag.de/u/coyote)\
**Post date:** [August 3, 2019, 2:37pm UTC](https://community.mp3tag.de/t/moving-track-discnumber-from-comment-field/46070/1 "2019-08-03T14:37:20Z")

</div>

I've got tracknumbers in the wrong field (Comment) on a large number of FLAC filesets, and would love it if some kind person would tell me how to fix this easiest please.

On some filesets  
(1) the tracknumbers look like T01...T12, on others  
(2) the tracknumbers look like d1t01...d1t12...d2t01...d2t14

So:

In case #1 I'd like to MOVE\* the last two characters of Comment to Track and set Discnumber to "1".

In case #2 I'd like to MOVE the last two characters of Comment to Track and MOVE the second character of Comment to Discnumber.

\*By move I mean after the operation I'd like the Comment field left empty.

---

<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:** [August 4, 2019, 9:47am UTC](https://community.mp3tag.de/t/moving-track-discnumber-from-comment-field/46070/2 "2019-08-04T09:47:17Z")

</div>

> [@coyote](#):
>
> (1) the tracknumbers look like T01...T12, on others

Try an action of the type "Guess value"  
Source: %comment%  
Pattern: %dummy%T%track%

> [@coyote](#):
>
> (2) the tracknumbers look like d1t01...d1t12...d2t01...d2t14

Try an acion of the type "Guess value"  
Source: %comment%  
Pattern: d%discnumber%T%track%  
These actions copy the data.  
If this was the only data in COMMENT, then delete the field..

---

<div class="post-metadata">

**Author:** ![coyote](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/d6d6ee/32.png) [@coyote](https://community.mp3tag.de/u/coyote)\
**Post date:** [August 4, 2019, 9:39pm UTC](https://community.mp3tag.de/t/moving-track-discnumber-from-comment-field/46070/3 "2019-08-04T21:39:01Z")

</div>

Thank you VERY much, ohrenkino!

I deeply appreciate your help, the Actions I made work great. It's so generous of you to help people who like me (even though I'm a programmer!) are lost with mp3tag's powerful functionality.

---

<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:** [January 21, 2025, 3:55pm UTC](https://community.mp3tag.de/t/moving-track-discnumber-from-comment-field/46070/4 "2025-01-21T15:55:22Z")

</div>

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