INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: [MCWS] Evaluate and Return Expression  (Read 851 times)

DrKNo

  • World Citizen
  • ***
  • Posts: 201
[MCWS] Evaluate and Return Expression
« 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.
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2616
Re: [MCWS] Evaluate and Return Expression
« Reply #1 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.
Logged

DrKNo

  • World Citizen
  • ***
  • Posts: 201
Re: [MCWS] Evaluate and Return Expression
« Reply #2 on: August 27, 2020, 03:09:39 pm »

Excellent. Thank you, zybex!
Logged
Pages: [1]   Go Up