INTERACT FORUM

More => Old Versions => JRiver Media Center 18 for Windows => Topic started by: mark_h on December 23, 2012, 07:49:53 am

Title: Request: add zone limiter to isplaying() and isplayingnow()
Post by: mark_h on December 23, 2012, 07:49:53 am
Would it be possible to extend the isplaying() and isplayingnow() function to allow specific zones to be tested, eg

isplayingnow(Playing Now)

would only refer to a zone called Playing Now

Right now the functions crosses all zones which can result in unwanted pollution of results...

And perhaps also a "current zone" modifier, which returns results only from the currently selected zone.  That would actually be most useful, and possibly easier to implement.
Title: Re: Request: add zone limiter to isplaying() and isplayingnow()
Post by: Matt on December 24, 2012, 09:11:21 am
Technically that would be a little harder than you might expect.

Currently we keep a single bit flag per file.  But to know per zone, the expression engine would need to talk to the player engine.  They're encapsulated and communication in a thread-safe way is a bit complicated.

So this isn't something we'll be able to just sneak in.  Sorry.
Title: Re: Request: add zone limiter to isplaying() and isplayingnow()
Post by: mark_h on December 24, 2012, 10:54:07 am
No worries.  Having is[in]playingnow() was a big bonus item anyway.

Merry Xmas guys!

Mark