Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Sample Rate not available
a2jimenez
Newbie
Posts: 2
Permalink
Post Sample Rate not available
on: May 10, 2020, 12:17
Quote

Hi,

A newbie question, I am trying to add "sample rate" to the folder name. I am doing the following:
"get property Sample Rate (Hz) -> Variable 0"

in the renaming function, I am doing the following:
❨IfExists Disc❩
    ❨Disc Pad2❩·
❨endIf❩
❨Track Pad2❩·-·❨Title❩

❨Folder Start❩

❨Album❩·-·
❨IfExists Album Artist❩
    ❨Album Artist❩·-·
❨endIf❩
·(❨Year❩)·[
❨IfExists Custom 8❩
    ❨Custom 8❩·-·
❨endIf❩
❨File Type❩·❨Variable 0❩]

But nothing gets returned on "Variable 0". Is there something I am missing to get that value?

thanks,

AJ

2MR2
Administrator
Posts: 1300
Permalink
Post Re: Sample Rate not available
on: May 10, 2020, 12:51
Quote

I've duplicated your scenario: (Except I do not have a Custom Field named Custom Field 8 so I substituted Opus:

❨IfExists Disc❩
    ❨Disc Pad2❩
❨endIf❩
❨Track Pad2❩·-·❨Title❩

❨Folder Start❩

❨Album❩·-
❨IfExists Album Artist❩
    ❨Album Artist❩·-·
❨endIf❩
❨Year❩·-·
❨IfExists Opus❩
    ❨Opus❩·-
❨endIf❩
❨File Type❩·❨Variable 0❩

My action is:

Get Property Sample Rate (Hz) -> Variable 0
Rename Files (test)

It works for me:

The original path was:

.../Desktop/test/Sands of Nevada.ape

and it became:

.../Desktop/Sailing to Philadelphia -Mark Knopfler - 2005 - APE 44100/0113 - Sands of Nevada.ape

One possible problem is that the folder metadata is not the same for every track in the folder. The net effect of that is that the folder will be renamed each time the metadata changes.

2MR2
Administrator
Posts: 1300
Permalink
Post Re: Sample Rate not available
on: May 10, 2020, 12:54
Quote

I did miss the [ ] but they do not change anything.

a2jimenez
Newbie
Posts: 2
Permalink
Post Re: Sample Rate not available
on: May 18, 2020, 09:46
Quote

Thanks! I couldn't see all the fields populated in the preview of the task and assumed it wouldn't work but It does.

AJ

2MR2
Administrator
Posts: 1300
Permalink
Post Re: Sample Rate not available
on: May 18, 2020, 10:01
Quote

The next release will support Sample Rate as a token in Rename templates.

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.388 seconds.