INTERACT FORUM
More => Old Versions => JRiver Media Center 19 for Windows => Topic started by: Scolex on February 06, 2014, 05:37:24 am
-
I was wondering if there is an expression I could use in Zone Switch that would send files to a specific zone during certain hours.
For example if I play a file between 10:00PM and 6:00AM it plays in Night all other times the file would play in it's respective zone.
-
i guess so... my first thought would be making an library field with an expression like this
if(isrange(formatdate(now(),H),6-20),day,night)
and use this library field in the zoneswitch.
should need some testing.
;)
gab
btw the H gives 24 hour time, wich is handy here i think.
-
but you could, ofcourse also choose custom as a rule in the zoneswitch and add
[=isrange(formatdate(now(),H),6-20)]=0
:)
gab
-
I couldn't get the expression to work as custom in the Zone Switch settings but creating the library field works perfectly after setting the is/is not night rules in each of my zones.
Thank you!
-
Here is a formula MrC did for me a while back that plays back in a zone only after 8 pm. It works great in the zone rules.
[=Compare(FormatDate(Now(), H), >, 20)]=1