Welcome Guest

Pages: 1
Test for value of Album Artist
thehobboPostFebruary 14, 2015, 10:00
Newbie
Posts: 5
Registered:
February 14, 2015, 11:22
Normal topicTest for value of Album Artist

Hi
I currently have 2 different actions that I perform on my tracks.
One is for albums where all tracks are by the same artist: I set the Artist and Album Artist to the same value
The other is for compilation albums: I set the Album Artist to Various Artists and Artist to the track artist.
That's how I like it!
I'm trying to figure out if I can combine my actions into 1 by adding conditionals.
I can't figure out how to test a tag value? Eg how do I check Album Artist value for Various Artists?
Cheers
James

thehobboPostFebruary 14, 2015, 10:11
Newbie
Posts: 5
Registered:
February 14, 2015, 11:22
Normal topicRe: Test for value of Album Artist

Never mind - just found this thread for the answer..

Forum

2MR2PostFebruary 14, 2015, 10:13
Avatar photo
Administrator
Posts: 2364
Registered:
August 23, 2012, 19:27
Normal topicRe: Test for value of Album Artist

You could check Album Artist by doing a Compare Text Test.

eg. Test if the Album Artist field is equal to "Various Artists" (Set result)

You can do the above, case insensitive and can even simply test for 'various' being contained. Follow the Compare Text Test with an 'if true'.

If you have 'Part of a Compilation' set up, you can also do a Compare Numeric Test as follows:

eg. Test if the numeric value of the Part of a Compilation field != 0 (Set result)

Actions of this type typically are run in group mode as if you are selecting multiple albums there may be differences on a per track basis. You can put a 'Forced Group Execution' as the first statement in the main action or if not appropriate run a sub-action as 'Grouped'. If you're not yet familiar with 'stepwise' and 'grouped' execution there's a help topic called 'How Actions Execute' on the main help page.

This should get you going 🙂

2MR2PostFebruary 14, 2015, 10:14
Avatar photo
Administrator
Posts: 2364
Registered:
August 23, 2012, 19:27
Normal topicRe: Test for value of Album Artist

We're crossing posts and emails. Glad you got it 🙂

rocklobsterPostJune 4, 2015, 18:17
Beginner
Posts: 25
Registered:
May 29, 2015, 09:15
Normal topicRe: Test for value of Album Artist

I would like to do sort of the opposite. I'd like to modify the existing sample action "Determine if Part of Compilation" as follows:

- if album artist field text begins with 'various' then set to part of compilation. then clear album artist field.

what should/could I add?

2MR2PostJune 4, 2015, 21:45
Avatar photo
Administrator
Posts: 2364
Registered:
August 23, 2012, 19:27
Normal topicRe: Test for value of Album Artist

Okay I'm taking your explanation literally. The following should do the trick:

Force Grouped Execution
Test if the Album Artist field starts with "various" case insensitive (Set result)
if true
Set the Part of a Compilation field to "1"
Clear the Album Artist field
endif

The above will work regardless as to what albums/folders are selected as it executes on a per track basis.

rocklobsterPostJune 5, 2015, 07:01
Beginner
Posts: 25
Registered:
May 29, 2015, 09:15
Normal topicRe: Test for value of Album Artist

perfect, thanks. i'm getting the hang of this. i wrote a few actions myself, one of them at least i'd like to share. how do I do that? I couldn't find a way to PM you from your profile.

2MR2PostJune 5, 2015, 07:15
Avatar photo
Administrator
Posts: 2364
Registered:
August 23, 2012, 19:27
Normal topicRe: Test for value of Album Artist

You can reach me at support@2manyrobots.com.

User actions are usually posed within threads. If you Export and send us a copy of the action, i'll store it and post a link to it within your thread.....or I'll rip it off and make it into a Sample Action 🙂

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