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.

> If %directory% < 4 letters use %parent_directory%+%directory% ?, (for use with AlbumArtist field)
post Jan 31 2012, 19:56
Post #1


Group: Full Members
Posts: 21
Joined: 18-August 07
Member No.: 5470
Mp3tag Version: 2,39

Hi all,

I was wondering if it would be possible to create an action to automatically fill all my "ArtistAlbum" fields with the Album name (which is always located in the directory name)?

Unless: the directory name is 4 letters long or less, the parent directory should be used.
(4 letters or less, means: CD2, CD01, etc).

Any ideas? smile.gif

This post has been edited by Da_maniaC: Jan 31 2012, 20:04
Go to the top of the page
+Quote Post
Start new topic
JJ Johnson
post Jan 31 2012, 20:04
Post #2


Group: Full Members
Posts: 926
Joined: 18-April 05
Member No.: 1742
Mp3tag Version: 2.84e

This can be done, but....

Don't you have (or want) the album name to be in the ALBUM field? Or do you use ARTISTALBUM instead of ALBUM?

You say the album name is "in" the directory name. All by itself, or does it need to be pulled out of the directory name?

It would be better to identify those disc subdirectories by a naming pattern and use a regular expression instead of just using the name length. You probably have many album names with fewer than five characters, so you could create an action that would be more thorough by using a regex.
Go to the top of the page
+Quote Post

Posts in this topic

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: 11th December 2017 - 18:34