fix(contrib): update config example

This commit is contained in:
Zoltan Puskas
2023-10-29 07:47:48 -07:00
committed by GitHub
parent a34ac03de6
commit d03d2dc760

View File

@@ -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 <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 <path to TLS certificatie>
#tls-cert <path to TLS certificate>
#tls-key <path to TLS private key>
# gonic's internal state database location
@@ -33,6 +33,14 @@ music-path <path to your music dir>
# podcast-path /var/cache/podcast
podcast-path <path to your podcasts dir>
# 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 `<userid>/<name>.m3u`. For example the admin user could
# have 1/my-playlist.m3u. E.g.:
# playlists-path /srv/audio/playlists
playlists-path <path to your m3u playlist dir>
# 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 <extra command line arguments to pass to the jukebox mpv daemon>
# 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 <delimiter character>: 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