INTERACT FORUM

More => Old Versions => JRiver Media Center 23 for Windows => Topic started by: Araj on March 06, 2018, 07:30:56 am

Title: Limiting track length in Smartlist
Post by: Araj on March 06, 2018, 07:30:56 am
I would like to create smartlists in which the length of the individual tracks is limited to a certain time.

Is there a way to do this? The only way that I've found to roughly limit the length of tracks is to limit the file size, but that's pretty unreliable in terms of actual play time, since I have files in various formats / bit rates
Title: Re: Limiting track length in Smartlist
Post by: Hendrik on March 06, 2018, 07:40:21 am
Can't you simply check for the [Duration] field in the smart list? If you compare against [Duration,0] you get the plain value in seconds, and you can add your own limit there.
Title: Re: Limiting track length in Smartlist
Post by: Araj on March 06, 2018, 07:50:23 am
Indeed I can. Totally missed that. Must be having a bad day.
Title: Re: Limiting track length in Smartlist
Post by: ferday on March 06, 2018, 07:52:42 am
you want

isequal([Duration],desired length in seconds, 3)

which will give you less than the desired length in seconds.  we all miss this stuff all the time, there's enough things in life to remember