INTERACT FORUM

More => Old Versions => JRiver Media Center 27 for Windows => Topic started by: DrKNo on August 27, 2020, 02:00:03 pm

Title: [MCWS] Evaluate and Return Expression
Post by: DrKNo on August 27, 2020, 02:00:03 pm
In order to use JRiver expression language in external applications, I'd like to request an mcws function to evaluate and return expressions. I would personally be happy with a very simple implementation with a two parameter, one for a an expression String like "[Artist] - [Album] - [Name]" and one for a file, and jriver evaluates the expression and returns something like "Parcels - Hideout - Myenemy". Possibly on the File or Library path.

If I am allowed to get fancy, I'd like to be able to pass multiple files and get all strings back in one go. That would be awesome.
Title: Re: [MCWS] Evaluate and Return Expression
Post by: zybex on August 27, 2020, 02:55:51 pm
I've asked for that for ZELDA:
https://yabb.jriver.com/interact/index.php/topic,126012.msg873245.html#msg873245

It will be part of v27, it's already implemented in beta.
. NEW: Added the MCWS function GetFilledTemplate.
Title: Re: [MCWS] Evaluate and Return Expression
Post by: DrKNo on August 27, 2020, 03:09:39 pm
Excellent. Thank you, zybex!