Author Topic: Convert song title from Upper to Title Case  (Read 1129 times)

South Coast FM Tech

  • Newbie
  • *
  • Posts: 29
Convert song title from Upper to Title Case
« on: May 12, 2021, 06:35:41 am »
Running Magic RDS 4.0.26 licensed.
Trying to manipulate text using Text Replacing & Title Case.

Incoming text example: 'Artist name here - SONG TITLE HERE [CAT60s-Rock]
Title is always preceded by ' - '
Title always has the text ' [CAT' after it, which is not to be replaced/altered.

Looking to convert just the Song Title from Uppercase to Title Case.

In Text Replacing screen, looking for what strings to put into the 'Change' and ' To' to do this.

Have tried:
Change: %REGEXP% - (.*?)\[CAT
To: %TITLECASE%

This partially works, with the result:
'Artist name hereArtist name here - Song Title Here60s-Rock[Cat60s-Rock]'
Artist is included in the newly replaced text.
Text after [CAT is included in the newly replaced text.

I previously posted on this topic is the past on 27/12/2019...
https://pira.cz/forum/index.php?topic=573.msg1801#msg1801
The response was..
Version 3 of this software is no longer developed. Magic RDS 4 will bring a possibility to put the title-case conversion command inside the Text replacing box, so the conversion may apply only to specific source or category.

So how do I apply it to the song title only?

Thanks, Rod.

Jan

  • Hero Member
  • *****
  • Posts: 1069
Re: Convert song title from Upper to Title Case
« Reply #1 on: May 12, 2021, 08:48:47 am »
The %TITLECASE% represents whole line, not a part of the text. We will see if there's a quick way how to handle your request. The version 4.0.27 will be released soon.

Once we finish the new External Text tool, any string manipulation on individual fields will be a natural part.

South Coast FM Tech

  • Newbie
  • *
  • Posts: 29
Re: Convert song title from Upper to Title Case
« Reply #2 on: May 12, 2021, 12:56:40 pm »
Ok, thankyou.
Look forward to your thoughts on how to do it.

Don't want to use Title Case on everything, just the TITLE.
Thanks, Rod

Jan

  • Hero Member
  • *****
  • Posts: 1069
Re: Convert song title from Upper to Title Case
« Reply #3 on: May 12, 2021, 01:35:08 pm »
Implemented successfully, please wait a few days for version 4.0.27