Warren Dukes
a4a3fef09c
cleanup some debug code
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3102 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-19 12:33:34 +00:00
Warren Dukes
9193766c06
fix some signal handling
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3101 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-19 12:28:47 +00:00
Warren Dukes
d392b7e48b
bump the OS X buffer up to 1s
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3098 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-17 03:28:05 +00:00
Warren Dukes
700d7aa2a0
dynamically allocate a buffer for 0.5s of audio for OS X
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3097 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-17 03:08:34 +00:00
Warren Dukes
a85438792f
tweak OS X a bit more
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3096 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-17 02:52:19 +00:00
Warren Dukes
63f152466b
OS X tweaks
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3095 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-17 02:33:40 +00:00
Warren Dukes
b4da244c5e
fix for dmix
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3094 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-17 01:23:06 +00:00
Warren Dukes
c1057f0c34
slight tweak of avuton's idea of causing an error when no audio output's found
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3093 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-17 00:56:31 +00:00
Warren Dukes
6b36bf7964
cleanup debugging code and implement _dropBufferedAudio()
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3090 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-16 23:24:07 +00:00
Warren Dukes
b9bcfeaf49
closing the audio device seems to work now
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3089 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-16 23:11:08 +00:00
Warren Dukes
9f00e2a8f7
attempt to close the osx device
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3088 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-16 23:05:25 +00:00
Warren Dukes
d6607f5f23
playing audio in OS X now works, but far from finished
...
still need to implement closing the audio device
git-svn-id: https://svn.musicpd.org/mpd/trunk@3086 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-16 04:46:41 +00:00
Warren Dukes
d4352ac996
undo change 3081
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3085 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-15 23:18:23 +00:00
Warren Dukes
f723517057
broken os x output
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3082 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-14 04:30:32 +00:00
Avuton Olrich
593e1343da
- Add 'mute' command for testing
...
- Revamp AUTHORS file
git-svn-id: https://svn.musicpd.org/mpd/trunk@3081 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-14 02:35:46 +00:00
Warren Dukes
5a2f599dba
a little more error output
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3078 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-13 23:59:04 +00:00
Eric Wong
5bddf6eefc
fix FLAC playback over non-ideal HTTP streams
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3076 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-13 22:58:04 +00:00
Warren Dukes
92f1bb82f7
some broken OS X stuff
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3075 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-13 21:33:55 +00:00
Warren Dukes
8936789631
add OS X configure stuff and added a skeleton audioOutput plugin for OS X
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3074 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-13 19:23:09 +00:00
Warren Dukes
3d81a723c7
slight changes to alsa errors
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3072 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-13 16:42:04 +00:00
Warren Dukes
246832f670
change some header includes so that we can compile on OS X
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3067 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-13 15:48:24 +00:00
Warren Dukes
aa7b698086
*) slight code cleanup
...
*) now --kill will not check for /proc/<pid>/exe (this is linux specific)
git-svn-id: https://svn.musicpd.org/mpd/trunk@3063 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-12 22:38:49 +00:00
Warren Dukes
8583a3bc4e
if no audioOutput specified, we no attempt to detect if there exists a usable oss or alsa device
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3057 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-12 03:10:09 +00:00
Warren Dukes
75a967014f
removed the id3v1_encoding config option, there's no way to guarantee that we actually got a given field from the v1 and not the v2 tag
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3052 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-11 02:59:26 +00:00
Warren Dukes
959f9880ef
todo update, and remove a potentially gratutious playSilence() call
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3051 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-10 10:47:06 +00:00
Warren Dukes
d4c225fa50
code to attempt to pick a supported sample rate, bits, and channels if the requested format is not supported by the OSS device
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3049 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-10 02:47:18 +00:00
Warren Dukes
384ecd09c1
fix segfault in error message
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3046 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-09 03:45:30 +00:00
Warren Dukes
5f8bf2b4bb
add ability to forcefully kill pid listed in pid file with '-kill -kill'
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3045 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-09 03:40:02 +00:00
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
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
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
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
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
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
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
Warren Dukes
2debf9924a
big endian support for flac
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2929 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-02 04:32:55 +00:00
Warren Dukes
9f29915f77
fix to code just submitted
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2928 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-02 04:25:56 +00:00
Warren Dukes
1e123ad4b7
minor optimization to flacWrite()
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2927 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-02 04:22:16 +00:00
Warren Dukes
f134e2686a
todo update
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2926 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-02 04:05:19 +00:00
Warren Dukes
09a87803a1
forgot to remove some debug statements
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2925 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-02 02:24:40 +00:00
Warren Dukes
c87b9cf439
playing, stopping, and seeking mpc files should work now. next is parsing metadata for the db.
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2924 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-02 02:21:58 +00:00
Warren Dukes
3d671eca3a
mpc plugin basically working.
...
todo:
1) figure out why stop takes so long
2) fix seeking
3) parse tags
git-svn-id: https://svn.musicpd.org/mpd/trunk@2923 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-01 13:22:58 +00:00
Warren Dukes
b95426f58f
some minor changes, still doesn't quite work
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2922 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-01 05:26:37 +00:00
Warren Dukes
4422fae24d
remove getOggTotalTime(), wasn't used anywhere
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2921 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-01 04:18:36 +00:00
Warren Dukes
e02659f6c0
will compile if you manually add "HAVE_MUSEPACK" to config.h and -lmusepack to
...
MPD_LIBS in Makefile
git-svn-id: https://svn.musicpd.org/mpd/trunk@2919 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-01 03:20:16 +00:00
Warren Dukes
9c218e487d
beginnings of a mpc plugin, work in progress
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2918 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-01 02:00:25 +00:00
Warren Dukes
62afded096
fix compilation error: s/mpdItemToMpdTag/addItemToMpdTag/
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2915 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-01-31 00:33:16 +00:00
Eric Wong
0cf6cc4ada
add streaming input support for FLAC
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2912 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-01-29 23:46:06 +00:00
Eric Wong
fc4dc6c229
free(name) in readDirectoryInfo after using it
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2911 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-01-29 22:30:18 +00:00
Warren Dukes
1c8b2de44b
change the http identification string to package_name/package_version
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2896 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-01-23 03:27:53 +00:00
Warren Dukes
9999a20c12
this should fix compile bugs #350 and #351
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2884 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-01-16 16:03:14 +00:00
Warren Dukes
9a18f61d48
fix some casting issues in error messages for output buffer size
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2812 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-12-22 04:04:38 +00:00
Warren Dukes
568d29fe8b
remove np from credits
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2793 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-12-12 02:18:58 +00:00
Warren Dukes
23eef1f732
fix logic for commands and notcommands for real this time
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2740 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-23 20:54:20 +00:00
Warren Dukes
e034e2889c
fix a little logic bomb in commands && notcommands
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2739 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-23 19:48:34 +00:00
Warren Dukes
498fe12702
added "notcommands" command
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2738 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-23 19:46:33 +00:00
Warren Dukes
3a89afdd80
remove --update-db option
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2719 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-20 20:28:32 +00:00
Warren Dukes
26e943c025
fix oss_openDevice() to match the new openDevice callback protocol (w/o a audioFormat argument)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2715 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-20 14:44:01 +00:00
Warren Dukes
1fd8d9a790
don't need to pass audioFormat to openDeviceFunc
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2708 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-19 15:09:01 +00:00
Warren Dukes
a809094bc3
fix an issue with errors and new read() code on interface
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2683 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-16 01:41:05 +00:00
Warren Dukes
469a5824b8
get rid of a gcc warning
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2682 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15 22:55:05 +00:00
Warren Dukes
d5a9925d1f
s/device/output/
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2678 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15 20:18:21 +00:00
Warren Dukes
b005556675
this shit really needs to be cleaned up, but its good enough for testing,
...
intelligently use memmove, when inserting nodes in a sorted list
git-svn-id: https://svn.musicpd.org/mpd/trunk@2677 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15 19:29:20 +00:00
Warren Dukes
f3e8d59d5c
use realloc for makeListNodesArray
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2676 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15 18:35:23 +00:00
Warren Dukes
c3b76c4171
ok, fix FindNode
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2675 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15 17:40:48 +00:00
Warren Dukes
731c9fa56c
don't to an unneccessary sort
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2674 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15 17:36:10 +00:00
Warren Dukes
209cab26ca
oops, forgot to remove some DEBUG statments
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2673 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15 17:31:01 +00:00
Warren Dukes
33b9585d68
insert stuff in tagTracker in sorted order, hopefully this makes it faster
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2672 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15 17:24:57 +00:00
Avuton Olrich
64632d6965
- Fix compilation error when compiling in a working directory with mp4 support.
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2656 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-14 19:03:28 +00:00
Warren Dukes
450f2decdd
put tracking titles back in tag tracker
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2654 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-14 14:58:00 +00:00
Warren Dukes
67c7cc8e20
fix test (we're not adding title's to the tag tracker)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2653 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-14 14:46:50 +00:00
Warren Dukes
c2844e84ff
test
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2652 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-14 14:42:07 +00:00
Warren Dukes
bb15d3f29e
no longer need to include sig_handlers.h in interfac.ec
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2651 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-14 06:18:22 +00:00
Warren Dukes
42b08abe2f
fix a few bugs in read()'ing
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2650 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-14 05:54:00 +00:00
Warren Dukes
86afc13c7e
optimized read() on clients, should be much, much faster now
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2649 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-14 05:38:49 +00:00
Warren Dukes
2c08fa619b
a few DEBUG statements
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2642 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-13 23:22:22 +00:00
Warren Dukes
3dafd6ced0
fix bug in find
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2638 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-13 19:17:38 +00:00
Warren Dukes
9dc0b070f0
fix a bug in pringSongUrl, don't print leading '/' for songs in root dir
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2631 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-12 18:02:26 +00:00
Warren Dukes
0473f3ea76
don't store only relative paths in the directory structure, its probably not
...
worth the savings in memory for the extra cpu it requires
git-svn-id: https://svn.musicpd.org/mpd/trunk@2630 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-12 17:38:52 +00:00
Warren Dukes
4735ddce40
correct a type in the error message
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2625 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-12 01:47:52 +00:00
Warren Dukes
1f118ea90d
now more flexible list, search, find, where you can enter pairs of
...
"conditionals". Note that logical and is implied.
git-svn-id: https://svn.musicpd.org/mpd/trunk@2624 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-12 01:44:27 +00:00
Warren Dukes
76addf155e
ok, dottemag's id3v1_encoding config parameter should now work.
...
dottemag can you test it? i made one little tweak
git-svn-id: https://svn.musicpd.org/mpd/trunk@2620 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 21:43:39 +00:00
Warren Dukes
a0048eb786
somehow a } went missing
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2609 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 13:18:44 +00:00
Warren Dukes
b9272fa95a
ok, tagtracker now tracks title, this has the disadvantage of needing to sort
...
the title tracker list, and it wastes more memory.
But it makes implementing list command elegant, since we've just visit tags,
then print out the visited tags in tag tracker (which has the benefit of
making sure everything is in sorted order)
git-svn-id: https://svn.musicpd.org/mpd/trunk@2608 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 13:15:41 +00:00
Warren Dukes
1d123cd496
better saved memmory display
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2607 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 05:25:05 +00:00
Warren Dukes
21b5cde43a
ok, optimize memory sage of directorys, by iteratively creating the directories,
...
this code needs some serious testing:
Note:
The song name optimization i think is worth it, saves about 200k of ram on my syste, however, having to create directory names iteratively each time we print probably isn't worth the cpu. We only save about 10k of ram for the computer todo alot more work, and the code maybe a little messier
git-svn-id: https://svn.musicpd.org/mpd/trunk@2604 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 04:34:26 +00:00
Warren Dukes
6e0c4369c3
fix a few memory leaks in conf.c
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2603 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 03:20:49 +00:00
Warren Dukes
d6a87f538d
ok, now song->url is only the filename, not the full path to the song
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2602 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 02:59:16 +00:00
Warren Dukes
4ec3df0339
implement saved memory by not storing full path
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2601 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 02:36:25 +00:00
Warren Dukes
03f02badf0
this is broken
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2597 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 00:41:28 +00:00
Warren Dukes
01b494a852
make copyTag to metadatachunk a little more efficient
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2594 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 00:04:16 +00:00
Warren Dukes
ce5a17b4d5
fix bug int tag->metadataChunk where artist was being copied to title
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2593 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-10 23:51:02 +00:00
Warren Dukes
41bf67ae99
we can't store more than 255 tag items per tag
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2592 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-10 22:13:30 +00:00
Warren Dukes
91a621e076
moves some stuff from dbUtils.h that doesn't need to be public
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2591 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-10 22:12:11 +00:00
Warren Dukes
c5d27d8eaa
merge changes from metadata-rewrite branch
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2589 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-10 21:58:27 +00:00
Warren Dukes
86cf70dcb2
here's why mikmod was segfaulting, the char * strings returned need to be strdup()'d, and not free'd
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2565 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-09 20:28:54 +00:00
Warren Dukes
902cfe2523
add "genre" and "description" to shout config parameters
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2557 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-09 13:04:20 +00:00
Warren Dukes
c2a2383090
be sure to flush the metadata on song change
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2556 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-09 03:58:12 +00:00
Warren Dukes
fb7de941c3
don't set granulepos, that's pad, mmmkay?
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2555 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-09 03:10:14 +00:00
Warren Dukes
c3eabe01da
try one other thing to fix icecast dropping clients
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2554 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-09 00:29:09 +00:00
Warren Dukes
b7315f8391
add a buffer to audio layer, so we only send data to audio devices 32 times per second
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2553 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-09 00:13:42 +00:00
Warren Dukes
9b03731c86
see if this fixes the clients disconnecting issues
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2552 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-08 21:54:50 +00:00
Warren Dukes
b3f3f35f99
new command "commands" for avuton
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2547 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-08 18:01:36 +00:00
Warren Dukes
14c6150fd9
more descriptive error messages for mpd
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2514 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-05 05:12:58 +00:00
Warren Dukes
c104801a67
not too smart shank, forgetting to set default buffer sizes in inputStream_http
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2513 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-05 05:11:23 +00:00
Warren Dukes
d06ca1dbda
make default non-public
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2506 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-04 04:03:08 +00:00
Warren Dukes
e9f65c9b98
shout config: make "user" optional and default to "source", also add optional "public"
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2505 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-04 04:01:04 +00:00
Warren Dukes
bf3be036ce
todo update
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2502 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-03 20:26:11 +00:00
Warren Dukes
405ad9e58b
now one can specify multiple bind_to_addresses
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2501 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-03 19:42:54 +00:00
Warren Dukes
16335ba097
remove vim &*(@
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2500 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-03 18:28:29 +00:00
Warren Dukes
8ca1fa5250
todo update
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2499 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-03 18:13:45 +00:00
Warren Dukes
8b19bb7c0e
todo update
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2496 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-03 16:53:43 +00:00
Warren Dukes
f1f5d668aa
remove signal handling code from ao open() and close()
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2493 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-03 14:33:35 +00:00
Warren Dukes
c5ce5f3c01
new setSigHandlersForDecoder() function, and be sure player/decode processes ignore SIGHUP signals
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2492 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-03 14:29:37 +00:00
Warren Dukes
9204cb24b7
forgot a '\n' at the end of a error statement
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2490 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-03 02:11:08 +00:00
Warren Dukes
f468aba16e
new command "addid", this is the same as "add" command, except it also returns the songid of the added song. Note that "addid" does not work on directories
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2487 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 23:44:33 +00:00
Warren Dukes
78c5d884d2
new command "devices", prints devices and their states
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2486 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 23:08:00 +00:00
Warren Dukes
44eb26c16f
new commands: enalbe_device, and disable_device, (maybe these commands should be toggles instead of two seperate commands?)
...
also, on close device, close the shout connection
git-svn-id: https://svn.musicpd.org/mpd/trunk@2485 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 22:13:58 +00:00
Warren Dukes
69176148bf
enabling and disabling individual audioOutputs is mostly done, just need
...
to add the command hooks
git-svn-id: https://svn.musicpd.org/mpd/trunk@2484 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 21:48:53 +00:00
Warren Dukes
8b08ee82b4
begin work on avuton's disabling and enabling of individual audio outputs
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2483 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 21:06:44 +00:00
Warren Dukes
54679d9028
rewrite replaygain code, needs testing
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2482 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 19:56:59 +00:00
Warren Dukes
bc3019dc69
make http buffer and prebuffer size configurable
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2479 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 18:53:38 +00:00
Warren Dukes
d89a48aaa2
DEBUG statement that prints out which ao driver is being used
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2478 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 18:31:54 +00:00
Warren Dukes
ee5d5d6330
abstract out audioFormat conversion from shout plugin to the audioOutput layer,
...
now format can be specified for each different audioOutput device
git-svn-id: https://svn.musicpd.org/mpd/trunk@2474 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 17:05:27 +00:00
Warren Dukes
0298239770
print more info out in error messages for shout
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2473 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 13:45:38 +00:00
Warren Dukes
2c9b50cabd
only attempt to reconnect to shout server every 60 seconds
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2472 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 13:26:50 +00:00
Warren Dukes
82cb5e0931
move audioOutput dir to audioOutputs
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2471 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 12:50:53 +00:00
Warren Dukes
0adfd8ae76
move audioOutput plugins to audioOutput directory
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2470 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 12:46:52 +00:00
Warren Dukes
ebc4418e01
oops, a typo, but that's ok, i'm still da man
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2468 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 05:30:16 +00:00
Warren Dukes
1d939538eb
a few extra strerror()'s sprinkled in the code
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2467 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 05:29:22 +00:00
Warren Dukes
2bb238cde9
does this make you happy normalperson, is this the way you like it, do you like it like this?
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2465 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 03:25:23 +00:00
Warren Dukes
c269e18813
now np's OSS stuff actually works
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2459 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 02:03:00 +00:00
Warren Dukes
b0d7d6b06f
don't use managed mode for cbr
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2458 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 01:25:06 +00:00
Warren Dukes
5ffa401e74
haha! you thought you had me, but i found your ass, double _init() on the vorbis encoder
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2456 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-01 22:54:44 +00:00
Warren Dukes
6d7e6a8581
fix a memory leak if write_page() fails in openShoutConn()
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2455 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-01 20:23:00 +00:00
Warren Dukes
023fba803a
something
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2453 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-01 20:02:08 +00:00
Warren Dukes
eefe9df34e
sendMetadata on reconnecting after a disconnection
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2447 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-01 16:58:06 +00:00
Warren Dukes
94dc65d516
set open = 0 on failing to open the connection
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2446 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-01 15:56:33 +00:00
Warren Dukes
5f219d925c
some minor tweaks, and a minor memory leak plugged
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2445 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-01 14:56:32 +00:00
Warren Dukes
8cb147764b
bad shank, don't set ao->open in openShoutConn(), bad shank
...
this should fix a few bugs, possibly the memory leak
git-svn-id: https://svn.musicpd.org/mpd/trunk@2442 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-01 13:21:10 +00:00
Warren Dukes
fab2bef87a
fix a config file error
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2435 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-31 15:54:21 +00:00
Warren Dukes
19a700b78b
we need to initialize interface_max_connections to 0, to indicate we have no open/possible interfaces for interfacePrintWithFD() (i.e. so we don't get a segfault when creating the db, or other potential problems)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2434 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-31 15:37:54 +00:00
Warren Dukes
0cf6a8c96a
fix minor bug in shout code (seting ao->open = 1 when failing to initEncoder())
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2431 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-31 15:02:29 +00:00
Warren Dukes
aba67249cb
if a home directory is available for 'user', set env variable $HOME
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2426 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-31 04:34:54 +00:00
Warren Dukes
38ade145bc
use random() instead of rand()
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2420 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-30 14:33:19 +00:00
Warren Dukes
1d34894f71
finish integrating in np's oss stuff
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2413 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-30 04:19:11 +00:00
Warren Dukes
59bd973de5
listallinfo now prints out directories
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2399 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-29 16:38:42 +00:00
Warren Dukes
348a1fb373
allow to set quality or bitrate for shout streams
...
NOTE: setting bitrate uses significantly more CPU for doing the encoding
git-svn-id: https://svn.musicpd.org/mpd/trunk@2396 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-29 13:33:51 +00:00
Warren Dukes
40917e6f59
a few more changes to oss code
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2395 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-29 04:11:10 +00:00
Warren Dukes
9906d3a7b2
begin integrating np's oss code
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2394 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-29 03:30:23 +00:00
Warren Dukes
94ee53178d
oops, forgot the parse the state_file as a path
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2383 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-28 17:16:55 +00:00
Warren Dukes
d79f3110b5
when sending metadata to audiodevice, put filename in title if no tag data is found
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2381 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-28 14:51:48 +00:00
Warren Dukes
82625dbf1a
always set open = 0 on closeDevice
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2380 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-28 12:58:20 +00:00
Warren Dukes
ac44e94f2f
fix user being parsed as a path
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2377 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-28 05:30:22 +00:00
Warren Dukes
a5e3445697
fix a little bug with audio device being closed on song change, oops
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2376 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-28 05:22:22 +00:00
Warren Dukes
58dbe4bb5d
merge shank-rewrite-config changes
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2375 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-28 05:14:55 +00:00
Warren Dukes
082d272157
fix compilation error when shout is not found
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2351 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-26 17:49:27 +00:00
Warren Dukes
f20de32d0d
fix segfault when reconnecting to icecast server, this was due to error sending metadata and not checking afterward if connection is open still
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2349 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-26 12:56:10 +00:00
Warren Dukes
2a165ca826
also, don't need the device open to send the metadata
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2347 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-26 02:33:09 +00:00
Warren Dukes
547448eee9
lets try this soltuion to sending metadata, here we store metadata to send on the next shout_play
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-26 02:32:37 +00:00
Warren Dukes
91c7621376
undo last changes
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2345 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-26 02:13:13 +00:00
Warren Dukes
a494bd73d8
try to fix metadata on initially playing (metadata being sent before device is open)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2344 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-26 02:00:17 +00:00
Warren Dukes
a2dbae4884
some shout cleanups
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2343 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-25 22:41:46 +00:00
Warren Dukes
0da404ebb2
little more robust error handling
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2341 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-25 21:36:08 +00:00
Warren Dukes
61a88f1692
stream name maybe icy-name or ice-name in the http headers
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2339 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-25 20:52:28 +00:00
Warren Dukes
fececcea3c
parse metadata and send to output when playing another stream
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2338 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-25 20:11:35 +00:00
Warren Dukes
ce10ba4b11
fix a big time bug in metadataChunk (off by one in an array assignment)
...
also, now we have metadata in our streams
git-svn-id: https://svn.musicpd.org/mpd/trunk@2337 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-25 20:09:03 +00:00
Warren Dukes
b6bcc65a45
shout_sync before shout_send, not after
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2318 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-23 16:20:38 +00:00
Warren Dukes
8dbbea8598
slightly better error handling/broken connection detection for shout output
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2316 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-23 15:25:42 +00:00
Warren Dukes
23c59e8cda
wee found the audioFormatConversion bug, was actually a bug in shout plugin
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2311 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-23 12:58:59 +00:00
Warren Dukes
480023201a
ok, resampling and converting to mono no works
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2309 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-23 02:40:03 +00:00
Warren Dukes
12597322a2
configure shout encoding quality and audio format
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2307 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-23 01:04:58 +00:00
Warren Dukes
36a2d853bd
use vbr for now, less cpu usage for some reason
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2304 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-22 20:43:20 +00:00
Warren Dukes
7b57a99583
initial working shout output
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2300 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-22 19:40:09 +00:00
Warren Dukes
5b7a1419b9
on finishAudioDriver, be sure to set shoutOutput = NULL
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2296 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-22 17:58:12 +00:00
Warren Dukes
d021f6b042
this really fixes pause
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2294 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-22 16:16:39 +00:00
Warren Dukes
d171fe9a2f
fix segfault when resuming from pause
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2293 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-22 15:19:35 +00:00
Warren Dukes
8502eeee6e
check HAVE_SHOUT
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2287 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-20 23:08:40 +00:00
Warren Dukes
41e81dbca0
i changed somethin *shrug*
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2286 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-20 21:09:04 +00:00
Warren Dukes
72a7740fd5
shout audioOutput will now connect and disconnect from icecast server
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2285 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-20 20:41:21 +00:00
Warren Dukes
eefcf79436
oops, forgot to add the shout stub
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2284 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-20 17:49:21 +00:00
Warren Dukes
e1701d2991
stub audioOutput plugin for shout
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2283 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-20 17:49:04 +00:00
Warren Dukes
2525cf1230
be sure to free "data" when finishing the output driver
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2282 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-20 17:43:16 +00:00
Warren Dukes
c2455ec0ca
oops, accidently broke crossfading, fixed now
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2281 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-20 17:25:36 +00:00
Warren Dukes
fd2ae556a2
some small cleanups
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2280 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-20 17:11:04 +00:00
Warren Dukes
f4d75d7596
ok, now we're using some of the new audioOutput layer stuff, needs some serious testing, and there maybe some serios BREAKAGE
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2279 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-20 16:48:22 +00:00
Warren Dukes
ce5773848c
minor little changes to audio junk
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2278 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-20 16:16:50 +00:00
Warren Dukes
608ac668db
some work on the new audioOutput layer
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2277 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-20 16:05:13 +00:00
Warren Dukes
4951f9f809
fix bug #325
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2270 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-18 14:47:29 +00:00
Warren Dukes
481a96ec40
#1 ) Fix a potential security hole, where mpd sends a line from a playlist to a client if the line is too long. But this is a rare circumstance, since the file would need to have a .m3u suffix and the line would need to be very long.
...
#2 ) Fix qball's bug, basically when we try todo initial buffering in decodeStart(), sleep for a few seconds after each attempt to finish init'ing the connection and begin buffering.
git-svn-id: https://svn.musicpd.org/mpd/trunk@2236 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-16 12:22:19 +00:00
Warren Dukes
c0e0c2460f
fix bug #307
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2230 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-15 18:27:29 +00:00
Warren Dukes
d05c3b510e
add audioOutput.c
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2205 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-10 13:51:33 +00:00
Warren Dukes
cc66392570
apply dottemag's id3v1 encodings patch
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2163 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-05 17:16:26 +00:00
Warren Dukes
2d9c057283
flac spelling fixes from np
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2116 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-09-08 18:24:18 +00:00
Warren Dukes
5b2748297d
beginnings of ao audioOutput plugin
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2115 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-09-08 02:16:08 +00:00
Warren Dukes
e846891693
definition for audioOutput plugin interface
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2111 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-09-06 19:15:12 +00:00
Warren Dukes
8810eafb82
add configuration variables for shout stuff
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2099 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-09-02 18:16:00 +00:00
Warren Dukes
df50ddf545
some slight cleanup in setuid code
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2078 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-08-29 13:37:09 +00:00
Warren Dukes
2afc2f8c0d
fix typo in todo, thanx gnarf!
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2038 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-08-17 19:53:35 +00:00
Warren Dukes
d344e8b4ed
patch from Benoit.Boissinot@ens-lyon.fr to remove getgroups and setgroups
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2028 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-08-13 16:18:05 +00:00
Warren Dukes
63efaae0ee
don't call replaygain and cause preamp to beused if no replaygain tag exists
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2026 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-08-13 03:54:31 +00:00
Warren Dukes
ce2fe32c54
fix booboo in validateUtf8
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2011 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-08-12 12:17:54 +00:00
Warren Dukes
26d4e89d15
stripReturnChar() in validateUtf8tag()
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@2001 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-08-11 12:06:55 +00:00
Warren Dukes
ab0b6ce56f
for improperly config file lines, print the line number
...
also, in myFgets, chop off '\r' at the end of the line (thanx mr gates)
git-svn-id: https://svn.musicpd.org/mpd/trunk@2000 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-08-10 16:03:03 +00:00
Warren Dukes
ef81001138
fix a spelling error in message
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1993 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-08-09 14:37:12 +00:00
Warren Dukes
cdb6372049
1) fix bug, id3_tag_parse does may return NULL if there's an error in decoding the id3v2 tag
...
2) in the same place, delete the id3Tag (fixes a memory leak)
3) version: 0.12.0 -> 0.11.4
git-svn-id: https://svn.musicpd.org/mpd/trunk@1903 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-24 02:54:19 +00:00
Warren Dukes
8347e80838
print strerror() when having problems stat'ing
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1887 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-20 17:43:01 +00:00
Warren Dukes
8205e1bbc7
fix a bug in username and password parsing in http url's
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1877 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-18 17:58:42 +00:00
Warren Dukes
efda73c74d
add replaygain preamp
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1873 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-17 14:54:22 +00:00
Warren Dukes
3edf331543
added http authentication: http://user:passwd@host/music
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1872 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-17 13:41:31 +00:00
Warren Dukes
a0227e8062
deal with user and ~ in config file more nicely
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1871 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-15 20:15:26 +00:00
Warren Dukes
e33dcb9bd4
add gperf'd source files
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1870 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-15 17:07:51 +00:00
Warren Dukes
989e2edab1
oops forgot a \n in a debu statement
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1869 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-14 10:52:39 +00:00
Warren Dukes
fdd4038fcb
debug message for errors in reading the file
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1862 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-13 12:03:21 +00:00
Warren Dukes
cc38f07983
report error to error log when unable to open audio device
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1852 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-12 17:00:49 +00:00
Warren Dukes
a03466016a
potential fix for avuton's bug
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1850 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-12 15:23:07 +00:00
Warren Dukes
227490e2be
icky, s/printf/DEBUG/
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1849 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-12 15:19:26 +00:00
Warren Dukes
1af2272920
potential fixes for NHI\'s bugs
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1848 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-12 14:58:26 +00:00
Warren Dukes
25c923809a
attempt to work around for bug #274
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1847 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-12 13:10:20 +00:00
Warren Dukes
0d45fa2001
tidy up Makefile a bit
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1791 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-04 13:57:26 +00:00
Warren Dukes
c173c74660
fix same seeking past end of file issue for mp4, please test DJMario
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1784 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-03 14:49:10 +00:00
Warren Dukes
643d7e77b1
for mp3's, skip all initial frames that aren't layer 3 so we can be sure to
...
get the correct bitrate for computing the song length
git-svn-id: https://svn.musicpd.org/mpd/trunk@1783 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-03 14:33:21 +00:00
Warren Dukes
26741dcdeb
fix for when trying to seek past the end of an mp3
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1782 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-03 14:13:43 +00:00
Warren Dukes
9e246a6ab2
rename idToNum and numToId to idToPostion and positionToId - from tw-nym
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1734 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-30 02:12:49 +00:00
Warren Dukes
76a1975b8e
spelling fixes from normalperson
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1710 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-29 01:24:49 +00:00
Warren Dukes
51dd5c2342
remove an extra line of code
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1709 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-29 01:12:47 +00:00
Warren Dukes
0e419d38c2
set flac_metadata_respond(VORBIS_COMMENT) so that flac responds to vorbis comments and returns these to the metadata callback (so we can properly set the replaygain state)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1707 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-28 23:40:08 +00:00
Warren Dukes
178e6c5263
fix some memory leaks in flac_plugin - from normalperson
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1699 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-28 12:51:26 +00:00
Warren Dukes
366e370cb0
patch from normalperson
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1679 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-26 17:33:42 +00:00
Warren Dukes
188011ac52
patch from np for orderPlaylist()
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1673 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-26 04:34:28 +00:00
Warren Dukes
47873cd858
fix bug in ogg replaygain
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1662 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-25 21:10:14 +00:00
Warren Dukes
77bd4ec428
slight fix to replay gain tags for oggs
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1661 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-25 18:11:31 +00:00
Warren Dukes
dc4aeafee0
very minor tweak to clearMetabufferChunks
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1650 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-24 16:25:06 +00:00
Warren Dukes
d8eed0241b
ok, addParentPathToDB now works!
...
also, recursive directory checking for updating on a particular song path now work
git-svn-id: https://svn.musicpd.org/mpd/trunk@1624 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-23 05:08:01 +00:00
Warren Dukes
b8d2ef8768
update now ignores/recognizes recursive directories
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1623 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-23 04:20:35 +00:00
Warren Dukes
0083b07395
now we avoid recursive symlinks on creating the db
...
still needs to be implemented for updating
git-svn-id: https://svn.musicpd.org/mpd/trunk@1622 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-23 03:33:35 +00:00
Warren Dukes
8933f5d416
only call opendir() once when updating
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1608 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-22 01:04:13 +00:00
Warren Dukes
b019545756
call stat() a few less times on update
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1607 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-22 00:55:23 +00:00
Warren Dukes
43afc87cc5
fix big boo boo in last commit: isFile() { myStat==0 }
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1599 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-21 14:32:13 +00:00
Warren Dukes
598162e395
todo update
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1597 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-21 04:11:23 +00:00
Warren Dukes
49455434f4
don't use fucking sprintf
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1596 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-21 00:48:34 +00:00
Warren Dukes
e0cbce6d38
maybe this matters ?
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1595 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-21 00:47:18 +00:00
Warren Dukes
fd229dae57
maybe this fixes something ?
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1594 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-21 00:39:08 +00:00
Warren Dukes
cdb67649a6
todo update
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1593 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-21 00:22:02 +00:00
Warren Dukes
b7dcbb1bb3
http proxy authentication, can someone test?
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1590 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-20 21:16:02 +00:00
Warren Dukes
ba798c5e65
http proxy mostly working, need to implement http authentication
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1588 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-20 20:15:05 +00:00
Warren Dukes
6eb6c454be
fix qball's bug, crossfading playing with funny samplerate
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1585 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-20 17:07:13 +00:00
Warren Dukes
d8dbd29c2d
add http proxy config options (no http proxy code yet)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1584 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-20 14:00:34 +00:00
Warren Dukes
5c6765ea52
use getdtablesize() to get the max number of fd's
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1579 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-20 04:37:17 +00:00
Warren Dukes
9db4044fbd
fix poping at the beginng of mp3's
...
Theory: in previous versions, dither struct was static, which by definetion means its initiallized as all O's. However, i removed static from the dither structbut then its not initialized. Thus dithering started with some random stuff in the bit buckets. Should be fixed now.
git-svn-id: https://svn.musicpd.org/mpd/trunk@1578 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-20 01:37:18 +00:00
Warren Dukes
486d4acfb2
put CHUNK_SIZE back
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1577 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-20 00:50:21 +00:00
Warren Dukes
3af870a14c
fix playlistid command so it can take an argument
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1575 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-19 23:59:26 +00:00
Warren Dukes
a5bdf6aaeb
fix move command
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1574 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-19 23:43:46 +00:00
Warren Dukes
dbd79a6b47
fix a few bugs in mp3_decode and minimize alsa underruns by playing silence when switch songs
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1572 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-19 22:27:29 +00:00
Warren Dukes
7f15536683
DEBUG message
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1571 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-19 21:31:53 +00:00
Warren Dukes
0228a4a5ca
uber minor tweaks
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1563 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-19 16:27:48 +00:00
Warren Dukes
e1a94f917d
actually, scratch the last change
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1524 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-17 15:36:37 +00:00
Warren Dukes
4ab66ad1b7
check in configure script if iconv() needs CONST
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1523 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-17 15:32:34 +00:00
Warren Dukes
cbc2825a33
include sys/time.h
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1522 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-17 15:05:15 +00:00
Warren Dukes
2c90e55695
add copyright notices
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1512 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-16 21:52:59 +00:00
Warren Dukes
80dd76db7f
fix C99 stuff for commandError
...
also some slight optimizations to interfacePrintWithFD() and myfprintf()
git-svn-id: https://svn.musicpd.org/mpd/trunk@1503 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-15 18:06:21 +00:00
Warren Dukes
de314b61b5
change ACK error codes
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1484 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-14 21:27:39 +00:00
Warren Dukes
5bd18af775
forget to set playlist.current = 0 when toggling random
...
and doing swapOrder(playlist.current, 0)
git-svn-id: https://svn.musicpd.org/mpd/trunk@1480 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-14 17:01:40 +00:00
Warren Dukes
17c13ea0e8
bug fix for deleting a song when the last song or next to last song is playing and causing playlist.current to be set to -1
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1479 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-14 15:29:55 +00:00
Warren Dukes
600091c3e0
slight bug fix for making sure url's obey the RFC's
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1470 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-13 20:58:22 +00:00
Warren Dukes
c024bca2d6
make swapid and deleteid actually work
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1461 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-13 13:05:19 +00:00
Warren Dukes
593cf2ac86
make seekid actually work
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1460 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-13 13:03:37 +00:00
Warren Dukes
edbe24e2f7
make playid actually work
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1459 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-13 13:02:00 +00:00
Warren Dukes
c637238aba
change 'Num' => 'Pos" for position
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1455 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-13 12:04:07 +00:00
Warren Dukes
b7e0d34b9e
update mpd manpage and sample config file with replaygain and
...
audio_output_format options
git-svn-id: https://svn.musicpd.org/mpd/trunk@1453 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-12 21:27:15 +00:00
Warren Dukes
21703b5edc
change 'current' command to 'currentsong'
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1447 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-12 13:30:16 +00:00