IPB

Welcome Guest ( Log In | Register )

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


Member


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:
%track%_%title%

... 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 ?

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


Member


Group: Full Members
Posts: 8745
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.83e



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: 21st July 2017 - 01:47