Web Volume Slider

Locked
alzarath
User
Posts: 4
Joined: Fri Apr 16, 2021 1:41 am

Web Volume Slider

Post by alzarath »

The web player could really use a volume slider, especially in Stream mode.
User avatar
wbartels
netjukebox developer
Posts: 828
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Web Volume Slider

Post by wbartels »

Sorry, I don't gone implement this feature.
This would decrease the audio bit depth.
For streaming you can use the native volume control.
alzarath
User
Posts: 4
Joined: Fri Apr 16, 2021 1:41 am

Re: Web Volume Slider

Post by alzarath »

I personally think it is necessary, but I respect your decision.

For users that want to be able to control the volume otherwise, we'll probably need to rely on browser extensions, such as:

Sound Adjustment for Firefox
Volume Master for Chrome

There are plenty of alternatives to the above if you search their respective storefronts.
User avatar
wbartels
netjukebox developer
Posts: 828
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Web Volume Slider

Post by wbartels »

I have a better solution, witch will make us both happy.
Add a volume slider witch is default disabled in the config file.
When disabled it will be set to 1 = 100% volume.

At the moment I have little spare time.
What you can do to see if it will work is:
  • Enable debug mode in the config file: $cfg['debug'] = true;
  • Now you can toggle "native controls" in the stream playlist tap.
The reason you will see two players is than one player is for the current stream and the second to buffer the next stream.
This way you will have virtual no playback gap.
Of course the upcoming volume slider will update both players at once.
User avatar
wbartels
netjukebox developer
Posts: 828
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Web Volume Slider

Post by wbartels »

alzarath wrote: Fri Apr 16, 2021 1:45 am The web player could really use a volume slider, especially in Stream mode.
A volume slider for MPD is already implemented since netjukebox 3.70.
If the mixer_type is correctly configured in the mpd.conf file.

Image
User avatar
wbartels
netjukebox developer
Posts: 828
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Web Volume Slider

Post by wbartels »

Added volume slider to stream playlist in netjukebox 6.81
Locked