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.

3 Pages V  < 1 2 3 >  
Reply to this topicStart new topic
> Volumed (multiple part) Compilation Folder Creation, Creating folders for Compilations that have multiple numbered volumes
MyAlteredEgo
post May 6 2017, 15:02
Post #16


Member


Group: Full Members
Posts: 70
Joined: 3-January 17
Member No.: 22893
Mp3tag Version: 2.85



QUOTE (DetlevD @ May 5 2017, 05:29) *
Try again ...
ALBUM       : Cold Hands Seduction Volume 182
Convert     : Tag-Tag
Field       : TEST
Formatstring: [$regexp(%album%,'^.* (Volume \d+).*$','$1')'\']%album%
Result      : Volume 182\Cold Hands Seduction Volume 182

See also ... http://forums.mp3tag.de/index.php?showtopic=20126

DD.20170505.0641.CEST


This works however the results are reversed:

Result      : Volume 182\Cold Hands Seduction Volume 182

looking for

Result      : Cold Hands Seduction (with Volume and Number removed)\ Volume 182
Go to the top of the page
 
+Quote Post
MyAlteredEgo
post May 6 2017, 15:53
Post #17


Member


Group: Full Members
Posts: 70
Joined: 3-January 17
Member No.: 22893
Mp3tag Version: 2.85



QUOTE (MyAlteredEgo @ May 6 2017, 15:02) *
This works however the results are reversed:

Result      : Volume 182\Cold Hands Seduction Volume 182

looking for

Result      : Cold Hands Seduction (with Volume and Number removed)\ Volume 182

So I have been able to get the Folder tree desired result now just need to know how to remove the Volume 182 from the original folder?
Go to the top of the page
 
+Quote Post
DetlevD
post May 6 2017, 18:51
Post #18


Member


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



QUOTE (MyAlteredEgo @ May 6 2017, 16:02) *
... looking for Result: Cold Hands Seduction (with Volume and Number removed)\ Volume 182

ALBUM       : Cold Hands Seduction Volume 182
Convert     : Tag-Tag
Field       : TEST
Formatstring: $regexp(%album%,'^(.+)\s(Volume\s\d+)$','$1\\$2')
Result      : Cold Hands Seduction\Volume 182

ALBUM       : Cold Hands Seduction 123
Convert     : Tag-Tag
Field       : TEST
Formatstring: $regexp(%album%,'^(.+)\s(Volume\s\d+)$','$1\\$2')
Result      : Cold Hands Seduction 123


DD.20170506.1952.CEST

This post has been edited by DetlevD: May 6 2017, 18:52


--------------------
* 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
MyAlteredEgo
post May 6 2017, 20:38
Post #19


Member


Group: Full Members
Posts: 70
Joined: 3-January 17
Member No.: 22893
Mp3tag Version: 2.85



QUOTE (DetlevD @ May 6 2017, 18:51) *
ALBUM       : Cold Hands Seduction Volume 182
Convert     : Tag-Tag
Field       : TEST
Formatstring: $regexp(%album%,'^(.+)\s(Volume\s\d+)$','$1\\$2')
Result      : Cold Hands Seduction\Volume 182

ALBUM       : Cold Hands Seduction 123
Convert     : Tag-Tag
Field       : TEST
Formatstring: $regexp(%album%,'^(.+)\s(Volume\s\d+)$','$1\\$2')
Result      : Cold Hands Seduction 123


DD.20170506.1952.CEST

Thank you however I am not looking to compromise the Album title...what I am trying to adjust is the DIRECTORY STRUCTURE
end result being...

(folder) Cold Hands Seduction
(sub-folder) Volume #
(sub-folder(s) as required) Disc(s) and associated tracks
Go to the top of the page
 
+Quote Post
ohrenkino
post May 6 2017, 22:27
Post #20


Member


Group: Full Members
Posts: 9309
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.85d



QUOTE (MyAlteredEgo @ May 6 2017, 21:38) *
Thank you however I am not looking to compromise the Album title...what I am trying to adjust is the DIRECTORY STRUCTURE
end result being...

(folder) Cold Hands Seduction
(sub-folder) Volume #
(sub-folder(s) as required) Disc(s) and associated tracks

That what DetlevD showed does not do anything to the field ALBUM but saves the result in a field called TEST.
Instead of using TEST as target, enter the field that you really want to modify.


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
DetlevD
post May 7 2017, 08:49
Post #21


Member


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



QUOTE (MyAlteredEgo @ May 6 2017, 21:38) *
...what I am trying to adjust is the DIRECTORY STRUCTURE ...

You got an example how to do it on a test tagfield as a preview, by applying the converter dialog "Tag-Tag".
To make it permanent in the disk folder system, then instead of tagfield TEST do apply the pseudo-tagfield _DIRECTORY.
It is sufficient to select only one file in the folder, all other files in the folder are automatically moved as well.

DD.20170507.0952.CEST

This post has been edited by DetlevD: May 7 2017, 08:52


--------------------
* 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
MyAlteredEgo
post Jun 4 2017, 23:03
Post #22


Member


Group: Full Members
Posts: 70
Joined: 3-January 17
Member No.: 22893
Mp3tag Version: 2.85



QUOTE (DetlevD @ May 7 2017, 08:49) *
You got an example how to do it on a test tagfield as a preview, by applying the converter dialog "Tag-Tag".
To make it permanent in the disk folder system, then instead of tagfield TEST do apply the pseudo-tagfield _DIRECTORY.
It is sufficient to select only one file in the folder, all other files in the folder are automatically moved as well.

DD.20170507.0952.CEST



So after some playing around with this I have been able to achieve the folder structure that I wanted. The example below is for Roman Numeral compilations hence the \D+ and achieves the desired result...

Format value "TITLESORT": [$regexp(%album%,'^.* (Part \D+).*$','$1')]
Format value "ALBUMSORT": $cutRight(%album%,$len(%titlesort%))
Format value "_FILENAME": F:\Backup Processing\%albumartist%\%albumsort%\%titlesort% %mediatype% %year%\%_filename_ext%

I receive an error if I try simply formating the existing "_DIRECTORY" so I use a "_FILENAME" command using a proper windows filepath and the formatted values. Only issue remains is that I am unable to get the cover art (folder/file) to move with it to the new directory. Now most of my files have the coverart embedded however there are other files such as insert images and back cover and disc photos in some of the files so I would like to have these files/folder go with it to the new directory. Any suggestions would be appreciated.
Go to the top of the page
 
+Quote Post
DetlevD
post Jun 5 2017, 07:38
Post #23


Member


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



QUOTE (MyAlteredEgo @ Jun 5 2017, 00:03) *
... I have been able to achieve the folder structure that I wanted. ... I receive an error if I try simply formating the existing "_DIRECTORY" so I use a "_FILENAME" command using a proper windows filepath and the formatted values. Only issue remains is that I am unable to get the cover art (folder/file) to move with it to the new directory. ... I would like to have these files/folder go with it to the new directory. Any suggestions would be appreciated.

You can take and move all files in the directory folder, when you edit the pseudo tagfield _DIRECTORY.
Try to "format value" the pseudo tag field _DIRECTORY instead of the pseudo tag field _FILENAME.
This will cause a MOVE of the complete folder.

When you load the track files, respectively the parent folder, respectively the root folder, into Mp3tag, you should have a closer look to the fact where is the Mp3tag workfolder situated (should be read in Mp3tag window title).
In relation to this workfolder you can assemble a relative folderpath which points to the place where you want to create the new subfolder of your wish.
As an alternative way you can use an absolute path starting at the drive root, carrying the complete folderpath which points to the new folder.
See also ...
https://forums.mp3tag.de/index.php?showtopic=19805
https://forums.mp3tag.de/index.php?showtopi...ost&p=76784

DD.20170605.0838.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
MyAlteredEgo
post Jun 9 2017, 02:46
Post #24


Member


Group: Full Members
Posts: 70
Joined: 3-January 17
Member No.: 22893
Mp3tag Version: 2.85



QUOTE (DetlevD @ Jun 5 2017, 07:38) *
You can take and move all files in the directory folder, when you edit the pseudo tagfield _DIRECTORY.
Try to "format value" the pseudo tag field _DIRECTORY instead of the pseudo tag field _FILENAME.
This will cause a MOVE of the complete folder.

When you load the track files, respectively the parent folder, respectively the root folder, into Mp3tag, you should have a closer look to the fact where is the Mp3tag workfolder situated (should be read in Mp3tag window title).
In relation to this workfolder you can assemble a relative folderpath which points to the place where you want to create the new subfolder of your wish.
As an alternative way you can use an absolute path starting at the drive root, carrying the complete folderpath which points to the new folder.
See also ...
https://forums.mp3tag.de/index.php?showtopic=19805
https://forums.mp3tag.de/index.php?showtopi...ost&p=76784

DD.20170605.0838.CEST


So attempting use the _DIRECTORY suggestions above I have run into the following error which I am unable to resolve.

"Unable to create folder. They system can not find the path specified"
Yet if I use the _FILENAME version all works? Am stymied by this....
Go to the top of the page
 
+Quote Post
ohrenkino
post Jun 9 2017, 06:01
Post #25


Member


Group: Full Members
Posts: 9309
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.85d



QUOTE (MyAlteredEgo @ Jun 9 2017, 03:46) *
So attempting use the _DIRECTORY suggestions above I have run into the following error which I am unable to resolve.

"Unable to create folder. They system can not find the path specified"
Yet if I use the _FILENAME version all works? Am stymied by this....

This is an OS message, right?
So either you have not got the sufficient access rights or the total filename (with all the path components) is too long or you have illegal characters in it.


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
DetlevD
post Jun 9 2017, 10:28
Post #26


Member


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



QUOTE (MyAlteredEgo @ Jun 9 2017, 03:46) *
So attempting use the _DIRECTORY suggestions above I have run into the following error which I am unable to resolve. "Unable to create folder. They system can not find the path specified" ...

Note: When formatting the pseudo tag-field _DIRECTORY, then only the target folder needs to defined, therefore apply a formatstring, which has no filename component.

DD.20170609.1128.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
MyAlteredEgo
post Jun 9 2017, 13:16
Post #27


Member


Group: Full Members
Posts: 70
Joined: 3-January 17
Member No.: 22893
Mp3tag Version: 2.85



QUOTE (DetlevD @ Jun 9 2017, 10:28) *
Note: When formatting the pseudo tag-field _DIRECTORY, then only the target folder needs to defined, therefore apply a formatstring, which has no filename component.

DD.20170609.1128.CEST


So this is what I have and I also tried replacing some of the variables with definative file paths with similar results...

%albumartist%\%albumsort%\%titlesort% %mediatype% %year%/
Go to the top of the page
 
+Quote Post
DetlevD
post Jun 9 2017, 14:39
Post #28


Member


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



QUOTE (MyAlteredEgo @ Jun 9 2017, 14:16) *
So this is what I have and I also tried replacing some of the variables with definative file paths with similar results...
%albumartist%\%albumsort%\%titlesort% %mediatype% %year%/

Hmm, you offer a relative path, starting from which drive:\folder?

Format the pseudo-tagfield _DIRECTORY ...
try out a formatstring like the following, ...
replace 'drive:\path' with your environment, ...
make sure to have all parts filled with fitting text, ...

_DIRECTORY <== $validate('drive:\path\'%albumartist%'\'%albumsort%'\'$trim(%titlesort%' '%mediatype%' '%year%),'_')

DD.20170609.1539.CEST

This post has been edited by DetlevD: Jul 3 2017, 09:49


--------------------
* 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
MyAlteredEgo
post Jun 11 2017, 20:18
Post #29


Member


Group: Full Members
Posts: 70
Joined: 3-January 17
Member No.: 22893
Mp3tag Version: 2.85



QUOTE (DetlevD @ Jun 9 2017, 15:39) *
Hmm, you offer a relative path, starting from which drive:\folder?

Format the pseudo-tagfield _DIRECTORY ...
try out a formatstring like the following, ...
replace 'drive:\path' with your environment, ...
make sure to have all parts filled with fitting text, ...

_DIRECTORY <== $validate('drive:\path\'%albumartist%'\'%albumsort%'\'$trim(%titlesort%' '%mediatype%' '%year%),'_')

DD.20170609.1539.CEST

Thank you this now works as I wanted. All assistance appreciated and thanka again.
Go to the top of the page
 
+Quote Post
MyAlteredEgo
post Jul 2 2017, 15:46
Post #30


Member


Group: Full Members
Posts: 70
Joined: 3-January 17
Member No.: 22893
Mp3tag Version: 2.85



QUOTE (MyAlteredEgo @ Jun 11 2017, 21:18) *
Thank you this now works as I wanted. All assistance appreciated and thanka again.


Have hit a snag with a variant I have been able to configure this script for "Festivals, Compilations,Volumes (numbered and Roman Numerals) however am stuck with one type....

The one that is causing me issue now is one that is an number followed by a " | " than a number?
For example File 13 | 3 now I can get it to create a folder similar to what I want but it removes the | 3 and cuts it down to File 13. Which would be fine if there isn't any other versions...but there could be a File 13 | 4 which than would create a file already exists error...?

Suggestions?

I have tried using [$regexp(%album%,'^.* (File \D+).*$','$1')] however this does nothing due to the number 1st and as indicated if I use the [$regexp(%album%,'^.* (File \d+).*$','$1')] it cut out the " | 3" which I would ultimately like to keep.
Go to the top of the page
 
+Quote Post

3 Pages V  < 1 2 3 >
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: 12th December 2017 - 03:30