sima v0.12.0 * Major refactoring * Add a setup.py, got rid of the Makefile. * Switched to Python3 (>=3.2) * Depends on requests (http client) * Depends on python-musicpd (py3k port of python-mpd) configuration file change internal database remains the same * Temporarily removed userdb feature * Base artist for similarity is the last track queued * Persistent http caching -- kaliko jack Mon, 16 Jun 2014 10:37:14 +0200 sima v0.11.0 * straight forward py3k conversion from v0.10.0 -- kaliko jack UNRELEASED sima v0.10.0 * Improved album detection (especially multi-artists album) * Controls conf file is readable at startup * Complete rewrite of MPD client -- kaliko jack Wed, 26 Sep 2012 18:56:57 +0200 sima v0.9.2 * Fixed Makefile, thanks Artur Frysiak (fixes #2849 #2848) -- kaliko jack Sun, 26 Feb 2012 22:06:27 +0100 sima v0.9.1 * Fixed an issue in idle implementation -- kaliko jack Fri, 24 Feb 2012 12:04:39 +0100 sima v0.9.0 * New CLI option --create-db * Option main_loop_time removed, use of idle makes it useless * New config file option "dynamic" (fixes #2593) Refactoring: * Start player abstraction, new MPD class (fixes #2418) * Use idle MPD command, needs python-mpd >= 0.3 Bugs fix: * PID file creation now respects system umask (fixes #2368) * Avoid to queue twice the same album (fixes #2595) * Empty password does not trigger auth attempt (fixes #2543) * Fixed --var_dir option, thanks Artur Frysiak (fixes #2796) Minor changes: * Improved execution time in tracks history look up mainly. * Switch to python-daemon 0.4 -- kaliko jack Fri, 10 Feb 2012 11:31:57 +0100 sima v0.8.0 * New CLI option "--daemon" to run as a daemon * Abandoned compatibility with python 2.5 (urllib2.urlopen timeout) * Add daemon cli option to daemonize the process (closes #616) * Add a Makefile (install, uninstall targets) following GNU standards. * Refactored queue_mode method, thanks MsieurHappy ;) * Moved Track class to separate file. * Reduce memory footprint (better simafm cache handling). * Fixed a bug in database management, cleaning database performs better -- kaliko jack Sun, 08 May 2011 14:06:22 +0200 sima v0.7.2 * Fixes a bug introduced fixing #2113, history was no longer honored! -- kaliko jack Sun, 30 Jan 2011 10:54:53 +0100 sima v0.7.1 * Add Makefile from 0.8 dev branch * Fixes #2113 * Fixes #2091 -- kaliko jack Sat, 22 Jan 2011 09:17:18 +0100 sima v0.7.0 * Stall queueing when MPD is in "single" or "repeat" mode (closes #1607) * No longer need to restart MPD_sima when MPD database has been updated, it was necessary to have new entries to appear in MPD_sima (closes #1719). * New database version, upgraded at first start (back up done in sima.db.0.6) * Uses SQLite for history. Play history always saved, not anymore optional. * simadb_cli uses MPD_HOST/MPD_PORT environment variables * New mpd_sima CLI option --var_dir to change default ${XDG_DATA_HOME} Allows to launch the script as a "system service" (closes #1738) Bugs: * Autoqueue not anymore stall when started without internet access (closes #1568 and #1695) * Fixed a bug with MPD_(HOST|PORT), env. var. only used when no host/port are set in the config file. Configuration file changes: * New "history_duration" option * Remove "history" & "history_length" options, replace by "history_duration" * New "queue" option * Remove "top_tracks" option, now use "queue" option with "top" value. * New consume option (closes #1576) * New queue mode "album" (closes #1008) * New option "album_to_queue" to set how many albums to queue * New option "single_album" allowing to force queuing track from different albums, for instance it'll avoid to end up playing a whole OST. (cf. for all options available) -- kaliko jack Sat, 18 Dec 2010 12:11:12 +0100 sima v0.6.0 * Use of SQLite (closes #838) * [simadb_cli] new command line interface to edit sima.db (SQLite database) * [mpd_sima.py] New command line option to load a specific configuration file * Removed pyscrobbler module, now uses SimaFM (closes #741) * Cache is no longer managed as it was (because of SimaFM), it isn't possible to save it (advanced "cache" option removed). last.fm request caching is still enabled though. Saving last.fm request to file is milestoned 0.6.1 * Create documentation (docbook -> {troff,pdf,(x)html}) * Convert to unicode all utf-8/legacy code (closes #839) * Re-Licenced the code under GNU GPL. -- kaliko jack Mon, 10 May 2010 19:40:10 +0200 sima v0.5.2 * New fuzzy string matching dedicated to artist names (closes #686) * uses optparse instead of getopt (closes #834) * now sets options with built-in default, then configuration file and finally command line. * Fixes the “deprecated 'md5'” warning in audioscrobbler.py with patch provided in bug report #11 (closes #1144) – cf. pyscrobbler online: http://code.google.com/p/pyscrobbler -- kaliko jack Tue, 16 Mar 2010 14:01:22 +0100 sima v0.5.1 * No longer uses/writes a default conf file in ~/.config/mpd_sima (or XDG default), MPD_HOST is used if no conf file is present. * replace exhaustive loops by generator * clean up -- kaliko jack Thu, 26 Nov 2009 10:13:08 +0100 sima v0.5.0 * Add option to play only most popular songs from an artist (closes #739). * Now prefer non played over already played artist is possible (closes #774) * Use of %-age of similarity to get the list of similar (closes #740). * nearly all Unicode (closes #742). * Using dequeu object => ** New history/cache/user_db formats. ** * Heavy refactoring, new Track object. * Improved fuzzy search for artists in MPD library (using difflib/levenshtein) * Log to file within python script (closes #815), add --log= option. * Removed bashism & improved portability in shell launcher, thanks ksh@vim-fr ;) -- kaliko jack Sun, 25 Oct 2009 12:02:02 +0100 sima v0.4.0 * Add option to play only most popular songs from an artist * Better list of similar artists thanks to %-age of similarity… hopefully * Unicode !!!! -- kaliko jack Unreleased / abandoned dev branch sima v0.3.0 * New bash wrapper launch.sh to execute the script * User's database for similar artists through a new conf file user_db_cfg. Refer to examples for syntax. * check playlist queue to add tracks, not only history. * Rename history to history.pkl * add new command line options, help and version. * now look for MPD_HOST MPD_PORT env variable to create default conf file * run main loop even if the same track is playing, hence MPD_sima will keep adding new tracks even if the same track is still playing and stops only if the target is reached (ie. queue_length) -- kaliko jack Tue, 28 Jul 2009 18:10:09 +0200 sima v0.2.0 * WARNING: Moved to python-mpd instead of python-mpdclient2 * Add cache for last.fm request * Possibility to save cache to file (new option in mpd_sima.cfg) * new src directory layout * Improved log output formatting * Imroved code & removed old unused method * Controls availability of commands right after conn/auth * New pyscroobler version (revision 5), fix bug with slash in names. -- kaliko jack Fri, 12 Jun 2009 18:10:47 +0200 sima v0.1.1 (first upgrade) * HEAVY refactoring to improve coding style (thanks pylint). * intercept audioScrobbler server connexion errors (no longer stops mpd_sima). Issue/bug reported: http://code.google.com/p/pyscrobbler/issues/detail?id=7 * now cath SIGTERM signal along with SIGINT (keyborad interupt) * save history to file (new option in mpd_sima.cfg) * add --pid option to python script * correct launch.sh accordingly * new date format for the log -- kaliko jack Thu, 04 Jun 2009 20:35:25 +0200 sima v0.1.0 (first stable release) * First quasi stable release (my first python code…) -- kaliko jack Thu, 28 May 2009 20:45:03 +0200 # vim: fileencoding=utf-8