Author Topic: convert track number : 01 ---> 1  (Read 201 times)

monkey

  • Jr. Member
  • **
  • Posts: 63
is it possible to modify the format of the track numbers ?
01 ---> 1
02 ---> 2
...
10 ---> 10

Mayibongwe

  • Sr. Member
  • ****
  • Posts: 1069
  • Heal The World
Tools > Search and Replace > Enable the regex option
Search in field <track#> for 0(\d+) and replace with $1

That tool has preview support, but in case you are more comfortable with viewing the results in a virtual tag first:
$RxReplace(<track#>,"0(\d+)","$1")
I already spend hours on end on social media. Might as well spare a few of those to a greater purpose here.

phred

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 9355
The Advanced Tagging and Report Tools handles this quite easily plus adds many other "advanced" search and replace functions.
Download the latest MusicBee v3.5 or 3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Posting screenshots is here
Searching the forum with Google is  here

frankz

  • Sr. Member
  • ****
  • Posts: 3876
If you're just looking to change the way they're displayed and not the tags themselves...Edit->Edit Preferences->Tags(2)...tag handling/fields...configure fields...formatting/disc-track format.

monkey

  • Jr. Member
  • **
  • Posts: 63
thanks for all replies
i managed to use the "basic tools" and the virtual tag
i managed to use the "Advanced Tagging and Report Tools"

i have a pb to use the "disc-track" format !
"disc-track" doesn't seem to be available in the Music tab ? but only in the playlist panel ? it could have been useful to have it in the Music tab...
would it be possible to create a virtual field "disc-track" in the Music tab ?
Last Edit: March 23, 2024, 02:22:28 PM by monkey

phred

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 9355
"disc-track" doesn't seem to be available in the Music tab ? but only in the playlist panel ?
Disc-Track certainly exists. Which view are you using?
Download the latest MusicBee v3.5 or 3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Posting screenshots is here
Searching the forum with Google is  here


purplebee

  • Jr. Member
  • **
  • Posts: 76
You can also do this for selected tracks using: Tools > Tagging Tools > Renumber Tracks and checking "pad numbers to a maximum of 1..." , no plugin required.

monkey

  • Jr. Member
  • **
  • Posts: 63
it runs too !
i just wonder if it would be possible to do this without modifying tags but perhaps not
because i'm trying to understand virtual tags