Moode Forum
[How to do instruction] Changing the functionality of the Prev / Next buttons - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Feature requests (https://moodeaudio.org/forum/forumdisplay.php?fid=8)
+--- Thread: [How to do instruction] Changing the functionality of the Prev / Next buttons (/showthread.php?tid=1716)



Changing the functionality of the Prev / Next buttons - Norbert - 09-14-2019

Is it possible to change the function of the 2 buttons on the GUI so that the volume can be changed instead of the Prev / Next, which I do not really need.

The icons << >> do not need to be changed.

How could I do that?

Thanks
Norbert

[attachment=776]


RE: Changing the functionality of the Prev / Next buttons - Tim Curtis - 09-14-2019

You need to edit the file: /var/local/www/js/scripts-panels.js. Comment out the next/prev click handlers starting at line #479, then add ",.next" and ",.prev" to the volume click handlers below them.

That might work.


RE: Changing the functionality of the Prev / Next buttons - Norbert - 09-14-2019

Tim, thank you!

will make a backup before... or better two  ;-)

Regards
Norbert