Welcome Guest

Pages: 1
Extracting Catalog Number From Parent Folder
bigshumPostSeptember 1, 2015, 09:57
Newbie
Posts: 7
Registered:
July 23, 2015, 17:41
Normal topicExtracting Catalog Number From Parent Folder

Hello All,

I’m having some difficulty producing a User Action. I’ve tried reading the documentation for a given example User Action but I am still confused.

I have mp3 files that are contained within a folder of the following structure;

"[Catalog Number] Release Name (Release Year)”

I wish to extract the textual information from “[Catalog Number]” of the parent folder and populate the “Catalog Number” field TXXX/CATALOGNUMBER (?)

The script I have been trying to follow is “Extract And Expand Artist Title” found here;

http://2manyrobots.com/SampleActions/docs/ExtractExpandArtistAlbumTitle.html

However I am getting stuck fairly early on, so far my User Action looks like (note that I have yet to do any extraction of the information I need, at this stage I am just trying to get the parent folder name into the Catalog Number field and take it from there);

Get Property Parent Folder Name -> Variable 1
Run inline action ‘Expand’ grouped
Set The Catalog Number field to “\<Result>”

When I run the action I get the following error;

Missing Inline Action
The ‘Expand’ inline action does not exist”

Any pointers would be greatly appreciated.

Thanks in advance!

2MR2PostSeptember 1, 2015, 11:10
Avatar photo
Administrator
Posts: 2339
Registered:
August 23, 2012, 19:27
Normal topicRe: Extracting Catalog Number From Parent Folder

Hmm.. something must have been changed in the action. I just downloaded and ran it and 'Expand' is found.

In this case what you are trying to achieve is far less complicated than the action you were looking at. There are a variety of ways to do it in actions and even by a File to Tag template. I'd do it in an action this way:

Get Property Folder Name -> Variable 1
Extract text from field Variable 1 Bracketed by [ ]. Save to Variable 2
Copy the Variable 2 field to the Catalog Number field

Note that the 2nd statement is an 'Extract Bracketed Text' statement.

Pages: 1
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.068 seconds.