Remove deprecated top level colors config option (#2209)

It was deprecated in d3fce35481
on 2015-01-25.
This commit is contained in:
Johnny Robeson 2016-09-25 22:56:29 -04:00 committed by GitHub
parent 2e0775c0fe
commit be8fe8753c
2 changed files with 4 additions and 8 deletions

View file

@ -1121,14 +1121,6 @@ def _configure(options):
else:
log.set_global_level(logging.INFO)
# Ensure compatibility with old (top-level) color configuration.
# Deprecation msg to motivate user to switch to config['ui']['color].
if config['color'].exists():
log.warning(u'Warning: top-level configuration of `color` '
u'is deprecated. Configure color use under `ui`. '
u'See documentation for more info.')
config['ui']['color'].set(config['color'].get(bool))
# Compatibility from list_format_{item,album} to format_{item,album}
for elem in ('item', 'album'):
old_key = 'list_format_{0}'.format(elem)

View file

@ -24,6 +24,10 @@ UI Change:
of ``-k title albumartist album``. Each argument must be prefixed with
``-k``. Example: ``-k title -k albumartist -k album``
Deprecated configuration optional removals:
* Remove top level ``colors`` configuration option.
The are a couple of small new features:
* :doc:`/plugins/mpdupdate`, :doc:`/plugins/mpdstats`: When the ``host`` option