# add subtitle to title, but only if PRESENT!?

**URL:** <https://community.mp3tag.de/t/add-subtitle-to-title-but-only-if-present/15389>\
**Category:** Support\
**Created:** [January 12, 2014, 1:15pm UTC](https://community.mp3tag.de/t/add-subtitle-to-title-but-only-if-present/15389 "2014-01-12T13:15:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![trallala](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/d9b06d/32.png) [@trallala](https://community.mp3tag.de/u/trallala)\
**Post date:** [January 12, 2014, 1:15pm UTC](https://community.mp3tag.de/t/add-subtitle-to-title-but-only-if-present/15389/1 "2014-01-12T13:15:01Z")

</div>

A question about tagfield operation by actions (i'm new in this actions Things, but really happy about this usefull tools).  
Background: as BPM-Studio User all my mp3's have Artist, Title, Subtitle, BPM. Sometimes additional Album and/ore Comment.

As NEW User of algoriddim's djay for ipad there is NO possibility to show other tagfields then only artist and title. Thatswhy i have to put my "version" (=subtitle) Information into the title-Field.

I wannt to do it that way (e.G.):  
from:  
File: MC Hammer - Can't touch this (remix).mp3  
Artist: MC Hammer  
Title: Can't touch this  
Subtitle: Remix

to:  
File : MC Hammer - Can't touch this (remix).mp3 [stay's as is/was]  
Artist: MC Hammer  
Title: Can't touch this - Remix  
Subtile: Remix

=\> **The Subtitle should be shown as "- xyz" but only if subtitle is present.**   
I no subtitle is present, then Tagfield title should only show the title as is/was before action (without adding "- "!)

Big thanks in advance.

---

<div class="post-metadata">

**Author:** ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)\
**Post date:** [January 12, 2014, 1:57pm UTC](https://community.mp3tag.de/t/add-subtitle-to-title-but-only-if-present/15389/2 "2014-01-12T13:57:29Z")

</div>

> [@trallala](#):
>
> ...b]The Subtitle should be shown as "- xyz" but only if subtitle is present. [/b]

Format the tagfield TITLE with ...

**%TITLE%[' - '%SUBTITLE%]**

DD.20140112.1558.CET

---

<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:** [January 12, 2014, 2:00pm UTC](https://community.mp3tag.de/t/add-subtitle-to-title-but-only-if-present/15389/3 "2014-01-12T14:00:47Z")

</div>

> [@trallala](#):
>
> ...I wannt to do it that way (e.G.):  
> from:  
> File: MC Hammer - Can't touch this (remix).mp3  
> Artist: MC Hammer  
> Title: Can't touch this  
> Subtitle: Remix
> 
> to:  
> File : MC Hammer - Can't touch this (remix).mp3 [stay's as is/was]  
> Artist: MC Hammer  
> Title: Can't touch this - Remix  
> Subtile: Remix
> 
> =\> **The Subtitle should be shown as "- xyz" but only if subtitle is present.**   
> I no subtitle is present, then Tagfield title should only show the title as is/was before action (without adding "- "!)
> 
> Big thanks in advance.

Create an action of the type "Format value" for TITLE  
Enter as format string: $if(%subtitle%,%title% - %subtitle%,%title%)

---

<div class="post-metadata">

**Author:** ![trallala](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/d9b06d/32.png) [@trallala](https://community.mp3tag.de/u/trallala)\
**Post date:** [January 12, 2014, 5:23pm UTC](https://community.mp3tag.de/t/add-subtitle-to-title-but-only-if-present/15389/4 "2014-01-12T17:23:06Z")

</div>

> [@DetlevD](#):
>
> Format the tagfield TITLE with ...
> 
> **%TITLE%[' - '%SUBTITLE%]**
> 
> DD.20140112.1558.CET

Tried this and works very Good for me. THANKS a lot! DANKE!

---

<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:24pm UTC](https://community.mp3tag.de/t/add-subtitle-to-title-but-only-if-present/15389/5 "2026-02-09T12:24:51Z")

</div>

Closed on February 9, 2026, 12:24pm UTC


