INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: NEW: Status Bar Text Customization  (Read 930 times)

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
NEW: Status Bar Text Customization
« on: September 24, 2019, 09:10:50 am »

With the latest MC25, you can customize the text you see on the status bar at the bottom of the program.

Right-click on it and select "Set Text Rule...".

The dialog that pops up shows the expression used for single file selections in the status bar.  It's fully customizable now.

A cute little addition we added was that you can use the variables [PNPosition] and [PNCount] to display the position and count of the files in Playing Now.  Here's a sample using that:
Code: [Select]
[Name] - [Album] - [Artist] (FixCase([File Type], 3) - [Size] - [File Size]) If(IsMissing(), /(file not found/),) [PNPosition] of [PNCount]
If you have any questions or requests about this, please post them here.  Thanks.
Logged
Matt Ashland, JRiver Media Center

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: NEW: Status Bar Text Customization
« Reply #1 on: September 24, 2019, 11:04:29 pm »

Where would those variables get documented in the Wiki?

If they aren't documented (a search doesn't find anything except the Release Notes), where should they be?

Are there other similar variables, or are these the first sort of JRiver defined global variables that we could use?
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

The Big Labinski

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 442
  • Wake up and slow down
Re: NEW: Status Bar Text Customization
« Reply #2 on: June 07, 2020, 10:27:23 am »

Dear Matt, I put your code in. It is working when no sound file is played.
Otherwise, I always get this message "Saving tag changes (1 remaining)".
Is it possible to edit or change this behavior?
Thanks in advance
Stefan
Logged
Wake up and slow down 😴

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: NEW: Status Bar Text Customization
« Reply #3 on: June 07, 2020, 05:12:22 pm »

Ref: https://yabb.jriver.com/interact/index.php/topic,125666.msg870783.html#msg870783

How about the ability to put the Working Status where we want on the bottom Status Bar, using a function to call the information such as [WorkingStatus] or WorkingStatus(). The support HTML Left, Center, and Right alignment tags to put stuff where we want?

For example:

<p align="left">WorkingStatus()</p> <p align="center">[Name] - [Album] - [Artist] (FixCase([File Type], 3) - [Size] - [File Size]) If(IsMissing(), /(file not found/),) [PNPosition] of [PNCount]</p> <p align="right">© RoderickGI</p>
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395
Re: NEW: Status Bar Text Customization
« Reply #4 on: June 08, 2020, 08:19:14 pm »

Thank you for adding this new feature.

I am encountering a minor issue related to Playing Now counts displayed to the right of the status bar.

When I initially launch MC26 then play the content of Playing Now, this is what I see:



File #1 is highlighted but not selected.  I would expect to see the file count to the lower right, but it does not show.

If I then click file #1 to select it, this is what appears:



Notice the selection color changes, but the file count still does not display.

When I hold down CTRL then click this same file to force a unselection, this is what happens:



Now the file count is showing.  Why would it not display when I initially launched MC26 and/or when playback initially started?

The behavior is different for other files selected other than file #1 as per below:



Below is my status bar definition:

Code: [Select]
Total Queued:  [PNCount]

The Big Labinski

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 442
  • Wake up and slow down
Re: NEW: Status Bar Text Customization
« Reply #5 on: June 09, 2020, 04:18:35 pm »

Dear Roderick, thanks for your help. But your link is not working.
tc
stefan
Logged
Wake up and slow down 😴

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: NEW: Status Bar Text Customization
« Reply #6 on: June 09, 2020, 07:19:41 pm »

Oops. Sorry. That link was to a Beta discussion. I thought it was on the Public board.

We are just discussing what should be done with the bottom Status Bar. When it is all settled it should fix your issue, with both the "Saving tag changes (1 remaining)" messages and the text you specify being visible.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner
Pages: [1]   Go Up