tag/Config: support incremental "metadata_to_use" setting
With a "+" or "-" prefix, the "metadata_to_use" setting can manipulate the existing default. This way, one can enable `TAG_COMMENT` without having to list all the other tags.
This commit is contained in:
@@ -111,6 +111,10 @@
|
||||
# found in the user manual.
|
||||
#metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
|
||||
#
|
||||
# This example just enables the "comment" tag without disabling all
|
||||
# the other supported tags:
|
||||
#metadata_to_use "+comment"
|
||||
#
|
||||
# This setting enables automatic update of MPD's database when files in
|
||||
# music_directory are changed.
|
||||
#
|
||||
|
11
doc/user.rst
11
doc/user.rst
@@ -494,7 +494,16 @@ Other Settings
|
||||
setting can reduce the database size and :program:`MPD`'s
|
||||
memory usage by omitting unused tags. By default, all tags but
|
||||
comment are enabled. The special value "none" disables all
|
||||
tags. Section :ref:`tags` contains a list of supported tags.
|
||||
tags.
|
||||
|
||||
If the setting starts with ``+`` or ``-``, then the following
|
||||
tags will be added or remoted to/from the current set of tags.
|
||||
This example just enables the "comment" tag without disabling all
|
||||
the other supported tags
|
||||
|
||||
metadata_to_use "+comment"
|
||||
|
||||
Section :ref:`tags` contains a list of supported tags.
|
||||
|
||||
The State File
|
||||
~~~~~~~~~~~~~~
|
||||
|
Reference in New Issue
Block a user