[scan] option to use first genre on multi token genres

multiple genres are either supported by format (see flac/orbis) or are
handled by convention (see mp3) - ffmpeg presents either case as a
single string, seperated by ';' (ie "Pop;Rock")

Currently the server/db does not support multiple genres and will store
the ffmpeg string as-is which is unlikely the user intention.

Introduce 'split_genre' to take the first genre token
This commit is contained in:
whatdoineed2do/Ray
2022-12-27 13:42:07 +00:00
committed by ejurgensen
parent 46f87720fb
commit 0c43de9735
3 changed files with 27 additions and 1 deletions

View File

@@ -171,6 +171,12 @@ library {
# to trigger a rescan.
# filescan_disable = false
# Should server use first genre found in metadata
# Tracks may be tagged with multiple genres, such as 'Pop' and 'Rock'.
# This option instructs the server to use only the first genre found
# (ie 'Pop' in this case) when parsing genre
# split_genre = false
# Should metadata from m3u playlists, e.g. artist and title in EXTINF,
# override the metadata we get from radio streams?
# m3u_overrides = false