# If/Then Action?

**URL:** <https://community.mp3tag.de/t/if-then-action/19455>\
**Category:** Support\
**Created:** [October 19, 2017, 4:46pm UTC](https://community.mp3tag.de/t/if-then-action/19455 "2017-10-19T16:46:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RobNeptune](https://community.mp3tag.de/user_avatar/community.mp3tag.de/robneptune/32/14445_2.png) [@RobNeptune](https://community.mp3tag.de/u/RobNeptune)\
**Post date:** [October 19, 2017, 4:46pm UTC](https://community.mp3tag.de/t/if-then-action/19455/1 "2017-10-19T16:46:35Z")

</div>

Is it possible to define an Action that would:

1. Scan for a keyword in the "Artist" tag field
2. IF the keyword is NOT found, then no action is taken
3. IF the keyword IS found, then the "Genre" tag field should be updated to a defined value

**Practical Example:**

1. Field: "\_ALL"
2. Original: "Disney"
3. Update Genre to "Kids"

Thanks!

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [October 19, 2017, 5:45pm UTC](https://community.mp3tag.de/t/if-then-action/19455/2 "2017-10-19T17:45:21Z")

</div>

You could perform an action like  
"Format value" for GENRE  
Format string: $ifgreater($strstr(%\_ALL%,'Disney'),0,'Kids',)

But I doubt that \_ALL is available for this kind of function.

I would filter for such a term and then set the genre via the tag panel.

Or: if you know where the information could be hidden (e.g. artist, title, album) then use a format string like this:  
Format string: $ifgreater($strstr(%artist%%album%%title%,'Disney'),0,'Kids',)

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [February 9, 2026, 12:27pm UTC](https://community.mp3tag.de/t/if-then-action/19455/3 "2026-02-09T12:27:03Z")

</div>


