Comments (12)
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.
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.
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.
can you try this in your docker compose instead
environment:
- "GONIC_MULTI_VALUE_GENRE=delim ,"
from gonic.
- "GONIC_MULTI_VALUE_GENRE=delim ,"
same issue
from gonic.
whats the error message this time?
maybe try just
environment:
- GONIC_MULTI_VALUE_GENRE=delim ,
from gonic.
whats the error message this time?
maybe try just
environment: - GONIC_MULTI_VALUE_GENRE=delim ,
i did that previews with same result
from gonic.
with the same error message? are you sure you did a docker compose up?
from gonic.
- 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.
what is the output of docker inspect <gonic container name> | jq ".[].Config.Env"
from gonic.
ohh, i know what the issue is
from gonic.
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)
- Request: Parse `format` param in `stream` request for per-request transcoding HOT 3
- LastModified field is set to 0?
- implement subsonic getNowPlaying.view HOT 1
- Distribute static binaries HOT 2
- Question: What happens to the db if I correct the metadata on my collection HOT 1
- Canβt see playlists. Difference from Subsonic API? HOT 1
- Does Gonic support the ability to scan music from 2 different drives in a single docker instance? HOT 1
- songs not being downloaded in dsub after upgrade 15.2β16.4 HOT 3
- feat: Support for composer tag
- Playlist sharing across users
- Could not read tags HOT 4
- gonic db created with world-readable permissions HOT 1
- `artists`, `albumartists`, and `genres` with picard HOT 11
- Request: better playlist portability
- Feature: Album download
- Quality of life improvements to podcasts
- Missing getNowPlaying endpoint in API HOT 1
- Question are podcasts included in item counts? HOT 3
- Unable to create playlist as non-admin user, error code 50: you aren't allowed update that user's playlist HOT 1
- Feature: Sync track star / unstar with last.fm / listenbrainz HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gonic.