I've been using mp3tag for a while, and very much love it! Especially after updating recently and finding the few annoyances I'd lived with had gone away. Yesterday I discovered 'Actions' and decided to try my hand at further automating my file tagging. I've got most of what I want working, but I'm wondering if there is an easy way to get the directory name that is one above _Parent_Directory? I save files in the following formats:
%artist%\%album%\%track% - %title%
%artist%\%year% - %album%\%track% - %title%
%artist%\%album% [nCD]\CDn\%track% - %title%
%artist%\%album% [nnCD]\CDnn\%track% - %title%
%artist%\%year% - %album% [nnCD]\CDnn (subalbum title)\%track% - %title%
and so on, using CD1, CD2 etc for multiple disk albums.
So sometimes I want to get the artist from the second directory back (which I get with _Parent_Directory), and sometimes the third. Is there an easier way than... Come to think of it, how can I search from the right for the correct occurrance of ""?
If this is not so easy, then I'll make a suggestion for a function that would return the x higher directory
Thanks for any help. Mp3tag is really a great piece of software! I used to follow the Vim development when I used it at work, and now I have a substitute obsession for home
Terry