INTERACT FORUM

Please login or register.

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

Author Topic: Is there an option to hide the volume slider?  (Read 450 times)

haggis999

  • Citizen of the Universe
  • *****
  • Posts: 527
Is there an option to hide the volume slider?
« on: February 25, 2025, 04:47:36 pm »

Matt has kindly just issued an update to MC33 that includes a solution to my recent request for a way to hide the "Press escape to exit Display View" onscreen message. I am very grateful for that, but my focus on that message made me overlook something else that overlays Display View at the start of every video triggered via a batch file.

Is there any way to hide the MC volume slider? If not, could such a facility be provided? I control volume via my amplifier not MC, so this slider is redundant in my case, and when you play a selection of short videos to an audience as I often do, the repeated appearance of that slider gets a little wearing.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8100
  • The color of Spring!
Re: Is there an option to hide the volume slider?
« Reply #1 on: February 25, 2025, 06:08:09 pm »

Not sure if this is what you want but you can right click on the volume icon next to the volume slider and select Disabled Volume, it doesn't hide it but it disables it.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.3.1 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

markf2748

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 914
Re: Is there an option to hide the volume slider?
« Reply #2 on: February 25, 2025, 07:24:35 pm »

If you are comfortable with editing the skin's main.xml file and able to create image artwork, you can change their bitmap files to something much less visible, or masked entirely, and save the results to a new skin.  Then also disable the volume control.

The bitmaps are called out in the <PLAYERBAR> entry lines:

<Entry Name="MuteButton"
<Entry Name="MuteOffButton"
<Entry Name="VolumeSlider"
<Entry Name="VolumeSliderFront"
<Entry Name="VolumeSliderThumb"

Not for the faint of heart, but doable today.   :)
Logged

HPBEME

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1137
  • Goodnight and Good Luck
Re: Is there an option to hide the volume slider?
« Reply #3 on: February 25, 2025, 07:35:27 pm »

I believe you're (Haggis) talking about the pop-up volume bar in display view as shown in the screenshot?  Is that correct?  If not, then what markf responded in his post.

If for the Display View however, there is no built-in way to do what you want. That said, if you're willing to dig into the skin XML file (not the parts Mark mentioned, but essentially suppressing the OSD and PROGRESS BAR skin XML sections), and then ensure your Display View background and OSD text color are the same, you can kind of get there. But even then, if you use a skin that is included with MC standard install, those changes will get overwritten each time you update MC, so you'd have to make sure you save it off into a new folder with a new skin name to prevent that. If you are interested in jumping through the hoops to pursue an imperfect solution, let me know and I can follow up with an outline of the steps required. 

Otherwise, it probably makes more sense to see if Matt is willing to implement a new setting that turns off the OSD pop-up altogether for Display View.  I too would prefer to not have the OSD pop-up for audio and video, but would like to keep it for image slideshows. So if a new setting can be created that toggles the OSD popup for audio, images, and video independently, count me in.
Logged

markf2748

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 914
Re: Is there an option to hide the volume slider?
« Reply #4 on: February 25, 2025, 07:48:32 pm »

If for the Display View however, there is no built-in way to do what you want.
I just changed one of the button state images, and the change showed up both in Standard View and the Display View popup. I am talking about the artwork that appears just under the Player Controls, upper left corner in both views.  I don't see the volume control which HPBEME points out at the bottom of his image.  More generally, this upper left button and slider look identical in Standard View and Display View in my skin, so I'm confident the suggestion would work.   However I do agree it is not the most convenient or accessible solution.
Logged

HPBEME

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1137
  • Goodnight and Good Luck
Re: Is there an option to hide the volume slider?
« Reply #5 on: February 25, 2025, 07:58:12 pm »

I just changed one of the button state images, and the change showed up both in Standard View and the Display View popup.
Did you not see the giant green arrow pointing at the giant "volume slider" located at the bottom of the display view in my picture? The volume button state images for the PlayerBar popup at the top of the Display View have no impact on the giant volume slider that pops up at the bottom.  As I noted in my reply, if the OP is referring to the slider controls in the player bar pop-up at the top, then your solution is correct.
Logged

markf2748

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 914
Re: Is there an option to hide the volume slider?
« Reply #6 on: February 25, 2025, 08:03:20 pm »

Did you not see the giant green arrow pointing at the giant "volume slider" located at the bottom of the display view in my picture?
I don't see that large bottom volume slider at all.  Never have.  But I don't use Display View very often, and only to play music.  I suppose it may show up with OSD, OSD in video, or some such, which I don't use.

Edit: Aha... If I select Options > Tree & View > Advanced > [x ] Enable OSD, AND adjust the upper left volume slider, then the big bottom OSD Volume Bar pops up!  Never been there before.  If OSD is deselected (which has always been my case), the bottom OSD popup does not appear.  Thanks @HPBEME.  :)
Logged

HPBEME

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1137
  • Goodnight and Good Luck
Re: Is there an option to hide the volume slider?
« Reply #7 on: February 25, 2025, 08:12:44 pm »

I don't see that large bottom volume slider at all.  Never have.  But I rarely use Display View, and only to play music.  So I suppose it may show up with OSD or some such, which I don't implement.
If you activate the checkbox for enable OSD (under options/tree & view/advanced) and then scroll the volume slider in the popup PlayerBar, the giant bottom volume slider will appear. 

So if the OP doesn't want the OSD to show in display view ever for any circumstance, that can be done right now by deactivating that same checkbox. But… it might also be the OP has that deactivated already, but initiating the command via a batch file may bypass/ignore that setting for some reason.  I have no familiarity with MC batch files though, so I don't have any advice on that.

I personally would like if the current one-size-fits-all OSD on/off setting could be applied independently for audio, images, video.
Logged

haggis999

  • Citizen of the Universe
  • *****
  • Posts: 527
Re: Is there an option to hide the volume slider?
« Reply #8 on: February 26, 2025, 08:09:24 am »

If you activate the checkbox for enable OSD (under options/tree & view/advanced) and then scroll the volume slider in the popup PlayerBar, the giant bottom volume slider will appear. 

So if the OP doesn't want the OSD to show in display view ever for any circumstance, that can be done right now by deactivating that same checkbox. But… it might also be the OP has that deactivated already, but initiating the command via a batch file may bypass/ignore that setting for some reason.  I have no familiarity with MC batch files though, so I don't have any advice on that.

I personally would like if the current one-size-fits-all OSD on/off setting could be applied independently for audio, images, video.

I've just tried turning off the OSD as described and it does indeed kill the volume slider, but that's not an ideal solution, as I quite often use the OSD when playing videos via JRemote.

Media Center Core commands looked like they might provide a solution. MCC command 28043 (MCC_PLAYBACK_ENGINE_HIDE_OSD) turns the OSD off, and there is also the MCC toggle switch 30025 (MCC_SET_OSD_ENABLED) that is supposed to alternately turn the OSD on and off. However, neither of these MCC commands work reliably when inserted into one of my batch files for playing a video.

I had more luck using MCC command 30025 or 28043 in a separate batch file triggered via an earlier link in my PowerPoint file. Can anyone explain why it only works some of the time when put in the same batch file as the play command?

Code: [Select]
@echo off

rem Turn off OSD
MC33.exe /MCC 30025,-1

MC33.exe /Clear
MC33.exe /Mode Display
MC33.exe /PlayReplace "C:\xxxxxxxx\My video.mkv"
rem Turn OSD back on
MC33.exe /MCC 30025,-1

rem Exit MC
mc33.exe /MCC 10078,1
Logged
Pages: [1]   Go Up