mpd-sima.cfg(5) mpd-sima will try to maintain some titles ahead in your play list following different policies. This manual document the configuration file for mpd-sima.


This manual page documents briefly mpd-sima configuration options available in user configuration file (see the section called "FILES").


The configuration file consists of sections, led by a [section] header and followed by name: value entries, with continuations in the style of RFC 822 (see section 3.1.1, "LONG HEADER FIELDS"); name=value is also accepted. Lines beginning with '#' or ';' are ignored and may be used to provide comments.

The default values are used in the options lists below.

MPD section

This section is meant to configure MPD access, MPD host address / port and password if necessary.



Set MPD host. Use IP or FQDN.


Set host port to access MPD to.


Set MPD password to use. Do not use this option if you don't have enabled password protected access on your MPD server.

log section

Configure logging.



Logging verbosity among debug, info, warning, error.

sima section

This section allows you to tweak mpd-sima behaviour such as how many tracks to add and/or what queue mode you want etc..



Queue mode to use among track, top and album (see the section called "QUEUE MODES" for info about queue modes).


Similarity value as a percentage, use to filter similar artists results.

The value of similarity is used to filter similar artists list from database ( and user db).


Dynamic value as an integer. Sets how many similar artists to retrieve from local music library.

mpd-sima will try to gather at most dynamic artists from local media library at least similarity% similar.

If dynamic is zero, then mpd-sima gathers all artists from similar artists list also present in local library and at least similarity% similar.


Look for user defined similarities in user data base.


How far to look back in history to avoid to play twice the same track/title (duration in hours).


How many played tracks to keep in the play list. Allow to maintain a fixed length play list. Set to 0 to keep all played tracks.


Prevent from queueing a track from the same album (it often happens with OST).

Only relevant in "track" queue mode.


Checks the forge for new version of MPD_sima.

The following options are still part of sima section but you usually do not need to change them.


This value triggers queue process if the play list length is less than specified queue_length.


How many track(s) to add. Only relevant in top and track queue modes.


How many album(s) to add. Only relevant in album queue modes.


mpd-sima offers different queue modes. All of them pick up tracks from artists similar to the one currently played.

mpd-sima tries preferably to chose among unplayed artists or at least not recently played artist. Concerning track and album queue modes titles are chosen purely at random among unplayed tracks.


Queue a similar track chosen at random from a similar artist.


Queue a track from a similar artist, chosen among "top tracks" according to data mining.


Queue a whole album chosen at random from a similar artist.

Nota Bene:

Due to the track point of view of database build upon tracks tags an album lookup for a specific artist will return albums as soon as this artist appears in a single track of the album.

For instance looking for album from "The Velvet Underground" will fetch "Last Days" and "Juno" OSTs because the band appears on the soundtrack of these two movies.

A solution is for you to set AlbumArtists tag to something different than the actual artist of the track. For compilations, OSTs etc. a strong convention is to use "Various Artists" for this tag.

mpd-sima is currently looking for AlbumArtists tags and avoid album where this tag is set with "Various Artists". If a single track within an album is found with AlbumArtists:"Various Artists" the complete album is skipped and won't be queued.

It is planned to allow users to set the values of AlbumArtists tag triggering this behaviour. cf. feature request #2085 on the tracker.


Unless you override it mpd-sima will try to read the configuration file name mpd_sima.cfg in the standard location within XDG_CONFIG_HOME.


The per-user configuration file. Usually XDG_CONFIG_HOME is set to ${HOME}/.config.


Album queue mode.

Here is an example of album queue configuration.

queue_mode = album
consume = 30 # keep 30 played tracks in playlist


The upstream BTS can be found at m[blue][].


The maintainer would be more than happy to ear from you, don't hesitate to send feedback on the forge, via the upstream BTS, the forum or the chat room, all available on the forge at m[blue][].

XMPP users are welcome to join the dedicated chat room at m[blue][email protected]m[].


Jack Kaliko <[email protected]>

Wrote this man page and is currently leading MPD_sima project.


Copyright © 2009-2012 Jack Kaliko

This manual page was written for the Debian system (and may be used by others).

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.