mpd-sima.cfg — 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.
This section is meant to configure MPD access, MPD host address / port and password if necessary.
[MPD]
host=
localhost
Set MPD host. Use IP or FQDN.
port=
6600
Set host port to access MPD to.
password=
false
Set MPD password to use. Do not use this option if you don't have enabled password protected access on your MPD server.
Configure logging.
[log]
verbosity=
info
Logging verbosity among
debug
,
info
,
warning
,
error
.
This section allows you to tweak mpd-sima behaviour such as how many tracks to add and/or what queue mode you want etc..
[sima]
queue_mode=
track
Queue mode to use among
track
,
top
and
album
(see the section called “QUEUE MODES” for info about queue modes).
similarity=
15
Similarity value as a percentage, use to filter similar artists results.
The value of similarity
is used to filter similar artists list from database (last.fm and user db).
dynamic=
10
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.
user_db=
false
Look for user defined similarities in user data base.
history_duration=
8
How far to look back in history to avoid to play twice the same track/title (duration in hours).
consume=
0
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.
single_album=
false
Prevent from queueing a track from the same album
(it often happens with OST).
Only relevant in "track" queue mode.
check_new_version=
false
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.
queue_length=
1
This value triggers queue process if the play list length is less than specified queue_length.
track_to_add=
1
How many track(s) to add. Only relevant in
top
and track
queue modes.
album_to_add=
1
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.
track
Queue a similar track chosen at random from a similar artist.
top
Queue a track from a similar artist, chosen among "top tracks" according to last.fm data mining.
album
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
.
${XDG_CONFIG_HOME}/mpd_sima/mpd_sima.cfg
The per-user configuration file. Usually
XDG_CONFIG_HOME
is set to
${HOME}/.config
.
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 http://codingteam.net/project/sima.
XMPP users are welcome to join the dedicated chat room at sima@conference.codingteam.net.