Please put feedback to the naming scheme tutorial (http://forum.dbpoweramp.com/showthread.php?t=13928) here.
Please put feedback to the naming scheme tutorial (http://forum.dbpoweramp.com/showthread.php?t=13928) here.
Just starting to read this carefully, but it looks very good. Lots more information, just what I needed. Thank you.
Gerard Lardner
OK, I have spent a lot of time studying and learning the naming commands and feel that I understand what I am doing but I am still having a problem. I want 4 rules to be followed. 1. (compilation or not) if genre = soundtrack then put it in \soundtracks\album\filename. 2. (compilation or not) if genre = holiday then put it in \holiday\album\filename. 3. if artist = various artists then put it in \various artists\album\filename. 4. if single artist or band then put it in \artist or band\album\filename. The problem I am having is that it is repeating rules or skipping them ie. James Brown Christmas is a genre holiday AND single artist but it is placing it in \James Brown\... NOT \holiday\... Any suggestions? I have tried about 2 doz different combinations and can't seem to get it to work with all options. I guess what would make it the easiest would be if the commands were order specific, then which ever rule applied first would be the one that DBA would follow.
Thanks again,
Nathan
Where do you insert the '\' to get a new folder created per album regardless of whether it's a compilation, multidisc, or single disk?
I just ripped a single cd and the only folder that was created was for the artist.
I'm using the default naming scheme...
[IFCOMP][IFVALUE]album artist,[album artist],Various Artists[]\[album][IFMULTI] Disc [disc][]\[track] [artist] - [title][][IF!COMP][IFVALUE]album artist,[album artist],[artist][]\[artist] - [album][IFMULTI] Disc [disc][] - [track] - [title][]
Thanks!
For the [IFCOMP] part, you should have a separate folder for each album. For the [IF!COMP] part, add a [album]\ towards the end, to make it this:
Code:\[album]\[artist] - [album][IFMULTI] Disc [disc][] - [track] - [title][]
Thanks. That did the trick!
I have a problem that when I use the [IF!EQUALS] operator. I am not getting the expected results.
Tag and Value
[album artist] is set to Allman Brothers Band, The
[artist] is set to Allman Brothers Band, The
I copied the following from the Naming SET button by checking the Current CD Meta box.
my code
[IFVALUE]album artist,[album artist],Various Artists[]\[album]\[album artist] - [album] - [IFMULTI] Disc [disc] - [][track] - [title][IF!EQUALS][artist],[album artist], - [artist][]
my results
Allman Brothers Band, The\Hittin' the Note\Allman Brothers Band, The - Hittin' the Note - 02 - High Cost of Low Living - Allman Brothers Band, The
From my understanding of the operator the last artist name in the results should not be there.
If I change [IF!EQUALS] to [IFEQUALS] the last artist name does not appear.
This seems opposite to how I understand the operators.
What am I missing?
Thanks,
Chip
Send your order number please to:
http://www.dbpoweramp.com/email.htm
Spoon
www.dbpoweramp.com
I have sent the email as requested.
Sorry my oder number request should have gone to another thread...
You need:
[IF!EQUALS]artist,[album artist], - [artist][]
The first tag value does not need [] around as it has to be a tag value, it is a little bit of a discrepancy I know.
Spoon
www.dbpoweramp.com
Hi
I've looked at the tutorial but cannot find what I'm after.
I would like to rip music to a folder with the artist surname ie Jarrett, Keith not Keith Jarrett. Can this be done?
Thanks
Is there a limit on length? I tried to make a long string to handle various degenerate cases, and in the one example in the dialog (Madonna*) it looks fine. But on disk the paths created have the various codes mixed in.
(*there really ought to be lots more, and an option to preview all names before converting and flag likely errors from bad tags).
Here's the string:
Here's the breakdown:Code:[TRIM][IFVALUE][album artist],[UPPER][GRAB]1,1,[TRIM][album artist][][][],[IFVALUE][album],[UPPER][GRAB]1,1,[TRIM][album][][][],[IFVALUE][artist],[UPPER][GRAB]1,1,[TRIM][artist][][][],[ Unknown ][][][][]\[TRIM][IFVALUE][album artist],[MAXLENGTH]30,[TRIM][album artist][][],[IFVALUE][album],[MAXLENGTH]30,[TRIM][album][][],[IFVALUE][artist],[MAXLENGTH]30,[TRIM][artist][][],[ Unknown ][][][][IFVALUE][year],[IF!EQUALS][year],0000, . ([TRIM][MAXLENGTH]4,[year][][])[],[][IFVALUE][album artist],[IFVALUE][album], . [MAXLENGTH]30,[TRIM][album][][],[],[][IFCOMP] . Compilation[][IFVALUE][disc], . disc [disc][IFVALUE][disc_total], of [disc_total],[],[][IFVALUE][track_total], . [track_total] tracks,[][IFVALUE][album artist],,[IFVALUE][album],,[IFVALUE][artist],,[TRIMFIRSTFOLDER][TRIMFIRSTFOLDER][TRIMFIRSTFOLDER][origpath][][][][][][][]\[TRIM][IFVALUE][track],[TRIM][track][],__[] . [IFVALUE][title],[TRIM][MAXLENGTH]30,[title][][],[ Unknown Title ] . [ [origfilename] ] . [unique][][IFVALUE][artist],[IFVALUE][album artist],[IF!EQUALS][artist],[album artist], . ([TRIM][MAXLENGTH]30,[artist][][])[],[IFVALUE][album], . ([TRIM][MAXLENGTH]30,[artist][][]),[][],[][].[extension]
In the dialog, this string results in:Code:*** Get first letter, or [ Unknown ], as first directory name *** [ Unknown ]\ *** A\ *** B\ [TRIM] [IFVALUE][album artist], [UPPER][GRAB]1,1,[TRIM][album artist][][][] , [IFVALUE][album], [UPPER][GRAB]1,1,[TRIM][album][][][] , [IFVALUE][artist], [UPPER][GRAB]1,1,[TRIM][artist][][][] , [ Unknown ] [] [] [] [] \ *** Get next directory name [TRIM] *** [ Unknown ]\[ Unknown ] *** A\Album Artist *** B\Bummerville Soundtrack *** C\Cool Track Artist [IFVALUE][album artist], [MAXLENGTH]30,[TRIM][album artist][][] , [IFVALUE][album], [MAXLENGTH]30,[TRIM][album][][] , [IFVALUE][artist], [MAXLENGTH]30,[TRIM][artist][][] , [ Unknown ] [] [] [] *** Add year if there is one *** [ Unknown ]\[ Unknown ] *** [ Unknown ]\[ Unknown ] . (1999) *** A\Album Artist *** A\Album Artist . (1999) *** B\Bummerville Soundtrack *** B\Bummerville Soundtrack . (1999) *** C\Cool Track Artist *** C\Cool Track Artist . (1999) [IFVALUE][year], [IF!EQUALS][year],0000, . ([TRIM][MAXLENGTH]4,[year][][]) [] , [] *** Add album title, if not added above *** A\Album Artist *** A\Album Artist . (1999) *** A\Album Artist . (1999) Album Title *** A\Album Artist . Album Title [IFVALUE][album artist], [IFVALUE][album], . [MAXLENGTH]30,[TRIM][album][][] , [] , [] *** Add compilation, if is *** [ Unknown ]\[ Unknown ] *** [ Unknown ]\[ Unknown ] . (1999) *** [ Unknown ]\[ Unknown ] . (1999) . Compilation *** [ Unknown ]\[ Unknown ] . Compilation *** A\Album Artist *** A\Album Artist . (1999) *** A\Album Artist . (1999) Album Title *** A\Album Artist . (1999) Album Title . Compilation *** A\Album Artist . (1999) . Compilation *** A\Album Artist . Album Title *** A\Album Artist . Album Title . Compilation *** A\Album Artist . Compilation *** B\Bummerville Soundtrack *** B\Bummerville Soundtrack . (1999) *** B\Bummerville Soundtrack . (1999) . Compilation *** B\Bummerville Soundtrack . Compilation *** C\Cool Track Artist *** C\Cool Track Artist . (1999) *** C\Cool Track Artist . (1999) . Compilation *** C\Cool Track Artist . Compilation [IFCOMP] . Compilation [] *** Add disc info *** [ Unknown ]\[ Unknown ] *** [ Unknown ]\[ Unknown ] . (1999) *** [ Unknown ]\[ Unknown ] . (1999) . Compilation *** [ Unknown ]\[ Unknown ] . Compilation *** A\Album Artist *** A\Album Artist . (1999) *** A\Album Artist . (1999) Album Title *** A\Album Artist . (1999) Album Title . Compilation *** A\Album Artist . (1999) . Compilation *** A\Album Artist . Album Title *** A\Album Artist . Album Title . Compilation *** A\Album Artist . Compilation *** B\Bummerville Soundtrack *** B\Bummerville Soundtrack . (1999) *** B\Bummerville Soundtrack . (1999) . Compilation *** B\Bummerville Soundtrack . Compilation *** C\Cool Track Artist *** C\Cool Track Artist . (1999) *** C\Cool Track Artist . (1999) . Compilation *** C\Cool Track Artist . Compilation *** [ Unknown ]\[ Unknown ] . Disc 1 *** [ Unknown ]\[ Unknown ] . (1999) . Disc 1 *** [ Unknown ]\[ Unknown ] . (1999) . Compilation . Disc 1 *** [ Unknown ]\[ Unknown ] . Compilation . Disc 1 *** A\Album Artist . Disc 1 *** A\Album Artist . (1999) . Disc 1 *** A\Album Artist . (1999) Album Title . Disc 1 *** A\Album Artist . (1999) Album Title . Compilation . Disc 1 *** A\Album Artist . (1999) . Compilation . Disc 1 *** A\Album Artist . Album Title . Disc 1 *** A\Album Artist . Album Title . Compilation . Disc 1 *** A\Album Artist . Compilation . Disc 1 *** B\Bummerville Soundtrack . Disc 1 *** B\Bummerville Soundtrack . (1999) . Disc 1 *** B\Bummerville Soundtrack . (1999) . Compilation . Disc 1 *** B\Bummerville Soundtrack . Compilation . Disc 1 *** C\Cool Track Artist . Disc 1 *** C\Cool Track Artist . (1999) . Disc 1 *** C\Cool Track Artist . (1999) . Compilation . Disc 1 *** C\Cool Track Artist . Compilation . Disc 1 *** [ Unknown ]\[ Unknown ] . Disc 1 *** [ Unknown ]\[ Unknown ] . (1999) . Disc 1 *** [ Unknown ]\[ Unknown ] . (1999) . Compilation . Disc 1 *** [ Unknown ]\[ Unknown ] . Compilation . Disc 1 [IFVALUE][disc], . disc [disc] [IFVALUE][disc_total], of [disc_total] , [] , [] [IFVALUE][track_total], . [track_total] tracks , [] [IFVALUE][album artist], , [IFVALUE][album], , [IFVALUE][artist], , [TRIMFIRSTFOLDER][TRIMFIRSTFOLDER][TRIMFIRSTFOLDER][origpath][][][] [] [] [] [] \ [TRIM] [IFVALUE][track], [TRIM] [track] [] , __ [] . [IFVALUE][title], [TRIM] [MAXLENGTH] 30 , [title] [] [] , [ Unknown Title ] . [ [origfilename] ] . [unique] [] [IFVALUE][artist], [IFVALUE][album artist], [IF!EQUALS][artist],[album artist], . ([TRIM][MAXLENGTH]30,[artist][][]) [] , [IFVALUE][album], . ([TRIM][MAXLENGTH]30,[artist][][]) , [] [] , [] [] .[extension]
On disk, I get paths like these (in addition to various crashes in CoreConverter.exe):Code:M\Madonna . (2003) . Immaculate . disc 1\05 . Holiday.mp3
When converting *.ogg to *.mp3, the above Madonna track converts from thisCode:V:\Audio\Converted\[TRIM][IFVALUE]album artist,[UPPER][GRAB]1,1,[TRIM][][][],[IFVALUE]album,[UPPER][GRAB]1,1,[TRIM][][][],[IFVALUE]artist,[UPPER][GRAB]1,1,[TRIM][][][],[ Unk\[TRIM][IFVALUE]track,[TRIM][],__[] . [IFVALUE]title,[TRIM][M. 9807[][IFVALUE]arti.mp3
to thisCode:G:\Audio\Music\M\Madonna\The Immaculate Collection (1990)\ogg . 01 . Holiday . 241kb.oggCode:V:\Audio\Converted\[TRIM][IFVALUE]album artist,[UPPER][GRAB]1,1,[TRIM][][][],[IFVALUE]album,[UPPER][GRAB]1,1,[TRIM]The Immaculate Collection[][][],[IFVALUE]artist,[UPPER][GR\[TRIM][IFVALUE]track,[TRIM]01[],__[] . [IFVALUE]title,[TRIM]. 9909[][IFVALUE]arti.mp3
Other comments:
I haven't gone through all of the tutorials (and probably won't at this point, just using a simple string instead), but it would be nice if all path problems like spaces at the beginning or ends of filenames or pathnames were automatically taken care of.
You are putting the naming string into the dynamic section, rather than the file path (which is limited to 255 chars).
Spoon
www.dbpoweramp.com
I'm not sure what you mean...
In 'Folder', I have:In 'Dynamic', I have the dynamic code.Code:V:\Audio\Converted\
Windows paths should be limited to 255 chars for each file or directory name, not 255 chars for the entire path name. I have various [MAXLENGTH]s in there to take care of that limit.
Regardless, I don't think any computed path lengths will be over 255 chars total, so I assume the limitation here is that the string of codes is limited to a certain number of chars, which it shouldn't be, since that's something under dBpoweramp's control and not an OS issue.
I tried a shorter string which works:
Code:G:\Audio\Music\M\Madonna\The Immaculate Collection (1990)\ogg . 01 . Holiday . 241kb.ogg [TRIM][IFVALUE][album artist],[UPPER][GRAB]1,1,[TRIM][album artist][][][],[IFVALUE][artist],[UPPER][GRAB]1,1,[TRIM][artist][][][],[IFVALUE][album],[UPPER][GRAB]1,1,[TRIM][album][][][],[ Unknown ][][][][]\[TRIM][IFVALUE][album artist],[MAXLENGTH]30,[TRIM][album artist][][],[IFVALUE][artist],[MAXLENGTH]30,[TRIM][artist][][],[IFVALUE][album],[MAXLENGTH]30,[TRIM][album][][],[TRIMFIRSTFOLDER][origpath][][][][][IFVALUE][year], . ([year]),[][TRIM][MAXLENGTH]30,[IFVALUE][album artist],[IFVALUE][album], . [album],[],[IFVALUE][artist],[IFVALUE][album], . [album],[],[][][][][IFMULTI] . disc [disc][][]\[TRIM][track] . [IFVALUE][title],[TRIM][MAXLENGTH]30,[title][][],[ Unknown Title ] . [ [origfilename] ] . [unique][][IFVALUE][artist],[IFVALUE][album artist],[IF!EQUALS][artist],[album artist], . ([TRIM][MAXLENGTH]30,[artist][][])[],[],[][] V:\Audio\Converted\M\Madonna . (1990). The Immaculate Collection\01 . Holiday.mp3
I can try the individual components (making the code string smaller) and they work individually:
Part 1:
becomesCode:[Path Part 1]\ [TRIM] [IFVALUE][album artist], [UPPER][GRAB]1,1,[TRIM][album artist][][][] , [IFVALUE][artist], [UPPER][GRAB]1,1,[TRIM][artist][][][] , [IFVALUE][album], [UPPER][GRAB]1,1,[TRIM][album][][][] , [ Unknown ] [] [] [] [] \[Unique ID [unique]]
creatingCode:[Path Part 1]\[TRIM][IFVALUE][album artist],[UPPER][GRAB]1,1,[TRIM][album artist][][][],[IFVALUE][artist],[UPPER][GRAB]1,1,[TRIM][artist][][][],[IFVALUE][album],[UPPER][GRAB]1,1,[TRIM][album][][][],[ Unknown ][][][][]\[Unique ID [unique]]
Code:V:\Audio\Converted\[Path Part 1]\M\[Unique ID 9924].mp3
Part 2:
becomesCode:[Path Part 2]\ [TRIM] [IFVALUE][album artist], [MAXLENGTH]30,[TRIM][album artist][][] , [IFVALUE][artist], [MAXLENGTH]30,[TRIM][artist][][] , [IFVALUE][album], [MAXLENGTH]30,[TRIM][album][][] , [ Unknown ] [] [] [] [] \[Unique ID [unique]]
creatingCode:[Path Part 2]\[TRIM][IFVALUE][album artist],[MAXLENGTH]30,[TRIM][album artist][][],[IFVALUE][artist],[MAXLENGTH]30,[TRIM][artist][][],[IFVALUE][album],[MAXLENGTH]30,[TRIM][album][][],[ Unknown ][][][][]\[Unique ID [unique]
Code:V:\Audio\Converted\[Path Part 2]\Madonna\[Unique ID 9926].mp3
Part 3:
becomesCode:[Path part 3]\ [TRIM] [IFVALUE][year], [IF!EQUALS][year],0000, . ([TRIM][MAXLENGTH]4,[year][][]) [] , [] [IFVALUE][album artist], [IFVALUE][album], . [MAXLENGTH]30,[TRIM][album][][] , [] , [] [IFCOMP] . Compilation [] [IFVALUE][disc], . disc [disc] [IFVALUE][disc_total], of [disc_total] , [] , [] [IFVALUE][track_total], . [track_total] tracks , [] [IFVALUE][album artist], , [IFVALUE][album], , [IFVALUE][artist], , [TRIMFIRSTFOLDER][TRIMFIRSTFOLDER][TRIMFIRSTFOLDER][origpath][][][] [] [] [] [] \[Unique ID [unique]]
creatingCode:[Path part 3]\[TRIM][IFVALUE][year],[IF!EQUALS][year],0000, . ([TRIM][MAXLENGTH]4,[year][][])[],[][IFVALUE][album artist],[IFVALUE][album], . [MAXLENGTH]30,[TRIM][album][][],[],[][IFCOMP] . Compilation[][IFVALUE][disc], . disc [disc][IFVALUE][disc_total], of [disc_total],[],[][IFVALUE][track_total], . [track_total] tracks,[][IFVALUE][album artist],,[IFVALUE][album],,[IFVALUE][artist],,[TRIMFIRSTFOLDER][TRIMFIRSTFOLDER][TRIMFIRSTFOLDER][origpath][][][][][][][]\[Unique ID [unique]]
(Note the space at the beginning of the (1990) folder - [TRIM] failed to get this, probably because the period got trimmed off too to avoid making the directory look like a system file. It would be very nice if all possible bad file names would be automatically converted to a good file name, with a warning or error logged to indicate the problem.)Code:V:\Audio\Converted\[Path part 3]\ (1990)\[Unique ID 9927].mp3
Part 4:
becomesCode:[Path part 4]\ [TRIM] [IFVALUE][track], [TRIM] [track] [] , __ [] . [IFVALUE][title], [TRIM] [MAXLENGTH] 30 , [title] [] [] , [ Unknown Title ] . [ [origfilename] ] . [unique] [] [IFVALUE][artist], [IFVALUE][album artist], [IF!EQUALS][artist],[album artist], . ([TRIM][MAXLENGTH]30,[artist][][]) [] , [] , [] []
creatingCode:[Path part 4]\[TRIM][IFVALUE][track],[TRIM][track][],__[] . [IFVALUE][title],[TRIM][MAXLENGTH]30,[title][][],[ Unknown Title ] . [ [origfilename] ] . [unique][][IFVALUE][artist],[IFVALUE][album artist],[IF!EQUALS][artist],[album artist], . ([TRIM][MAXLENGTH]30,[artist][][])[],[],[][]
Code:V:\Audio\Converted\[Path part 4]\01 . Holiday.mp3
If I combine the pieces in Windows, I get:
which is less than 255 characters for each part and for the total string. (Also missing the album since I screwed up and left that off.)Code:V:\Audio\Converted\M\Madonna\ (1990)\01 . Holiday.mp3
If I combine the codes in dBpoweramp, I get:
Code:V:\Audio\Converted\[TRIM][IFVALUE]album artist,[UPPER][GRAB]1,1,[TRIM][][][],[IFVALUE]artist,[UPPER][GRAB]1,1,[TRIM]Madonna[][][],[IFVALUE]album,[UPPER][GRAB]1,1,[TRIM]The Immacu\The Immaculate Collection (1990)[][][][][][][][TRIM][IFVALUE. 9929[][IFVALUE.mp3
Anyway, I'm switching to a standard simple string.
Hi
Currently have this in the Dynamic field and all is OK but I am getting results like "Corrs, the"
[IFCOMP][IFVALUE]album artist,[album artist],Various Artists[]\[album][IFMULTI] Disc [disc][]\[track] [artist] - [title][][IF!COMP][IFVALUE]album artist,[album artist],[artist][]\[album]\[artist] - [album][IFMULTI] Disc [disc][] - [track] - [title][]
What do I need to do so that the has a capital T ?
Copyright © illustrate 2024, All rights reserved