From d03d2dc760c6c14b6f79efeca8b0111ead8912af Mon Sep 17 00:00:00 2001 From: Zoltan Puskas Date: Sun, 29 Oct 2023 07:47:48 -0700 Subject: [PATCH] fix(contrib): update config example --- contrib/config | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/contrib/config b/contrib/config index 29528af..9031113 100644 --- a/contrib/config +++ b/contrib/config @@ -1,5 +1,5 @@ # This is the gonic server system-wide configuration file. For other -# administrative and per user settings go th the web UI. +# administrative and per user settings go to the web UI. # # The strategy used for options in the default config shipped with gonic is to # specify options with their default value where possible, and leave optional @@ -15,9 +15,9 @@ listen-addr 127.0.0.1:4747 # URL path prefix to use if behind reverse proxy #proxy-prefix -# Secure connection settings. Recommended to set up unless gonic sits behing an +# Secure connection settings. Recommended to set up unless gonic sits behind an # SSL enabled reverse proxy server. Disabled by default. -#tls-cert +#tls-cert #tls-key # gonic's internal state database location @@ -33,6 +33,14 @@ music-path # podcast-path /var/cache/podcast podcast-path +# gonic manages playlists as m3u files. This way users can also edit these +# playlists themselves or add custom ones via other tools. Items in the +# directory should be placed in subdirectories matching user IDs in the +# database, in the format `/.m3u`. For example the admin user could +# have 1/my-playlist.m3u. E.g.: +# playlists-path /srv/audio/playlists +playlists-path + # Age (in days) to purge podcast episodes if not accessed. Disabled by default. #podcast-purge-age 0 @@ -47,3 +55,16 @@ cache-path /var/cache/gonic #scan-watcher-enabled false #jukebox-enabled false #jukebox-mpv-extra-args + +# Metadata multi-value handling +# gonic supports parsing mult-valued tags in the metadata thus assigning a song +# to several genres or album artists. This improves search and reduces clutter +# in the artist/genre listing. Accepted options are: +# multi: gonic will explicitly look for multi value fields the audio metadata +# delim : gonic will look at the regular audio metadata +# fields like "genre" or "album_artist", but split +# them on a delimiter. For example to split on +# semicolon set the option value to be "delim ;" +# none: default setting, gonic won't attempt to do any multi value parsing +#multi-value-genre none +#multi-value-album-artist none