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.
![]() ![]() |
Apr 9 2009, 19:06
Post
#1
|
|
|
Member Group: Full Members Posts: 5 Joined: 9-April 09 Member No.: 9622 Mp3tag Version: 2.43 |
Hi, I'm looking for the solution to make a mass change of my folder names to include also a bitrate information. Something like this:
if VBR \Dark Side of the Moon [VBR 234]\01 - Breathe else \Dark Side of the Moon [320]\01 - Breathe The following format string does not work \%artist%\$if("%_vbr%","VBR","%_bitrate%")\$num(%track%,2) - %title% What do I do wrong? Thanks! |
|
|
|
Apr 9 2009, 21:01
Post
#2
|
|
![]() Member Group: Full Members Posts: 55 Joined: 26-October 05 From: New Jersey, U.S.A. Member No.: 2276 Mp3tag Version: 2.52a |
Hopefully, this expression should work:
%artist%\%album% '['$if2(%_vbr%,) %_bitrate%']'\$num(%track%,2) - %title% This post has been edited by drbeachboy: Apr 9 2009, 21:04 -------------------- Regards,
Dirk "Columnated Ruins Domino" |
|
|
|
Apr 9 2009, 21:40
Post
#3
|
|
![]() Member Group: Full Members Posts: 55 Joined: 26-October 05 From: New Jersey, U.S.A. Member No.: 2276 Mp3tag Version: 2.52a |
You can also use this one if you really don't want "CBR" in your folder names.
%artist%\%album% '['[$if2($replace(%_vbr%,CBR),) ]%bitrate%']'\$num(%track%,2) - %title% This post has been edited by drbeachboy: Apr 10 2009, 19:42 -------------------- Regards,
Dirk "Columnated Ruins Domino" |
|
|
|
Apr 10 2009, 16:22
Post
#4
|
|
|
Member Group: Full Members Posts: 5 Joined: 9-April 09 Member No.: 9622 Mp3tag Version: 2.43 |
You can also use this one if you really don't want "CBR" in your folder names. %artist%\%album% '['[$if2($replace(%_vbr%,CBR),) ]%bitrate%']'\$num(%track%,2) - %title% Sorry but I can't figure it out. It returns something like this (for VBR and CBR): "\ACDC\The Very Best\01 - Hard As Rock.mp3" -> "\ACDC\The Very Best [ ]\01 - Hard As Rock .mp3" |
|
|
|
Apr 10 2009, 19:22
Post
#5
|
|
![]() Member Group: Full Members Posts: 55 Joined: 26-October 05 From: New Jersey, U.S.A. Member No.: 2276 Mp3tag Version: 2.52a |
What version of LAME are you using? Older versions don't show codec profile information. Neither do some other mp3 encoders. Most of my mp3's are LAME 3.97 through 3.98.2 and the codec profile info is in there, and the tagz info that I gave you yesterday worked fine with those files encoded with the newer versions.
-------------------- Regards,
Dirk "Columnated Ruins Domino" |
|
|
|
Apr 10 2009, 19:40
Post
#6
|
|
![]() Member Group: Full Members Posts: 55 Joined: 26-October 05 From: New Jersey, U.S.A. Member No.: 2276 Mp3tag Version: 2.52a |
Try this one:
\%artist%\%album% '['[$replace(%_vbr%,CBR,)] %_bitrate%']'\$num(%track%,2) - %title% This post has been edited by drbeachboy: Apr 10 2009, 19:51 -------------------- Regards,
Dirk "Columnated Ruins Domino" |
|
|
|
Apr 10 2009, 20:00
Post
#7
|
|
![]() Member Group: Full Members Posts: 4129 Joined: 26-May 06 From: Wuppertal, Germany, Planet Earth Member No.: 3194 Mp3tag Version: 2.54 |
The Formatstring
%TITLE%[ '['$if($eql(%_vbr%,'VBR'),'VBR '%_bitrate%,%_bitrate%)']'] results to e. g. for CBR: Palomino [128] for VBR: Palomino [VBR 233] ... or just even better (based on drbeachboy's example from above) [%TITLE%' ']['['[$replace(%_vbr%' ','CBR ',%DUMMY%)]%_bitrate%']'] DD.20090410.2120.CEST Edit.DD.20120714.1618.CEST This post has been edited by DetlevD: Jul 14 2012, 15:20 -------------------- * Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥ |
|
|
|
Apr 10 2009, 20:27
Post
#8
|
|
|
Member Group: Full Members Posts: 5 Joined: 9-April 09 Member No.: 9622 Mp3tag Version: 2.43 |
Hi, thanks! Both last two expressions work, but in case of VBR they create for each file with different bitrate a new folder, so several folders with one file. I thought %_bitrate% should actually show album average bitrate.
Sorry if I miss something. :-) |
|
|
|
Apr 10 2009, 20:33
Post
#9
|
|
![]() Member Group: Full Members Posts: 4129 Joined: 26-May 06 From: Wuppertal, Germany, Planet Earth Member No.: 3194 Mp3tag Version: 2.54 |
Mp3tag offers %_vbr% and %_bitrate% system variables on a per file basis.
So it makes no sense to use these values when renaming folders. DD.20090410.2133.CEST This post has been edited by DetlevD: Jul 14 2012, 14:56 -------------------- * Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥ |
|
|
|
Apr 10 2009, 20:42
Post
#10
|
|
|
Member Group: Full Members Posts: 5 Joined: 9-April 09 Member No.: 9622 Mp3tag Version: 2.43 |
Mp3tag offers %_vbr% and %_bitrate% system variables on a per file basis. So it makes no sense to use these values when renaming folders. DD.20090410.2133.CEST I read that %_bitrate% also returns the average bitrate of a VBR file in this old thread: http://forums.mp3tag.de/index.php?showtopi...average+bitrate Is this still true ? This post has been edited by okram: Apr 17 2009, 21:21 |
|
|
|
Apr 19 2009, 15:04
Post
#11
|
|
|
Member Group: Full Members Posts: 5 Joined: 9-April 09 Member No.: 9622 Mp3tag Version: 2.43 |
I read that %_bitrate% also returns the average bitrate of a VBR file in this old thread: http://forums.mp3tag.de/index.php?showtopi...average+bitrate Is this still true ? Can you please confirm that the quoted post was wrong? |
|
|
|
Apr 20 2009, 10:08
Post
#12
|
|
![]() Developer Group: Admin Posts: 7621 Joined: 12-December 01 From: Germany, Dresden Member No.: 203 Mp3tag Version: 2.55a |
It returns the variable bitrate found in a VBRI header.
-------------------- |
|
|
|
Sep 24 2009, 17:51
Post
#13
|
|
|
Member Group: Members Posts: 1 Joined: 14-October 08 Member No.: 7714 Mp3tag Version: 2.41c |
so... is average bitrate possible for VBR albums?
i managed to rename CBR fine. but for now, i just set all VBR albums to [VBR]. would love to add average bitrate, but nothing seems to work. if you have any hints, please let me know! thanks |
|
|
|
Jul 14 2012, 10:56
Post
#14
|
|
|
Member Group: Members Posts: 3 Joined: 14-July 12 Member No.: 16677 Mp3tag Version: 2.51 |
though this thread is a bit old, I just add one expression based on the ones posted above (thanks a lot to everyone here as I have no idea how to write this sort of thing!!
if like me you don't want to have your folder name modified (cuz you have other info) and just want the bitrate added to it e.g: Artist - Album - year [Japanese Edition] (remastered 20XX) becomes Artist - Album - year [Japanese Edition] (remastered 20XX) [320] choose: Format value field: _directory format string: %_directory% '['$if($eql(%_vbr%,'VBR'),VBR %_bitrate%,%_bitrate%)']' it worked for me |
|
|
|
Jul 14 2012, 14:47
Post
#15
|
|
![]() Member Group: Full Members Posts: 4129 Joined: 26-May 06 From: Wuppertal, Germany, Planet Earth Member No.: 3194 Mp3tag Version: 2.54 |
though this thread is a bit old ... field: _directory format string: %_directory% '['$if($eql(%_vbr%,'VBR'),VBR %_bitrate%,%_bitrate%)']' ... it worked for me Hm, ... it worked for you, but how? I want to repeat that ... http://forums.mp3tag.de/index.php?showtopi...ost&p=36927 DD.20120714.1546.CEST -------------------- * 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: 25th May 2013 - 20:20 |