[PROBLEM] 9.1.0 CamillaGUI - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [PROBLEM] 9.1.0 CamillaGUI (/showthread.php?tid=6926) |
9.1.0 CamillaGUI - soma909 - 09-20-2024 Just noticed that on a fresh install of 9.1.0 the CamillaDSP UI no longer displays any content under the shortcuts tab or on the minimal UI / "compact view" page. Based on my limited understanding this may have something to to with the content of gui-config.yml. RE: 9.1.0 CamillaGUI - Tim Curtis - 09-20-2024 It looks like there are errors in the Browser console output for those two options. Compact mode [attachment=4057] Shortcuts [attachment=4058] Here is the dir listing for camillagui/config Code: pi@moode9:~ $ ls -l /opt/camillagui/config/ camillagui.yml Code: pi@moode9:~ $ cat /opt/camillagui/config/camillagui.yml gui-config.yml.disabled Code: pi@moode9:~ $ cat /opt/camillagui/config/gui-config.yml.disabled RE: 9.1.0 CamillaGUI - soma909 - 09-25-2024 Thanks. I restored the functions by creating a gui-config.yml file in /opt/camillagui/config containing the code below: Code: --- RE: 9.1.0 CamillaGUI - soma909 - 09-26-2024 Having had a bit more time to look into this I think part of the problem may stem from the "Expert Mode" function in /var/www/inc/cdsp.php PHP Code: function getGuiExpertMode() { RE: 9.1.0 CamillaGUI - Tim Curtis - 09-26-2024 I'll investigate today. RE: 9.1.0 CamillaGUI - Tim Curtis - 09-26-2024 (09-26-2024, 12:16 AM)soma909 Wrote: Having had a bit more time to look into this I think part of the problem may stem from the "Expert Mode" function in /var/www/inc/cdsp.php The code looks ok to me. It just toggles the config file name to cause CamillaGUI to show or hide certain elements. Code: # Expert mode on: As far as the content of the gui-config.yml file goes, adding in the "Shortcuts" section and commenting out the other settings does restore the Bass/Treble Shortcuts and Compact mode but then it creates breakage for example Shortcuts > Quick Config switching stops playback which sort of makes it unusable, and commenting out the settings breaks the "Expert mode" option. RE: 9.1.0 CamillaGUI - the_bertrum - 09-26-2024 What is shortcuts used for? I don't recall even noticing it before this thread came up. RE: 9.1.0 CamillaGUI - bitlab - 09-26-2024 When I implemented the gui config switching code above, it was allowed to don't have gui-config.yml at all. It then used the default values. Now this has changed to a not optional presence of this file. Without a custom_shortcuts the frontend will give errors and will not show compact view and shortcuts. But changes to camillagui are not really strong documented ... especially the breaking ones haha. In the past already noticed the hardway that camilladsp and related don't make sure that a release is backwards compatible. As @Tim Curtis mentioned the Quick Config at the compact view will break the active configuration. The integration with moode is made with the intention that moode is in control over the active configuration (long before camillagui could even switch config file or had compact moode) . In that way the correct audio device is always automatically patched. Solution direction: 1. To make sure without gui config stuff keeps working, also need to default values for the custom_shortcuts in the camillagui backend code 2. And make also a gui config config for when when the expert mode is off, so you can customize it. 3. We can fix active config breakages in several ways:
RE: 9.1.0 CamillaGUI - soma909 - 10-04-2024 (09-26-2024, 03:43 PM)the_bertrum Wrote: What is shortcuts used for? I don't recall even noticing it before this thread came up. The custom shortcuts allow for a certain amount of control over some active filters. In my case I use the shortcuts to adjust the gain on the low shelf & high shelf filters (Bass/Treble). |