Commit Graph

923 Commits

Author SHA1 Message Date
Warren Dukes
70463a1dac don't print out config line in error message about pid file missing
git-svn-id: https://svn.musicpd.org/mpd/trunk@3044 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-09 03:30:34 +00:00
Warren Dukes
c673bc86cd fix an error message
git-svn-id: https://svn.musicpd.org/mpd/trunk@3043 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-09 03:29:30 +00:00
Warren Dukes
4c7c6ca4a6 *) add support for pid files
*) we now require pid_file to specified in the config
*) new prefered method for killing mpd: mpd --kill
*) cleaned up some nastiness with decode_pid handling

git-svn-id: https://svn.musicpd.org/mpd/trunk@3042 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-09 03:13:33 +00:00
Warren Dukes
a849136820 undo fix for killall not preserving the current format properly, it causes problems for alsa and other things that spawn extra process w/o us knowing
git-svn-id: https://svn.musicpd.org/mpd/trunk@3039 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-08 02:51:15 +00:00
Warren Dukes
b5e55a648f we ne allow audioOutput plugins to set the final outAudioFormat that will be used. we now use alsa's _near functions to detect what to use.
git-svn-id: https://svn.musicpd.org/mpd/trunk@3038 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-08 01:53:13 +00:00
Warren Dukes
fa08a7e3ff for windows compatibility, if we're unable to add a song, convert '\' to '/' and try again to add the file
git-svn-id: https://svn.musicpd.org/mpd/trunk@3036 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-08 01:07:46 +00:00
Warren Dukes
8db09d0b76 make PCM the default controller for the mixer
git-svn-id: https://svn.musicpd.org/mpd/trunk@3035 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-08 00:54:37 +00:00
Warren Dukes
6a77e60c70 now player and decoder processes should only exit() when receiving term signal from their respective parent processes
git-svn-id: https://svn.musicpd.org/mpd/trunk@3034 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-08 00:17:33 +00:00
Warren Dukes
3764b06083 hopefully replaygain now works for musepack
git-svn-id: https://svn.musicpd.org/mpd/trunk@3031 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-07 01:30:29 +00:00
Warren Dukes
01b708bc13 add support for parsing ape tags in musepack files
git-svn-id: https://svn.musicpd.org/mpd/trunk@3030 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-07 00:51:21 +00:00
Warren Dukes
32a1f952e8 fix stateFile path getting garbled
git-svn-id: https://svn.musicpd.org/mpd/trunk@3029 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-06 20:04:50 +00:00
Warren Dukes
522bb6b61f update usage and mpd man page to indicate that we now require a config file
git-svn-id: https://svn.musicpd.org/mpd/trunk@3028 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-06 19:03:25 +00:00
Warren Dukes
586a21688f config file change! now 'port' is optional and 'db_file' is required!
also, should have better error reporting when failing to open playlist or
music directory's, or writing the db, etc

git-svn-id: https://svn.musicpd.org/mpd/trunk@3027 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-06 19:00:58 +00:00
Warren Dukes
d60c37f1f9 sample config file example
git-svn-id: https://svn.musicpd.org/mpd/trunk@3026 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-06 04:27:19 +00:00
Warren Dukes
8cea9bf485 todo cleanup
git-svn-id: https://svn.musicpd.org/mpd/trunk@3025 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-06 01:21:15 +00:00
Warren Dukes
014b138860 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@3024 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-06 01:06:03 +00:00
Warren Dukes
394a4862b4 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@3023 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 22:25:31 +00:00
Warren Dukes
3bdee55217 added composer, performer, and comment metadata items
git-svn-id: https://svn.musicpd.org/mpd/trunk@3022 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 22:24:10 +00:00
Warren Dukes
4b016cafa1 wee bit of code cleanup
git-svn-id: https://svn.musicpd.org/mpd/trunk@3021 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 21:09:32 +00:00
Warren Dukes
8e634b8237 don't need the extra snd_pcm_prepare after _drop
git-svn-id: https://svn.musicpd.org/mpd/trunk@3020 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 21:07:09 +00:00
Warren Dukes
8004ae341f more alsa work
git-svn-id: https://svn.musicpd.org/mpd/trunk@3019 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 20:51:36 +00:00
Warren Dukes
b94fa9c949 set buffer_before_play default to 0%
git-svn-id: https://svn.musicpd.org/mpd/trunk@3018 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 19:22:13 +00:00
Avuton Olrich
93902434d7 mpdconf.example should be installed in the docs directory also
git-svn-id: https://svn.musicpd.org/mpd/trunk@3017 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 17:52:25 +00:00
Avuton Olrich
a653bd76d4 Update the configure.ac to allow only compiling with ALSA output plugin
git-svn-id: https://svn.musicpd.org/mpd/trunk@3016 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 17:34:40 +00:00
Warren Dukes
99b28b12b6 this seemed to help a bit with the blip's on next
git-svn-id: https://svn.musicpd.org/mpd/trunk@3015 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 14:45:27 +00:00
Warren Dukes
8a00fa6c57 we want to stat, not lstat
git-svn-id: https://svn.musicpd.org/mpd/trunk@3014 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 14:28:37 +00:00
Warren Dukes
c8f044572e fix some compilation warning
git-svn-id: https://svn.musicpd.org/mpd/trunk@3013 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 14:26:37 +00:00
Warren Dukes
92653f8474 implemented dropping of current buffered audio, works for oss, but there seems
to be a "blip" for alsa devices, needs more work

