(latest).
<h3><strong>Possible use of MPD_sima</strong></h3>
<div>
<a href="http://xkcd.com/400/" hreflang="en">
<img src="http://imgs.xkcd.com/comics/important_life_lesson.png"
title="I didn't even know I *had* the Monty Python 'Lumberjack' song."
alt="xkcd#400 Important Life Lesson" />
</a>
<p>work licensed under a Creative Commons Attribution Non Commercial 2.5 License.<br />
© copyright Randall Munroe
</p>
</div>
<p>
<h3><strong>MPD_sima</strong></h3>
<p><strong><a href="/project/sima/news">Follow news and
release announcement on the News page. (rss & atom feeds
available)</a>.</strong></p>
<p>
The current stable branch is <strong>0.6</strong>. You might follow this branch using svn, I'll keep it stable and functional. Refer to Download section further down if you need a tarball.
</p>
<p>
Next major version, 0.7.0, released when ready, “Pauca, sed matura…”.
</p>
<p><strong>Check for <a href="http://codingteam.net/project/sima/bugs/?nbbugs=30&onlybug=1&active=1&waiting=1&unconfirmed=1&assignedusers=981&title=&text=&version=&milestone=">opened bugs</a> or <a href="http://codingteam.net/project/sima/bugs/?nbbugs=30&onlyfeaturerequest=1&active=1&waiting=1&unconfirmed=1&assignedusers=981&title=&text=&version=&milestone=">feature requests</a>.</strong>
</p>
<h3><strong>Download / Packages</strong></h3>
<p>MPD_sima is currently packaged for <a href="project/sima/doc/DownLoad" title="Download page">Download two different linux distro</a>.</p>
<ul>
<li>A [wiki=DebianPackage Debian package] is maintained by MPD_sima team</li>
<li>The ArchLinux Community is maintaining mpd-sima package in <a href="http://aur.archlinux.org/" title="AUR web interface">AUR</a></li>
</ul>
<h3>Donate</h3>
<p>Donate either using <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mxjeff%40free.fr&item_name=MPD_sima%20Donation&no_shipping=1&no_note=1&tax=0¤cy_code=EUR&bn=PP%2dDonationsBF&charset=UTF%2d8">paypal</a> or <a href="http://flattr.com/thing/43415/MPDsima">flattr</a>.
</p>
<ul>
<li><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mxjeff%40free.fr&item_name=MPD_sima%20Donation&no_shipping=1&no_note=1&tax=0¤cy_code=EUR&bn=PP%2dDonationsBF&charset=UTF%2d8">paypal</a></li>
<li><a href="http://flattr.com/thing/43415/MPDsima" target="_blank">
<img src="http://api.flattr.com/button/button-compact-static-100x17.png" alt="Flattr this" title="Flattr this" border="0" /></a>
</ul>
<p>Donations will be equally shared between the forge and MPD_sima devs.</p>
<h3><strong>Features</strong></h3>
<ul>
<li>MPD connection with authentication. Support environment variables MPD_HOST and MPD_PORT.</li>
<li>Queue similar artists or top tracks for these artists.</li>
<li><em>Queue whole albums (this mode will be available in MPD_sima >= 0.7)</em></li>
<li><em>Queue whole albums (MPD_sima >= 0.7)</em></li>
<li>Preferably plays non-recently artists</li>
<li>Perform fuzzy match against MPD media library, ie. looking for "The Beatles" should match "Beatles".</li>
<li>Perform fuzzy match against MPD media library, ie. looking for "The Beatles" should match "Beatles" (MPD_sima >= 0.6).</li>
<li>Caching audioscrobbler request.</li>
<li>Possibility to remember played history between run sessions.</li>
<li>User DB for similar artists (MPD_sima >= 0.3), allowing to add user pref for similarities.</li>
</ul>
<p><strong>Need more features, got an Idea?
</strong></p>
<p>Please [wiki=SimaIdeas drop a line on the wiki] or post a new ticket on the tracker :)</p>
<h3><strong>Requirements</strong></h3>
<p><strong>Needed requirements for MPD_sima.</strong>
<ul>
<li><a href="http://codingteam.net/project/sima/doc/HomePage#mpd">[0]</a> MPD >= 0.13.2 (known to be working on 0.14 & 0.15)
<li><a href="http://codingteam.net/project/sima/doc/HomePage#python">[1]</a> python >= 2.5 and < 3 (2.6 might be ok)</li>
<li><a href="http://codingteam.net/project/sima/doc/HomePage#pympd">[2]</a> python library: python-mpd >= 0.2.0</li>
<li>Internet access</li>
</ul>
<h3><strong>Description</strong></h3>
<p>
<strong>MPD_sima is a python script meant to deal with your
<acronym title="music player daemon">MPD</acronym> server [0],
automagically adding title to your playlist following different
policies.</strong>
</p>
<p>Remember that <strong>a good tagging policy is a prerequisite for a
MPD_sima to satisfy you.</strong> It allows the script to know what your listening to!!
</p>
<p>This a pure console tool I wrote, trying to keep in mind the
unix/kiss philosophy.<br/>
Meaning, mpd_sima will only try to add tracks to your playlist,
anything else should not be included or requested.
</p>
<p>
Currently I'm focussing on a single policy which is last.fm
suggestions via similar artist requests.<br />
MPD_sima is looking for the availability of these suggestions
in your MPD media database and randomly selects some titles to
add the playlist.
</p>
<h3><strong>TAKE NOTICE</strong></h3>
<p>
Running MPD_sima with audioscrobbler suggestions you have to be aware that the
larger is your music library the better MPD_sima will behave. It
also depends on what kind of music you have on your computer.
<br /> But most of all,<strong>MPD_sima heavily rests on sound file tags.</strong>
So, please, tag properly your music files!<br />
You cannot expect MPD_sima to guess the name of the artist your
listening to. Then I'm aware the same artist is spelled differently
for different people and for last.fm as well. That's why I added a
fuzzy search to smooth it away (with a levenshtein distance).<br />
Nevertheless <strong>a good tagging policy is a prerequisite for a
MPD_sima to satisfy you.</strong>
</p>
<h3><strong>Usage</strong></h3>
<p>
<strong>MPD_sima has been written for python 2.5, it is probably running well enough with python 2.6, your welcome to send feedback though ;)</strong>
<strong>MPD_sima has been written for python >= 2.5, < 3.0, your welcome to send feedback ;)</strong>
</p>
<p>Simply run the shell script “launch.sh” or python script
“mpd_sima.py”.<br />
The python script accepts options for pid and log file:
<code>/usr/bin/env python ./src/mpd_sima.py --pid=/path/to/pid_file.pid --log=/path/ot/log_file.log</code>
</p>
<p>If you need special settings to access to your MPD server,
edit configuration file located at $XDG_CONFIG_HOME/mpd_sima/,
usually “$HOME/.config/mpd_sima/”.<br/>
An exemple is provided in the tarball doc/examples/mpd_sima.cfg. The defaults are an MPD
server on <strong>localhost:6600</strong> with <strong>no password</strong> or retrieve from MPD
environment variables MPD_HOST and MPD_PORT is you set them up
(cf man 1 mpc for more info on MPD env. variables).
</p>
<p>For <strong>advanced use</strong> refer to dedicated page AdvancedUse.
</p>
<h3><strong>Devel</strong></h3>
<p>Please refer to [wiki=SimaDevel devel pages].</p>
<h3><strong>Similar projects/code</strong>, fair competition is good :)</h3>
<p>Check the [wiki=SimilarProjects similar projects], add yours</p>
<h3>They wrote about us</h3>
<ul>
<li>[fr] <a href="http://blog.pacodastre.org/index.php?post/2010/07/16/MPD-et-MPD_Sima" hreflang="fr">Paco's blog</a></li>
<li>[fr] <a href="http://blog.mathieui.net/?p=364" hreflang="fr">Mathieui's blog</a></li>
<li>[fr] <a href="https://linuxfr.org/2010/06/30/27074.html" hreflang="fr">Linuxfr.org</a></li>
</ul>
<h3><strong>Links</strong></h3>
[0] <a href="http://mpd.wikia.com" hreflang="en" id="mpd">mpd.wikia.com</a><br />
[1] <a href="http://python.org" hreflang="en" id="python">Python programing language</a><br />
[2] <a href="http://musicbrainz.org/" hreflang="en" id="mb">musicbrainz.org</a><br />
[3] <a href="http://jatreuman.indefero.net/p/python-mpd/" hreflang="en" id="pympd">Python MPD</a>