#
########################################################################
-#
-#######################################################################
-
########################## MPD SECTION ################################
#
[MPD]
verbosity = info
##
-
#
#######################################################################
# Leave commented to keep all tracks
#consume = 10
+[crop]
+consume = 10
+
[RandomFallback]
# random falvour :
# * pure: complete ramdom choice among all tracks available in the player media library
from sima.utils.config import ConfMan
from sima.utils.startopt import StartOpt
from sima.utils.utils import exception_log
+ # core plugins
+from sima.plugins.core.history import History
+from sima.plugins.core.mpdoptions import MpdOptions
##
logger.info('Starting...')
sima = core.Sima(config)
+ # core plugins
+ sima.register_plugin(History)
+ sima.register_plugin(MpdOptions)
+
# Loading internal plugins
load_plugins(sima, 'internal')
'port': "6600",
},
'sima': {
- 'internal': "Crop, History, MpdOptions, Lastfm, RandomFallBack",
+ 'internal': "Crop, Lastfm, RandomFallBack",
'contrib': "",
'user_db': "false",
'history_duration': "8",