git-svn-id: https://svn.musicpd.org/mpd/trunk@3011 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 14:01:13 +00:00
Warren Dukes
7808fea94a todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@3010 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 12:29:00 +00:00
Warren Dukes
7f183f687b now alsa plugin should work
git-svn-id: https://svn.musicpd.org/mpd/trunk@3009 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 05:45:39 +00:00
Warren Dukes
d1a4bb382f implemented alsa audioOutput plugin, now it needs testing
git-svn-id: https://svn.musicpd.org/mpd/trunk@3008 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 05:22:30 +00:00
Warren Dukes
82ff4c321c don't open device in initDriver! instead we just stat() for the device
git-svn-id: https://svn.musicpd.org/mpd/trunk@3007 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 03:36:24 +00:00
Warren Dukes
349539740b add "any" option for search and find, patch from Robert Andersson
git-svn-id: https://svn.musicpd.org/mpd/trunk@2997 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-28 23:57:47 +00:00
Warren Dukes
1f28c24097 s/mpc_bool_t/BOOL/ so it works with libmusepack 1.1
git-svn-id: https://svn.musicpd.org/mpd/trunk@2991 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-26 22:28:19 +00:00
Warren Dukes
d9cb5619d5 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@2990 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-26 15:20:44 +00:00
Warren Dukes
c32271eae2 git-svn-id: https://svn.musicpd.org/mpd/trunk@2985 09075e82-0dd4-0310-85a5-a0d7c8717e4f 2005-02-24 03:27:34 +00:00
Warren Dukes
93b27fe831 begin tree implementation
git-svn-id: https://svn.musicpd.org/mpd/trunk@2984 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-24 03:27:19 +00:00
Warren Dukes
fad348b285 definition of freeTreeIterator
git-svn-id: https://svn.musicpd.org/mpd/trunk@2983 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-24 02:46:01 +00:00
Warren Dukes
fbc37e7db4 add 2-3 tree header file
git-svn-id: https://svn.musicpd.org/mpd/trunk@2982 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-24 02:41:06 +00:00
Avuton Olrich
c5a31e1a9c revert those changes
git-svn-id: https://svn.musicpd.org/mpd/trunk@2981 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-24 00:12:20 +00:00
Avuton Olrich
208c648827 - Change alsa09 to alsa to avoid confusion
git-svn-id: https://svn.musicpd.org/mpd/trunk@2980 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-23 23:53:43 +00:00
Warren Dukes
b96ad39e9d updated TODO
git-svn-id: https://svn.musicpd.org/mpd/trunk@2968 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-20 18:04:27 +00:00
Warren Dukes
5327a8f421 when filling mp3 buffer, check if its already full. If it is, then give up trying to read in a potential mp3 frame, cause no mp3 frame should be bigger than the input buffer
git-svn-id: https://svn.musicpd.org/mpd/trunk@2950 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-14 00:52:29 +00:00
Warren Dukes
9e4465cbd1 disable replaygain support for musepack till i can figure out the format that the replagininfo is tored in by libmusepack
git-svn-id: https://svn.musicpd.org/mpd/trunk@2942 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-09 03:08:39 +00:00
Eric Wong
65c75caa39 make the "kill" command work again
git-svn-id: https://svn.musicpd.org/mpd/trunk@2936 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-07 04:01:41 +00:00
Eric Wong
cc06400df2 fix a logic error in flacParseReplayGain and also a gcc 2.95 compile error
git-svn-id: https://svn.musicpd.org/mpd/trunk@2935 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-07 03:55:29 +00:00
Warren Dukes
37f2a0a86c add ALSA_CFLAGS and _LIBS to MPD_*
git-svn-id: https://svn.musicpd.org/mpd/trunk@2934 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-03 04:33:52 +00:00
Warren Dukes
7af79aab14 fix alsa configure stuff
git-svn-id: https://svn.musicpd.org/mpd/trunk@2933 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-03 04:26:38 +00:00
Warren Dukes
ac6a74927e make local functions static
git-svn-id: https://svn.musicpd.org/mpd/trunk@2932 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-03 04:08:35 +00:00
Avuton Olrich
004c9394f7 - Clarify MPC to musepack (MPC) as not to confuse new MPD customers
- Error on no audio output target
- Allow to compile without oss (should be able to compile with any one audio output target)
- TODO update

git-svn-id: https://svn.musicpd.org/mpd/trunk@2930 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-02 10:27:24 +00:00