IPB

Welcome Guest ( Log In | Register )

> Notice!

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.

2 Pages V   1 2 >  
Reply to this topicStart new topic
> Average bitrate in folder name
okram
post 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!
Go to the top of the page
 
+Quote Post
drbeachboy
post 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.59b



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"
Go to the top of the page
 
+Quote Post
drbeachboy
post 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.59b



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"
Go to the top of the page
 
+Quote Post
okram
post Apr 10 2009, 16:22
Post #4


Member


Group: Full Members
Posts: 5
Joined: 9-April 09
Member No.: 9622
Mp3tag Version: 2.43



QUOTE (drbeachboy @ Apr 9 2009, 22:40) *
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"
Go to the top of the page
 
+Quote Post
drbeachboy
post 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.59b



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"
Go to the top of the page
 
+Quote Post
drbeachboy
post 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.59b



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"
Go to the top of the page
 
+Quote Post
DetlevD
post Apr 10 2009, 20:00
Post #7


Member


Group: Full Members
Posts: 5031
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.63



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 ♥
Go to the top of the page
 
+Quote Post
okram
post 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. :-)
Go to the top of the page
 
+Quote Post
DetlevD
post Apr 10 2009, 20:33
Post #9


Member


Group: Full Members
Posts: 5031
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.63



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 ♥
Go to the top of the page
 
+Quote Post
okram
post Apr 10 2009, 20:42
Post #10


Member


Group: Full Members
Posts: 5
Joined: 9-April 09
Member No.: 9622
Mp3tag Version: 2.43



QUOTE (DetlevD @ Apr 10 2009, 21:33) *
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
Go to the top of the page
 
+Quote Post
okram
post Apr 19 2009, 15:04
Post #11


Member


Group: Full Members
Posts: 5
Joined: 9-April 09
Member No.: 9622
Mp3tag Version: 2.43



QUOTE (okram @ Apr 10 2009, 21:42) *
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?
Go to the top of the page
 
+Quote Post
Florian
post Apr 20 2009, 10:08
Post #12


Developer


Group: Admin
Posts: 7728
Joined: 12-December 01
From: Germany, Dresden
Member No.: 203
Mp3tag Version: 2.65a



It returns the variable bitrate found in a VBRI header.


--------------------
♫ If you like using Mp3tag please donate to support further development.

Go to the top of the page
 
+Quote Post
garbanzo
post 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 smile.gif
Go to the top of the page
 
+Quote Post
deafandblind
post 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!! laugh.gif )

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 book.gif

Go to the top of the page
 
+Quote Post
DetlevD
post Jul 14 2012, 14:47
Post #15


Member


Group: Full Members
Posts: 5031
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.63



QUOTE (deafandblind @ Jul 14 2012, 11:56) *
though this thread is a bit old ...
field: _directory
format string: %_directory% '['$if($eql(%_vbr%,'VBR'),VBR %_bitrate%,%_bitrate%)']'
... it worked for me book.gif

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 ♥
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
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: 1st November 2014 - 10:38