Welcome Guest ( Log In | Register )

Reply to this topicStart new topic
> [X] Converter "Tag - Filename" track number wrong format
post Jan 13 2017, 11:12
Post #1


Group: Members
Posts: 1
Joined: 13-January 17
Member No.: 22946
Mp3tag Version: 2.80

Hello guys

I have a new bug since few weeks, did not managed to solve it by myself so here are details about it:
- drag and drop audio files to MP3tag
- select all files
- add track numbers using the build in option "Autonumbering wizard"
- select "Tag->Filename" option and set it up the following way:

... here is the problem, for example if the first track (out of nine) has title "trackone", it should give "01 Trackone" as result, but instead gives "0109 Trackone" ... got it ?

Anyone else with this problem ? any solution ?

Attached thumbnail(s)
Attached Image
Go to the top of the page
+Quote Post
post Jan 13 2017, 11:16
Post #2


Group: Full Members
Posts: 9479
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.85k

If you only want the track number use as
format string: $num(%track%,2)_%title%

Edit: Some further explanation:

Using only %track% would actually lead to 01/09 ... if the / would not be an illegal character for filenames. So that is cut out und you get 0109.

The $num() function transforms the string 01/09 into a number which means it stops at the first non-numeric character, the /.
The 2 in $num(%track%,2) sets the padding.

This post has been edited by ohrenkino: Jan 13 2017, 11:20

42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 24th January 2018 - 00:36