music player daemon (fork)
Go to file
Eric Wong a25acbc94f rewrite statefile code for audio devices
In the words of the original author, it was 'crappy'.  I tend to
agree :)

The code has also been broken for at least the past few months,
and nobody bothered fixing it

The previous format it was overly complex: 5 lines to describe
each device.  The new format is one-line per-device:

audio_device_state:%d:%s

%d - 0 for disabled, any integer for enabled
%s - name of the device as specified in the config file,
whitespace and all

Incompatibilities:

* Output names are now _required_ to be unique.

This is required because the new format relies solely on the
name of the audio device.

Relying on the device IDs internal to MPD was a bad idea
anyways since the user usually has none or very little idea
how they're generated, and adding a new device or removing
one from a config would throw things off completely.

This is also just a Good Idea(TM) because it makes things
less confusing to users when they see it in their clients.

* Output states are not preserved from the previous format.

Not a big deal, since the previous code was never officially
released.  Also, it's been broken for months now, so I doubt
anybody would notice :)

git-svn-id: https://svn.musicpd.org/mpd/trunk@3928 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-03-18 03:58:31 +00:00
doc Hopefully the last of the spelling fixes :> 2006-03-16 06:41:41 +00:00
m4 merge with mpd/trunk up to r3925 2006-03-16 06:52:46 +00:00
src rewrite statefile code for audio devices 2006-03-18 03:58:31 +00:00
AUTHORS undo change 3081 2005-03-15 23:18:23 +00:00
autogen.sh insert stuff in tagTracker in sorted order, hopefully this makes it faster 2004-11-15 17:24:57 +00:00
ChangeLog update ChangeLog with 0.11.5 changes 2004-11-02 03:17:49 +00:00
configure.ac merge with mpd/trunk up to r3925 2006-03-16 06:52:46 +00:00
COPYING import from SF CVS 2004-02-23 23:41:20 +00:00
INSTALL update install w/ mikmod info 2004-06-14 21:43:48 +00:00
makedist.sh bunch of autotool cleanups 2004-03-18 03:29:25 +00:00
Makefile.am don't generate .bz2 for make dist 2004-03-26 05:13:21 +00:00
README import mp4ff, since its not installed correctly by faad2 2004-03-17 17:19:52 +00:00
TODO Forgot commit message, Added extra debug output when scanning director sturcture for files, it's a rough first attemped and the messages need to be a bit unified, also it might be overkill here and there 2005-09-08 21:27:46 +00:00
UPGRADING upgrade UPGRADING 2004-06-14 21:41:52 +00:00

                          Music Player Daemon (MPD)
                        http://www.musicpd.org

A daemon for playing music (mp3, ogg vorbis, and flac).  Music is played
through the server's audio device.  The daemon stores info about all available
music, and this info can be easily searched and retrieved.  Player control, info
retrieval, and playlist management can all be managed remotely.

To install MPD, see INSTALL.

MPD includes 3 libraries in the source. libid3tag and libmad are released under
the GPL and copyrighted by Robert Leslie (http://www.underbit.com/products/mad).
mp4ff is released under the GPL and copyrighted by M. Bakker, Ahead Software AG
(http://www.nero.com) and is distributed as a part of the FAAD2 - Freeware
Advance Audio (AAC) Decoder.

MPD is released under the GNU Public License.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
For the full license, see COPYING.