javinizer / Javinizer

(NSFW) Organize your local Japanese Adult Video (JAV) library
MIT License
599 stars 62 forks source link

Docker - setting location.genrecsv doesn't work #301

Closed fumbleone closed 2 years ago

fumbleone commented 3 years ago

Expected Behavior

Setting location.genrecsv to a csv in a mounted volume should use that file instead of the default path.

Current Behavior

Manually editing the genrecsv through settings in the docker GUI brings up the default file. The path says /root/.local/share/powershell/Modules/Javinizer/2.5.7/jvGenres.csv

Steps to Reproduce (for bugs)

  1. Start container with

    docker run --name javinizer -p 8600:8600 \
    -v /Volumes/SEAGATE/Documents/javinizer/jvSettings.json:/home/jvSettings.json \
    -v /Volumes/SEAGATE/Documents/javinizer:/home/settings \
    -v ~/Downloads:/home/downloads \
    -d jvlflame/javinizer:latest
  2. Go to settings in GUI and set location.genrecsv to /home/settings/jvGenres.csv image

  3. Click on apply

  4. Click on edit next to location.genrecsv to find that the path still says /root/.local/share/powershell/Modules/Javinizer/2.5.7/jvGenres.csv image

Your Environment

jvlflame commented 3 years ago

Thanks for bringing up this issue. It'll be fixed in the next version.