jlesage / docker-handbrake

Docker container for HandBrake
MIT License
857 stars 97 forks source link

Presets.json reverts back #88

Open Symbiot78 opened 5 years ago

Symbiot78 commented 5 years ago

if I change something in presets.json and reboot the container, my changes are reverted back... is this by design? I have it automated with watchfolders and need it to pick up multiple languages for audio.

jlesage commented 5 years ago

It should not... did you mapped the /config folder properly?

Symbiot78 commented 5 years ago

yes. it's mapped. If I create a new file, then the file stays.

I found that if I load a quality profile, then change some settings in gui, and then save it with a custom name, the profile is added to presets.json and it survives a reboot of the container. so it appears that changes to the default profiles are overwritten.

jlesage commented 5 years ago

From the UI, it's clear that once you modify an "official" preset, you need to save it has a new one.

However, I tried to manually change some official preset settings in presets.json (/config/ghb/presets.json) and the changes survived a container restart...

ghost commented 4 years ago

Adding to this. I have presets I've saved as .json because I have to keep importing them on every restart. Permissions are set UID and GID 1000, checked the folder and that is correct, permissions on that config folder are 755.

jlesage commented 4 years ago

Once imported, are your presets saved in /config/ghb/presets.json?

ghost commented 4 years ago

Yes, but it looks to have resolved itself now...

danmartyn commented 1 year ago

I'm running into this issue now. I was able to add some custom presets into the presets.json file and it survived the container restarting. Now though, every time I restart it, the presets revert back to the default and my watch folders break since the presets they are setup to use are not there.

jlesage commented 1 year ago

How are you adding presets to the file ?