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)
- getPlaylist endpoint returning object that is missing the 'changed' field
- stream_id in Podcast object is used differently from Subsonic HOT 5
- Playlist object is missing required 'duration' field HOT 1
- gonic doesn't return playcounts in album response HOT 2
- feat: song level play counts HOT 3
- API Qestion (Not a real bug) HOT 1
- FR: Redownload existing podcast episodes HOT 4
- feat: try all tracks in dir for album metadata instead of first
- Transcoding seemingly does nothing HOT 3
- CreatePlaylist api response sends blank/empty playlist ID
- Intelligent track change detection in scanner to preserve primary keys HOT 2
- Empty "Unknown Album" HOT 8
- taglib v2 downstream HOT 6
- feature: Include genre and album's date/year in listenbrainz scrobble payload HOT 3
- feat: use `originalReleaseDate` and set `year` to edition year HOT 4
- Last.fm Artist Lookup not sanitizing special characters in Artist's names HOT 4
- Search Album by Name doesn't fetch all results HOT 1
- feat: Add support for Artist Sort Name HOT 1
- Scan HOT 13
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.