INTERACT FORUM

More => Old Versions => JRiver Media Center 23 for Windows => Topic started by: ~OHM~ on June 20, 2017, 12:18:53 pm

Title: Top of MC or customize display
Post by: ~OHM~ on June 20, 2017, 12:18:53 pm
I have this code

<font color="1589FF">Player Left([MC.Version] ,8)<//font> ([Library])

this shows a R at the end or looks like this...  Player 23.0.7 R  or now Player 23.0.8 R

just wondering why the R shows up?
Title: Re: Top of MC or customize display
Post by: marko on June 20, 2017, 12:25:02 pm
Because there's only a single digit in the current build number. The full [MC.Version] would be: "23.0.7 Registered"

Your expression is asking for the first eight characters, which includes the "R" from Registered.

Change this... Left([MC.Version] ,8)
to this: Left([MC.Version] ,7)

This will also capture the space before the "R", but will last you up until v23 gets into triple figure build numbers, after which, you'll need to put it back to eight :)
Title: Re: Top of MC or customize display
Post by: ~OHM~ on June 20, 2017, 12:27:32 pm
Thanks marko