Giter VIP home page Giter VIP logo

Comments (12)

sentriz avatar sentriz commented on August 25, 2024 1

hi, the issue is that the config parser gonic uses treats , as a multi item delimiter (for example multiple music dirs)

i've just updated it to a version that supprots escapting the delimiter with \

so you should be able to write

GONIC_MULTI_VALUE_GENRE=delim \,

as for the podcast issue, as fix was pushed

unfortunately the nightly builds are broken since #467 so you'll have to wait for that

from gonic.

sentriz avatar sentriz commented on August 25, 2024

I cant seem to get genre to split using comma, When adding GONIC_MULTI_VALUE_GENRE="delim ," i get a warning in the log that its not set

what is the error that you get?

from gonic.

mattiasghodsian avatar mattiasghodsian commented on August 25, 2024

I cant seem to get genre to split using comma, When adding GONIC_MULTI_VALUE_GENRE="delim ," i get a warning in the log that its not set

what is the error that you get?

- GONIC_MULTI_VALUE_GENRE="delim ,"

gonic_1  | 2024/02/20 14:17:00 error parsing args: error parsing env vars: error setting flag "multi-value-genre" from env var "GONIC_MULTI_VALUE_GENRE": unknown multi value mode "\"delim". should be "none" | "multi" | "delim <delim>"; error setting flag "multi-value-genre" from env var "GONIC_MULTI_VALUE_GENRE": unknown multi value mode "\"". should be "none" | "multi" | "delim <delim>"

from gonic.

sentriz avatar sentriz commented on August 25, 2024

can you try this in your docker compose instead

environment:
- "GONIC_MULTI_VALUE_GENRE=delim ,"

from gonic.

mattiasghodsian avatar mattiasghodsian commented on August 25, 2024
- "GONIC_MULTI_VALUE_GENRE=delim ,"

same issue

from gonic.

sentriz avatar sentriz commented on August 25, 2024

whats the error message this time?

maybe try just

environment:
- GONIC_MULTI_VALUE_GENRE=delim ,

from gonic.

mattiasghodsian avatar mattiasghodsian commented on August 25, 2024

whats the error message this time?

maybe try just

environment:
- GONIC_MULTI_VALUE_GENRE=delim ,

i did that previews with same result

from gonic.

sentriz avatar sentriz commented on August 25, 2024

with the same error message? are you sure you did a docker compose up?

from gonic.

mattiasghodsian avatar mattiasghodsian commented on August 25, 2024
- GONIC_MULTI_VALUE_GENRE=delim ,
user1@tattoine:~/docker/app/gonic$ docker-compose up
Starting gonic_gonic_1 ... done
Attaching to gonic_gonic_1
gonic_1  | 2024/02/20 15:19:21 error parsing args: error parsing env vars: error setting flag "multi-value-genre" from env var "GONIC_MULTI_VALUE_GENRE": no delimiter provided for delimiter mode; error setting flag "multi-value-genre" from env var "GONIC_MULTI_VALUE_GENRE": unknown multi value mode "". should be "none" | "multi" | "delim <delim>"
gonic_1  | 2024/02/20 15:19:22 error parsing args: error parsing env vars: error setting flag "multi-value-genre" from env var "GONIC_MULTI_VALUE_GENRE": no delimiter provided for delimiter mode; error setting flag "multi-value-genre" from env var "GONIC_MULTI_VALUE_GENRE": unknown multi value mode "". should be "none" | "multi" | "delim <delim>"
gonic_gonic_1 exited with code 1

from gonic.

sentriz avatar sentriz commented on August 25, 2024

what is the output of docker inspect <gonic container name> | jq ".[].Config.Env"

from gonic.

sentriz avatar sentriz commented on August 25, 2024

ohh, i know what the issue is

from gonic.

mattiasghodsian avatar mattiasghodsian commented on August 25, 2024

docker inspect | jq ".[].Config.Env"

[
  "TZ=Europe/Stockholm",
  "GONIC_SCAN_INTERVAL=5",
  "GONIC_GENRE_SPLIT=,",
  "GONIC_SCAN_WATCHER_ENABLED=1",
  "GONIC_MULTI_VALUE_GENRE=delim ,",
  "GONIC_MULTI_VALUE_ARTIST=multi",
  "GONIC_MULTI_VALUE_ALBUM_ARTIST=multi",
  "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
  "GONIC_DB_PATH=/data/gonic.db",
  "GONIC_LISTEN_ADDR=:80",
  "GONIC_MUSIC_PATH=/music",
  "GONIC_PODCAST_PATH=/podcasts",
  "GONIC_CACHE_PATH=/cache",
  "GONIC_PLAYLISTS_PATH=/playlists"
]

from gonic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.