* Client side hardcoded one month caching (ugly workaround for #7)
* Simplified album search
* Track search aggregates artist name and MusicBrainzID searches
+ * Add an undocumented mopidy compatibility configuration option
+ Use the boolean option "mopidy_compat" in the sima section
+ cf. https://gitlab.com/kaliko/sima/issues/21#
-- kaliko jack <kaliko@azylum.org> UNRELEASED
from .utils.config import ConfMan
from .utils.startopt import StartOpt
from .utils.utils import exception_log, SigHup
- # core plugins
+# core plugins
from .plugins.core.history import History
from .plugins.core.mpdoptions import MpdOptions
from .plugins.core.uniq import Uniq
# required core plugins
core_plugins = [History, MpdOptions, Uniq]
+ if config.getboolean('sima', 'mopidy_compat'):
+ logger.warning('Running with mopidy compat. mode!')
+ core_plugins = [History, MpdOptions]
+ config['sima']['musicbrainzid'] = 'False'
for cplgn in core_plugins:
logger.debug('Register core {name} ({doc})'.format(**cplgn.info()))
sima.register_core_plugin(cplgn)