Please take a minute to check our Frequently Asked Questions. Use Search to reveal possible related topics.
Also make sure you've read the Forum Guidelines before posting in this forum.
![]() ![]() |
Nov 14 2007, 23:53
Post
#1
|
|
|
Member Group: Full Members Posts: 5 Joined: 14-November 07 Member No.: 5928 Mp3tag Version: 2.40 |
Okay, so the way I have my library tags set up is, whether or not there is more than one disc, I fill in the info with Foobar: Disc Number and Total Discs
in mp3Tag, %discnumber% = Disc Number/Total Discs So what I want to do is to check if $discnumber% is = to 1/1, and if it is, then to NOT display anything, but if it isn't, then to write "CD %discnumber%... how do I do this? BTW, it's to create a Structure tree in my library like: C:\My Music\Album Artist\Album\CD #(But only if it's greater than 1)\Track Number - Title.ext If I'm going about this a convoluted way, help me with an easier way. This post has been edited by weeirdoo: Nov 14 2007, 23:53 |
|
|
|
Nov 15 2007, 22:41
Post
#2
|
|
|
Member Group: Full Members Posts: 1236 Joined: 25-October 05 Member No.: 2273 Mp3tag Version: - |
Load your files by doing Change Directory to C:\My Music (important to set current directory), and then do Convert | Tag - Filename with format string
CODE %band%\%album%$regexp(\CD %discnumber%,(\CD 1/1)|((\CD .*)/.*),$3)\%track% %title% This will make e.g. C:\My Music\myalbumartist\mysinglealbum\1 track.wma C:\My Music\myalbumartist\mydoublealbum\CD 1\1 track.wma C:\My Music\myalbumartist\mydoublealbum\CD 2\1 track.wma ... C:\My Music\myalbumartist\mytriplealbum\CD 3\1 track.wma ... C:\My Music\myalbumartist\mydecuplealbum\CD 10\1 track.wma This post has been edited by chrisjj: Nov 15 2007, 23:42 |
|
|
|
Nov 17 2007, 02:17
Post
#3
|
|
|
Member Group: Full Members Posts: 5 Joined: 14-November 07 Member No.: 5928 Mp3tag Version: 2.40 |
Exactly what I wanted! I used a variation:
CODE %album artist%\%album%$regexp(\CD %discnumber%,(\CD 1/1)|((\CD .*)/.*),$3)\$num(%track%,3) - %title% Thanks! EDIT: Interesting though, it doesn't seem to work with anything other than mp3's. It names them correctly, but doesn't move them. EDITx2: Actually, it seems to ignore the rule and wants to place anything other than mp3 (ogg, flac, m4a) in whatever discnumber it is, ignoring the CD 1 rule. This post has been edited by weeirdoo: Nov 17 2007, 02:36 |
|
|
|
Nov 18 2007, 16:51
Post
#4
|
|
|
Member Group: Full Members Posts: 1236 Joined: 25-October 05 Member No.: 2273 Mp3tag Version: - |
> it seems to ignore the rule and wants to place anything other than mp3 (ogg, flac,
> m4a) in whatever discnumber it is, ignoring the CD 1 rule. Baffling. It works here on WMA. |
|
|
|
Nov 20 2007, 21:42
Post
#5
|
|
|
Member Group: Full Members Posts: 1236 Joined: 25-October 05 Member No.: 2273 Mp3tag Version: - |
Hmm... that would happen if %discnumber%'s value format differed in your other audio formats, perhaps due to a disrespectful converter. See what ALT-T tell you for the WMA's DISCNUMBER. Here it is e.g. DISCNUMBER = 3/3
This post has been edited by chrisjj: Nov 20 2007, 21:45 |
|
|
|
Nov 26 2007, 20:23
Post
#6
|
|
|
Member Group: Full Members Posts: 5 Joined: 14-November 07 Member No.: 5928 Mp3tag Version: 2.40 |
Sorry for late reply
You're right, I was able to fix that with flacs and oggs through mp3tag, but not even mp3tag could fix the m4a... |
|
|
|
Nov 26 2007, 20:49
Post
#7
|
|
|
Member Group: Full Members Posts: 1236 Joined: 25-October 05 Member No.: 2273 Mp3tag Version: - |
> not even mp3tag could fix the m4a...
Oh? How so? |
|
|
|
Nov 27 2007, 00:33
Post
#8
|
|
|
Member Group: Full Members Posts: 5 Joined: 14-November 07 Member No.: 5928 Mp3tag Version: 2.40 |
even it would still save the discnumber as 3 instead of 3/3. Manually and automatically.
|
|
|
|
Nov 27 2007, 00:51
Post
#9
|
|
|
Member Group: Full Members Posts: 1236 Joined: 25-October 05 Member No.: 2273 Mp3tag Version: - |
Ah yes, now I recall m4a discnumber is number-only, so no tagger could overcome that.
|
|
|
|
Nov 27 2007, 01:01
Post
#10
|
|
![]() Moderator Group: Moderators Posts: 5506 Joined: 4-September 03 From: Germany Member No.: 201 Mp3tag Version: 2.55a |
No, on m4a the info is split to Discnumber and Totaldiscs instead of Discnumber = x/x
-------------------- |
|
|
|
Nov 27 2007, 01:21
Post
#11
|
|
|
Member Group: Full Members Posts: 1236 Joined: 25-October 05 Member No.: 2273 Mp3tag Version: - |
> No
No what, Dano? Definitely m4a discnumber is number-only. And definitely no tagger can get the /qty in there. > on m4a the info is split to Discnumber and Totaldiscs instead of Discnumber = x/x Well fine, but surely you're not suggesting a multi-format tagger like Mp3tag should support that. And do the combine too, else show the disc number and qty in separate columns. |
|
|
|
Nov 28 2007, 10:56
Post
#12
|
|
|
Member Group: Full Members Posts: 5 Joined: 14-November 07 Member No.: 5928 Mp3tag Version: 2.40 |
I just converted to mp3
|
|
|
|
Sep 11 2011, 03:05
Post
#13
|
|
|
Member Group: Members Posts: 1 Joined: 11-September 11 Member No.: 15231 Mp3tag Version: 2.49 |
Exactly what I wanted! I used a variation: CODE %album artist%\%album%$regexp(\CD %discnumber%,(\CD 1/1)|((\CD .*)/.*),$3)\$num(%track%,3) - %title% I am also looking for a way to do this. However, the above does not seem to work in the current version. I.e. a folder called CD will be created for any single CD. |
|
|
|
Sep 11 2011, 06:44
Post
#14
|
|
![]() Member Group: Full Members Posts: 4129 Joined: 26-May 06 From: Wuppertal, Germany, Planet Earth Member No.: 3194 Mp3tag Version: 2.54 |
... So what I want to do is to check if $discnumber% is = to 1/1, and if it is, then to NOT display anything, but if it isn't, then to write "CD %discnumber%... how do I do this?... I am also looking for a way to do this. However, the above does not seem to work in the current version. I.e. a folder called CD will be created for any single CD. The main part of the OP's request is, to create or not create a folder name string, in relation to the value in the tag-field DISCNUMBER. For example ... From: DISCNUMBER = 1/1 To: <nothing> From: DISCNUMBER = 2/3 To: \CD 2 This can be achieved by the Mp3tag scripting expression ... $if($eql(%DISCNUMBER%,'1/1'),,'\CD '$num(%DISCNUMBER%,1)) If the tag-field DISCNUMBER does not exist, then the above scripting expression returns the value '\CD 0', which might be not wanted. For this case a small modification of the above scripting expression will return nothing. [$if($eql(%DISCNUMBER%,'1/1'),,'\CD '$num(%DISCNUMBER%,1))] DD.20110911.0800.CEST This post has been edited by DetlevD: Sep 11 2011, 06:58 -------------------- * Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥ |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 17:52 |