Moode Forum

Full Version: CamillaGUI and the Files tab
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello, I recently updated to the latest version and was going to fiddle with my CamillaDSP settings. I realized that when I use the "Files" tab in CamillaGUI to download the yaml files, I do not download a yaml file, but a moOde logo in svg format.

Also, I think changes made via the GUI are not being saved to the loaded yaml file, but I have no way of corroborating this since I cannot download the file.

I am a mediocre admin and I have lost my SSH credentials, so I will be reinstalling and setting up correctly in the next hours. I will try to replicate this issue too.

[attachment=3663]

[attachment=3664]
Alrite,

I've reinstalled. I now have SSH access to /usr/share/camilladsp/configs and can confirm that CamillaGUI is writing changes to the loaded config yaml. I believe the errors were due to a mismatch between the variables expected by the newer version of CamillaDSP and the yaml I had generated in a previous version of CamillaGUI.

What persists is the unexpected behavior of downloading an svg when attempting to download the yaml files from the "Files" tab in CamillaGUI.
I did a quick test and no issues downloading from the files tab. It downloads a zip file. Chrome now asks whether to "keep" the file.

Maybe some sort of Browser issue on your end?
(03-07-2024, 02:08 AM)Tim Curtis Wrote: [ -> ]I did a quick test and no issues downloading from the files tab. It downloads a zip file. Chrome now asks whether to "keep" the file.

Maybe some sort of Browser issue on your end?

I tried in Vivaldi and Chromium, but I think I see what you mean. If I use the checkbox and download buttons the procedure goes as you suggest, zip file and browser asking for download location. But when I try to download by clicking on the yaml file name (while the mouseover displays "Download file.yml" and the url for the file on the status bar reads http://my.url/config/file.yml), that's when the svg gets downloaded.
(03-07-2024, 02:23 AM)capicva Wrote: [ -> ]
(03-07-2024, 02:08 AM)Tim Curtis Wrote: [ -> ]I did a quick test and no issues downloading from the files tab. It downloads a zip file. Chrome now asks whether to "keep" the file.

Maybe some sort of Browser issue on your end?

I tried in Vivaldi and Chromium, but I think I see what you mean. If I use the checkbox and download buttons the procedure goes as you suggest, zip file and browser asking for download location. But when I try to download by clicking on the yaml file name (while the mouseover displays "Download file.yml" and the url for the file on the status bar reads http://my.url/config/file.yml), that's when the svg gets downloaded.

That method also works ok on my end. It downloads a .yaml file. I'm using Chrome on a Mac.
Is it a YAML file, though? In my case it downloads a file called "file.yml" but when I open it with a text editor its not. Check out picture 2 of my first post.
Its not obvious to me what might be happening on your end but in my case the downloaded files were legit camilla configs.

Hopefully someone can repro your issue and provide some insights.
(03-10-2024, 10:01 PM)Tim Curtis Wrote: [ -> ]Its not obvious to me what might be happening on your end but in my case the downloaded files were legit camilla configs.

Hopefully someone can repro your issue and provide some insights.

No worries, I guess it's a strange scenario. At least the checkbox method is working and I can edit the files with nano via SSH. Thanks for taking a look at it.
@capicva 
@Tim Curtis 

I believe this behavior is due to a coding error in moOde.

Using my moOde 8.3.9 player on host sunroom.local (you'll never guess where it's located Smile )

1) open the CamillaDSP screen http://sunroom.local/cdsp-config.php and turn on the Pipeline editor Expert mode

2) open the Pipeline editor screen http://sunroom.local/cdsp-configeditor.php and choose the Files tab

3) hover over any entry and look at the URL. Take the entry ash-ir R02-control room.yml Thu Jan 04, 2024 for example. The URL for this entry is http://sunroom.local/config/ash-ir%20R02...20room.yml

Sorry, that's the correct filename but the wrong directory. If I enter this URL into a new browser tab, moOde maps it to http://sunroom.local/images/default-cover-v6.svg

...and that's the SVG file which gets downloaded, albeit it with a "correct" filename.

Regards,
Kent
Ok, I see the issue now.

Those tabs are from the camillagui app but looking at its config file the dir paths to /configs and /coeffs are correct.

Code:
pi@moode:~ $ cat /opt/camillagui/config/camillagui.yml
---
camilla_host: "0.0.0.0"
camilla_port: 1234
port: 15000
config_dir: "/usr/share/camilladsp/configs"
coeff_dir: "/usr/share/camilladsp/coeffs"
default_config: "/usr/share/camilladsp/working_config.yml"
active_config: "/usr/share/camilladsp/working_config.yml"
backup_camilla_path: "/usr/local/bin/camilladsp"
backup_camilla_port: 1235
log_file: "/var/log/mpd/log"
active_config_txt: "/usr/share/camilladsp/active_config.txt"
statefile_path: "/var/lib/cdsp/statefile.yml"
pi@moode:~ $

Maybe @bitlab can have a look.

In the meantime the configs and coeffs files can bar downloaded from the File Management section of the main CamillaDSP Config screen.
Pages: 1 2