Welcome Guest

Pages: 1
Roon Box Set rename template
rh2021PostOctober 30, 2026, 19:44
Newbie
Posts: 12
Registered:
May 3, 2021, 03:41
Normal topicRoon Box Set rename template

I am having difficulties with editing the Roon Box set rename template

It has been edited to be a generic renaming template with the following main criterion:

    Use 3 digit track number padding if the track count is > 99 (ie for digital downloads)
    Place a folder between Album and tracks only if there is a value in Disc Subtitle
    Compilations albums use "Compilations" not the Album Artist
    The base folder structure must start as "/Volumes/Multimedia/CD Library/Music/"

The folder structure should be:
For non compilations, non Box set
Album Artist / Album / (disc-track) Track
For non compilations, Box sets
Album Artist / Album / "CD# - Subtitle /(disc-track) Track
For compilations, the Album Artists is replaced with "Compilations"

My template is :

❨IfExists Disc❩
    ❨Disc Pad2❩-
❨endIf❩
❨IfExpression❩
    [Track Count] > 99❨Break❩ ❨Track Pad3❩ ❨Title❩
❨Else❩
    ❨Track Pad2❩ ❨Title❩
❨endIf❩

❨Folder Start❩

❨Ignore if Empty❩
❨IfExists Set Subtitle❩
    CD❨Disc❩ - ❨Set Subtitle❩
❨endIf❩
❨Folder Start❩
❨Album❩
❨Folder Start❩
❨IfCompilation❩
    Compilations
❨Else❩
    ❨Album Artist❩
❨endIf❩

This produces (via preview):

/Volumes/Multimedia/CD Library/Music/Compilations/Classical Masters 02 - Bach/2-12 Sonata for Flute and Basso Continuo in E minor BWV 1034 - Allegro.aif
--> /Volumes/Multimedia/CD Library/Compilations/Classical Masters/CD2 - Bach/02-12 Sonata for Flute and Basso Continuo in E minor BWV 1034 - Allegro.aif

It should be:

/Volumes/Multimedia/CD Library/Music/Compilations/Classical Masters 02 - Bach/2-12 Sonata for Flute and Basso Continuo in E minor BWV 1034 - Allegro.aif
--> /Volumes/Multimedia/CD Library/Music/Compilations/Classical Masters/CD2 - Bach/02-12 Sonata for Flute and Basso Continuo in E minor BWV 1034 - Allegro.aif

Could someone point me in the right direction here?

Ralph H

2MR2PostOctober 30, 2026, 21:05
Avatar photo
Administrator
Posts: 2502
Registered:
August 23, 2012, 19:27
Normal topicRoon Box Set rename template

There is nothing wrong with your well written template. The issue is that the preview functionality in Settings - Rename assumes a rename relative to the original location is taking place. Your intent is to use the template in a move with a supplied destination path.

I've written a new resource action to provide accurate move previews.

Do a Yate>Resource Actions Installer. The first displayed action should be named Move Preview. Install the action; select some files and run the action. The action will prompt for a rename template and a folder path. Both items will be retained and subsequent runs of the action will pre-fill the info in each prompt.

rh2021PostOctober 31, 2026, 00:15
Newbie
Posts: 12
Registered:
May 3, 2021, 03:41
Normal topicRoon Box Set rename template

Thanks so much, Barry

I think my main issue was that I was calling the template via rename rather than via move. - It is working now.

Ralph H

rh2021PostNovember 7, 2026, 00:31
Newbie
Posts: 12
Registered:
May 3, 2021, 03:41
Normal topicRoon Box Set rename template

To assist any others who are dealing with Roon box sets, this is what I set up:

Step 1: Settings - Replacements (image 1.Replacement.jpg)
Create a replacement set which will be used to substitute non standard characters in the filename so an export from Roon lines up correctly. This assumes that the filenames are already plain ASCII
The replacement set must be tagged as "R" for "Rename Replacements" to be called in the template (step 2)

Step 2: Settings - Rename (image 2.Template.jpg)
Create an Rename Template 'Box Set Rename Template'. This is based on 'Sample Roon Box Set Rename Template' and calls the replacement set (defined above) by clicking the 'Replacements' box.

Step 3 Action Manager - Create Action (image 3.Action.jpg)
Simple 3 line action where the options (see image) are calling the above template for renaming and moving.

1. Replacement

Image

2. Template

Image

3.Action

Image

File paths will need to be adjusted for your computer

Ralph H

2MR2PostNovember 7, 2026, 09:00
Avatar photo
Administrator
Posts: 2502
Registered:
August 23, 2012, 19:27
Normal topicRoon Box Set rename template

This will work. 🙂

However .... I recommend feeding the template into the Create Move Action Wizard. The wizard will generate an action which does error detection and will catch cases where your metadata is inconsistent. You can have the wizard generate a wrapper where you can preform pre and post move funtionality

Invalid characters can typically be removed directly in the rename template as I'm sure Roon accepts all ASCII characters which are valid in Windows.

Image

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