INTERACT FORUM
More => Old Versions => JRiver Media Center 28 for Windows => Topic started by: rbmjr on January 03, 2022, 10:35:15 am
-
The forum has been a great help showing me how to create and save() a Global variable. (see attachment 1). I cannot seem to use that Global variables value as a modifier value in a Smartlist (see attachment 2). Would it be possible to allow the use of Global variables in Smartlist modifiers?
-
I agree. I'll see what I can do. Is it only ~n or others? Thanks.
-
It probably would be useful in the "Mix" modifier too
-
As a first step, next build:
NEW: Made it so you can put expressions in a "Limit number to" Smartlist rule (~n) by putting brackets around it (example: {Load(var)}).
The way the language works we'll need to do each modifier one by one.
This is now working well for me. I was riddling over ways to make the parenthesis live and realized brackets do the job nicely.
Thanks for the suggestion.
-
Awesome, thanks!
I've been a JRiver Media Center fan and user for years, and yet I feel as though I've only scratched the surface of what MC can do. I have yet to find another vendor with such great forum support and values user input as much as JRiver does.
-
Couldn't it use the usual syntax?
[=Load(var)]
-
Couldn't it use the usual syntax?
[=Load(var)]
It sure could. What other things use that syntax?
Following other parts of the program is good, I just wasn't sure what else used this model.
Thanks.
-
Search queries use the square bracket syntax to identify expressions, specifically [=expression], including the equals sign to denote the result of the expression is being returned. Using the same syntax would be great, there might even be a function to handle it already.
-
Search queries use the square bracket syntax to identify expressions. Using the same syntax would be great, there might even be a function to handle it already.
Very true!
https://wiki.jriver.com/index.php/Search_Language#Searching_with_Expressions
I'll make the switch tomorrow. Thanks everyone.
-
Awesome enhancement to Media Center. Many thanks!!!