INTERACT FORUM

More => Old Versions => JRiver Media Center 22 for Windows => Topic started by: aviateur on March 15, 2017, 04:49:40 pm

Title: Why is [Zone] empty when 'Player' is selected?
Post by: aviateur on March 15, 2017, 04:49:40 pm
Hello Mates:

According to my Player > Zone option, I have two zones from which to select: 'Player' and Akurate DSM...'. When the Player zone is selected, why is the [Zone] variable empty? I created a work-around for 'Customize Display' (see Image) that displays the text 'Server' when [Zone] is empty. I'm just curious as to why it is empty. When the other zone, 'Akurate DSM...' is selected, [Zone] is not empty.

Cheers,
Lawrence
Title: Re: Why is [Zone] empty when 'Player' is selected?
Post by: aviateur on March 15, 2017, 05:44:03 pm
... and by the way, I just installed 22.0.81 so I now can take advantage of the function, 'UnMoveArticles' so I changed the 'Customize Display' (see image).

Cheers,
Lawrence
Title: Re: Why is [Zone] empty when 'Player' is selected?
Post by: Matt on March 16, 2017, 08:21:46 am
I just added a new zone and called it "Player" and the text showed up no problem.

I was wondering if using the default zone name would make the name not show up?  You could try renaming it to "My Player" but I'm not sure if that's it.
Title: Re: Why is [Zone] empty when 'Player' is selected?
Post by: Matt on March 16, 2017, 08:27:05 am
The call actually sets this to true:
bool bReturnEmptyIfDefaultNameAndZone0

So if you have a zone zero with the default name, it won't populate.

Not sure if that's a problem or not really.  Just renaming the zone should work.
Title: Re: Why is [Zone] empty when 'Player' is selected?
Post by: aviateur on March 16, 2017, 10:22:29 am
Matt, Hi:

Thanks for the reply. As you suggested, renaming the default local zone from 'Player' to 'Server' worked (see image). As such that eliminates my need to perform the zone name text manipulation (IsEmpty testing) in the 'Customize Display' code for all zones. Thanks. This is a curious point. I wasn't able to see any trace of something called zone 0. Can I assume that is internal to you (code), say, the first element in a zone array structure?

Cheers,
Lawrence
Title: Re: Why is [Zone] empty when 'Player' is selected?
Post by: Matt on March 16, 2017, 10:24:00 am
Matt, Hi:

Thanks for the reply. As you suggested, renaming the default local zone from 'Player' to 'Server' worked (see image). As such that eliminates my need to perform the zone name text manipulation (IsEmpty testing) in the 'Customize Display' code for all zones. Thanks. This is a curious point. I wasn't able to see any trace of something called zone 0. Can I assume that is internal to you (code), say, the first element in a zone array structure?

Cheers,
Lawrence

Right.  The first zone the program makes will be numbered zone zero.
Title: Re: Why is [Zone] empty when 'Player' is selected?
Post by: blgentry on March 16, 2017, 05:24:04 pm
I'm guessing it was coded this way to not show a Zone for people using the default configuration and only one zone.  So they wouldn't be confused.   Just a guess.

Brian.