J. Alexander Treuman
2fa7125cce
Change shank's email address
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4333 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-14 19:37:45 +00:00
Avuton Olrich
2a65e8667d
[CLEANUP] Remove function from header, static
...
it in the source
git-svn-id: https://svn.musicpd.org/mpd/trunk@4332 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-14 19:33:52 +00:00
Avuton Olrich
89464628c2
[CLEANUP] remove unused function
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4331 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-14 19:30:47 +00:00
Avuton Olrich
18f59c9c16
[CLEANUP] Remove closeCharSetConversion from the
...
header, there's no need to export it.
Static it.
git-svn-id: https://svn.musicpd.org/mpd/trunk@4330 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-14 19:27:32 +00:00
Avuton Olrich
7154c510e5
[CLEANUP] Remove unused code
...
Static what makes sense
git-svn-id: https://svn.musicpd.org/mpd/trunk@4329 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-14 19:13:51 +00:00
Avuton Olrich
75789d1490
[CLEANUP] Remove unused functions from the header
...
Convert some spaces to tabs
Static what makes sense
Remove unused includes
git-svn-id: https://svn.musicpd.org/mpd/trunk@4328 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-14 19:11:11 +00:00
Avuton Olrich
21d8065b20
[CLEANUP] Remove unused code
...
Static what makes sense
git-svn-id: https://svn.musicpd.org/mpd/trunk@4327 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-14 19:06:25 +00:00
Avuton Olrich
d9f31b1c47
[CLEANUP] Remove 'extern int errno;'
...
Remove unexported functions from the header
Static what makes sense
git-svn-id: https://svn.musicpd.org/mpd/trunk@4326 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-14 19:02:48 +00:00
Avuton Olrich
e39289a987
[CLEANUP] Remove unnecessary includes, static
...
functions that don't need to be exported, rename
misspelled function
git-svn-id: https://svn.musicpd.org/mpd/trunk@4325 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-14 18:47:55 +00:00
J. Alexander Treuman
f965b403ea
Remove test on a local variable that won't have been modified yet
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4324 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-14 18:03:26 +00:00
J. Alexander Treuman
5d551d9e4d
Remove unused playSilenceOrSleep macro
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4323 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-14 18:02:23 +00:00
J. Alexander Treuman
b4b1879cc0
Remove some misleading comments, fix shanks terrible spelling
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4322 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-14 18:01:32 +00:00
J. Alexander Treuman
ba9a2c349f
Use a macro to declare disabled audio output plugins
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4321 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-14 17:39:14 +00:00
Avuton Olrich
26447de0ce
whoops, I don't know how that snuck into the last
...
diff
git-svn-id: https://svn.musicpd.org/mpd/trunk@4319 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-13 19:40:14 +00:00
Avuton Olrich
a37348a74f
Huge header update, update the copyright and add
...
the GPL header where necessary
git-svn-id: https://svn.musicpd.org/mpd/trunk@4317 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-13 19:20:34 +00:00
J. Alexander Treuman
09698f917c
Add PulseAudio support
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4316 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-13 19:03:49 +00:00
Avuton Olrich
93681d914e
Remove a couple more unused functions
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4315 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-13 19:01:42 +00:00
Avuton Olrich
8f37161c34
Declare functions not used outside dbUtils.c static.
...
Remove a disabled function from dbUtils.c out of main.c
git-svn-id: https://svn.musicpd.org/mpd/trunk@4314 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-13 18:46:58 +00:00
Avuton Olrich
82d0d4f51f
Remove forceGetConfigParamValue, it's unused and even
...
if it wasn't it'd probably be better to add a argument to
getConfigParamValue()
git-svn-id: https://svn.musicpd.org/mpd/trunk@4313 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-13 18:27:02 +00:00
Avuton Olrich
b0fb096311
Remove (now) unused code. Hasn't been used since revision 3026.
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4312 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-13 18:13:42 +00:00
Avuton Olrich
fca9a92ba6
path.*: cleanups
...
utf8.c: add some static's
git-svn-id: https://svn.musicpd.org/mpd/trunk@4311 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-13 18:09:25 +00:00
Eric Wong
db2f843995
OSS: correctly check for the device in oss_testDefault()
...
open(2) returns -1 on error (if the device does not exist),
and -1 is true.
Also, put shank's name in the copyright header since half
the code is his (including this bug :P).
git-svn-id: https://svn.musicpd.org/mpd/trunk@4310 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-12 02:34:23 +00:00
Avuton Olrich
d8d6b949c6
Remove unnecessary include, has always been pulled
...
in by vorbisenc.h
git-svn-id: https://svn.musicpd.org/mpd/trunk@4298 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-05 20:07:35 +00:00
J. Alexander Treuman
18306dfbd3
Add back the id3v1_encoding option. Now it really will convert id3v1 only.
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4282 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-06-21 20:52:51 +00:00
J. Alexander Treuman
9e393393e0
Cleanup getId3Info.
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4281 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-06-21 20:24:43 +00:00
J. Alexander Treuman
e2a14f5b9e
Cleanup id3 ReplayGain parsing code.
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4280 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-06-21 16:38:18 +00:00
J. Alexander Treuman
fd6696e46a
Silly jat, don't use newMpdTag as a variable name!
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4279 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-06-21 16:22:46 +00:00
J. Alexander Treuman
c6dbba6c5d
Cleanup mp3_parseId3Tag to only modify the MpdTag if we have something new to replace it with.
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4278 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-06-21 16:11:07 +00:00
J. Alexander Treuman
bdf4107117
Rewrote id3Dup to search for tags manually. Now libid3tag will actually tell us the version of the tag we got. As an added benefit we also do fewer reads/mallocs when scanning mp3s during database update/creation.
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4277 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-06-21 15:12:41 +00:00
J. Alexander Treuman
30df7d49c5
Reverting patch to "fix" the alsa plugin when used with dmix. It ended up breaking the alsa rate plugin, and dmix seems to work fine without it. Thanks to Skee from #mpd for testing.
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4269 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-06-11 23:59:18 +00:00
J. Alexander Treuman
7716a6c234
Check that db_file exists before checking if we can write to it. Committed on behalf of qball.
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4255 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-06-07 21:00:36 +00:00
Eric Wong
10cf5add40
main.c: fix gcc-2.95 compilation problem
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4251 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-06-05 22:26:04 +00:00
J. Alexander Treuman
9b06d2cd4a
Made pid_file an optional config parameter.
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4250 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-06-05 20:05:24 +00:00
J. Alexander Treuman
2eb5ebc4ed
Return -1 on error, not on success.
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4247 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-06-04 17:27:12 +00:00
Eric Wong
5cbfdf3517
correctly check for setenv() function
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4245 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-06-04 11:36:06 +00:00
Eric Wong
ab069b7e59
gcc 2.95 compatibility fixes
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4244 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-06-04 11:36:02 +00:00
Eric Wong
d11e19548c
inputStream_http: avoid printf, use our handy macros in log.h
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4210 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-05-21 01:36:49 +00:00
J. Alexander Treuman
7b35cfe2ac
Remove superfluous \n from addid's commandError call.
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4208 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-05-20 20:07:15 +00:00
J. Alexander Treuman
acc620bbda
Save audio output state in correct order.
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4207 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-05-20 19:56:29 +00:00
J. Alexander Treuman
cabc91b6c6
Fix log message when removing subdirectories.
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4185 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-05-15 15:10:11 +00:00
J. Alexander Treuman
c9b3498a2d
Work around a stupid bug in libmad so VBR MP3s with CRC protection have the correct length.
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4184 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-05-15 13:48:47 +00:00
Qball Cow
1ca85d5ec7
Applied a modified patch for bug 344, needs testing with ipv6
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4171 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-05-14 11:40:34 +00:00
J. Alexander Treuman
6a2cf38465
My first commit! :D Make sure the same interface isn't closed twice when max_command_list_size is exceeded, and don't abort mpd should the same interface be closed twice somewhere else.
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4151 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-05-10 02:17:47 +00:00
Qball Cow
66e4379d69
Jat/Q patch for checking permission on database before creating it
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4140 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-05-08 21:03:47 +00:00
Qball Cow
1071524ae7
Fix for bug 483
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4138 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-05-08 08:34:14 +00:00
Qball Cow
151d9706e9
Commit Jat's patch for bug 1282
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4137 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-05-08 08:15:24 +00:00
Qball Cow
37c9265357
Commit Jat's patch for bug 1281
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4136 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-05-08 08:14:37 +00:00
Avuton Olrich
9cd0882cd1
Add 'aif' as an extension with libaudiofile.
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4132 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-05-03 18:35:17 +00:00
Qball Cow
4324150b42
Added Disc # metadata item based on bug 571 (added id3v2 support)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4131 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-04-30 19:55:56 +00:00
Qball Cow
8aca530b86
Remove unused config value
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4130 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-04-30 18:29:02 +00:00
Qball Cow
e1a15f74fd
update help text
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4128 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-04-30 14:52:58 +00:00
Qball Cow
751368f257
outputs now only needs read permission
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4127 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-04-27 22:28:26 +00:00
Qball Cow
5416d00bcd
Adding of plchangesposid command, this is a stripped down version of the plchanges command, it only sends the pos and id of the changed command. Libmpd allready has support for it, and libmpdclient in libmpd too
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4101 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-04-23 11:10:41 +00:00
Avuton Olrich
8220d3deac
Fix for the macro, use gitsetenv, thanks to normalperson, eleusis, jat
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4098 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-04-22 22:18:15 +00:00
Avuton Olrich
3accf44add
Solaris is reported to not have a setenv() thus
...
breaking compilation. This fixes that problem with
a macro that emulates setenv() with putenv().
git-svn-id: https://svn.musicpd.org/mpd/trunk@4097 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-04-22 21:30:48 +00:00
Avuton Olrich
d6d2ca7be8
Fix typo, fixes bug in mantis, will sign off later
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4096 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-04-22 01:36:52 +00:00
Eric Wong
327d4861cf
oggvorbis_plugin.c: eek, I'm a moron..
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4081 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-04-18 06:28:12 +00:00
Eric Wong
e31558206a
oggvorbis_plugin.c: oops, fix an off-by-one
...
Huge thanks to lorijho for finding the bug.
git-svn-id: https://svn.musicpd.org/mpd/trunk@4080 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-04-18 06:17:48 +00:00
Eric Wong
c208b05a0e
Don't rely on memcmp() for structs, padding bits are random
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@4016 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-04-05 09:54:43 +00:00
Eric Wong
e2e7d113ad
myfprintf: we should be near -ke speeds on most desktops
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3970 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-03-29 07:38:58 +00:00
Eric Wong
171e1e9d72
src/playlist.c: remove unnecessary strdup()
...
Yes, I know about what I said on IRC earlier, but this
is an allocation + free inside a loop.
git-svn-id: https://svn.musicpd.org/mpd/trunk@3953 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-03-26 19:31:22 +00:00
Eric Wong
10afe91c64
src/command.c: protocol commands are all lowercase, _always_
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3950 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-03-26 17:43:52 +00:00
Qball Cow
a2a2364b45
Small fix, it's file: test not file:test
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3948 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-03-26 14:06:48 +00:00
Qball Cow
09929b6f82
Support for fetching the content of a stored playlist (patch by qball), this adds listPlaylist and listPlaylistInfo
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3947 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-03-26 13:46:05 +00:00
Eric Wong
19021e9cc6
src/audioOutputs/audioOutput_oss.c: fix for big-endian machines
...
Patch by Qball.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn-id: https://svn.musicpd.org/mpd/trunk@3935 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-03-25 05:33:14 +00:00
Eric Wong
db34f66d1a
src/outputBuffer.c: bugfix: freeMpdTag(), not just free()
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3930 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-03-19 00:06:47 +00:00
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
Eric Wong
6dadabea21
ls.c: remove unnecessary strdup
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3927 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-03-18 03:55:41 +00:00
Eric Wong
6963502213
merge with mpd/trunk up to r3925
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3926 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-03-16 06:52:46 +00:00
Eric Wong
d7e846bdc2
fix some uninitialized variables (found by valgrind)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3925 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-03-16 06:41:48 +00:00
Eric Wong
97e355e362
command.c: remove unnecessary strdup()
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3924 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-03-16 06:41:45 +00:00
Eric Wong
867ca276ad
Hopefully the last of the spelling fixes :>
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3923 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-03-16 06:41:41 +00:00
Eric Wong
e0439446b7
conf.c: correctly parse "~username/file" in config files
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3922 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-03-16 05:51:46 +00:00
Eric Wong
89fc5da5d9
inputStream_http.c: speling fikcses
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3921 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-03-15 08:13:35 +00:00
Eric Wong
7e1bb85c1a
conf.c: speling fickses
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3920 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-03-15 07:12:57 +00:00
Warren Dukes
bd561dec27
fix bug 544
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3859 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-01-25 01:35:28 +00:00
Qball Cow
03c60a28e2
fix for mp3 replaygaine
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3852 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-01-21 17:52:14 +00:00
Qball Cow
971bf39784
Replay gain for mp3. (Patch cleaned up and provided by Jat)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3826 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-01-14 22:47:16 +00:00
Warren Dukes
536c97f0bc
fix addid crash ( found by qball )
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3805 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-01-07 03:26:12 +00:00
Eric Wong
0153a78906
flac_plugin: revert the performance optimization we did a while ago
...
the performance optimization was broken for big-endian architectures.
mpd-uclinux is doing using a slightly different optimization to flacWrite()
that we may end up using here in the future.
git-svn-id: https://svn.musicpd.org/mpd/trunk@3753 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-12-31 03:40:03 +00:00
Eric Wong
63475b5a68
r1067@BL4ST: normalperson | 2005-12-30 19:21:28 -0800
...
Fix a couple of warnings (sbh, from oggflac branch)
git-svn-id: https://svn.musicpd.org/mpd/trunk@3752 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-12-31 03:23:46 +00:00
Warren Dukes
deac206b1e
call dropBufferedAudio() when pausing
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3732 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-12-17 00:56:48 +00:00
Qball Cow
a34c4af172
Configure fix, so when no glib found it gives a error, and another race condition fix in the master proces patch.
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3730 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-12-14 10:32:48 +00:00
Warren Dukes
1dc252c920
potential fix for bug #466
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3726 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-12-12 03:22:27 +00:00
Eric Wong
f628fa1c38
optimize away a boatload of strdups during update
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3718 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-12-05 01:21:03 +00:00
Eric Wong
f8597ccf25
remove C++ style comments
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3689 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-11-19 10:52:47 +00:00
Eric Wong
e8a54efe41
gcc 2.95 fixes
...
audioOutput_osx.c, aac_decode.c, mp4_decode.c have NOT been thoroughly
checked, but I nevertheless managed to eyeball and fix one
incompatibility in audioOutput_osx.c
All other files have been build successfully with gcc 2.95
git-svn-id: https://svn.musicpd.org/mpd/trunk@3688 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-11-19 10:29:20 +00:00
Qball Cow
4b00c62587
DJWLindenaar's fix race condition and some memory leaks patch
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3681 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-11-18 12:09:05 +00:00
Qball Cow
32e5f4ca2b
DJWLindenaar balanced tree and master process patch
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3669 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-11-16 14:43:04 +00:00
Eric Wong
402c8cd707
debug messages no longer cause segfaults :P
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3553 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-10-25 20:35:16 +00:00
Qball Cow
20731cc7e6
Fixed (tested in Fink and DarwinPorts) osX output plugin
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3500 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-10-02 14:52:13 +00:00
Qball Cow
edcfbef90d
Patch to make the configure flag for mpd-mad and mpd-libid3tag more logic (from ticho)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3477 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-09-08 21:08:02 +00:00
Warren Dukes
bc666a9fc6
forgot to print a strerror
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3466 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-09-03 22:48:37 +00:00
Eric Wong
1a3254f73c
patch for using Tremor to decode Ogg-Vorbis
...
* autotools support is included, the floating point Vorbis decoder
remains the default.
* close bug #353
* Thanks to Hannes Reich for the patch
git-svn-id: https://svn.musicpd.org/mpd/trunk@3453 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-08-25 08:07:28 +00:00
Qball Cow
2aba0437a6
Saving state of output-device in state-file. (This is a temporary solution, rewrite of state-file is planned for 0.13)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3449 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-08-23 12:01:37 +00:00
Eric Wong
1b65ae02d4
"&", not "&&" (the bug itself was harmless, but a bug nevertheless)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3445 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-08-20 22:16:40 +00:00
Warren Dukes
c7cd49d123
change a break; to a return statement
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3444 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-08-18 16:50:29 +00:00
Warren Dukes
a78c6002ad
restore compat.c
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3443 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-08-18 16:48:53 +00:00
Warren Dukes
fd38efdf86
attempt to fix an issue discoverred by jat with sending two close commands back to back will cause an assert to fail
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3442 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-08-18 16:46:41 +00:00
Warren Dukes
dee9ab5ecd
patch from Oliver Logghe for Hauppage Media MVP support
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3432 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-08-11 12:34:38 +00:00
Qball Cow
6723e65cdf
Fix AddId handler, It tried to add the first argument instead of the 2nd. Resulting it tries to add "addid"
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3427 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-08-07 18:47:49 +00:00
Eric Wong
bde7029409
fix warning reported gcc 4.0: x == y == z does not work as intended
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3422 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-08-07 10:17:28 +00:00
Eric Wong
05036ef618
Fix musepack bitrate display
...
Thanks to Paul Seropian (paranoos)
git-svn-id: https://svn.musicpd.org/mpd/trunk@3421 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-08-07 10:05:57 +00:00
Eric Wong
a196714eaa
update musepack decoding code to use the newer mpcdec library
...
libmusepack is deprecated
git-svn-id: https://svn.musicpd.org/mpd/trunk@3408 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-07-30 10:28:43 +00:00
Eric Wong
fb175591c3
don't check errno unless we have an error (ret<0) from write()
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3382 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-07-03 12:15:45 +00:00
Warren Dukes
32ea85c09c
don't require format parameter for audio_output options
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3318 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-05 20:09:35 +00:00
Warren Dukes
2219e6917e
forgot to parse the format string of audio_output's
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3296 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-05-29 19:19:20 +00:00
Warren Dukes
986a0ffc24
fix spelling error
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3245 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-05-07 00:46:44 +00:00
Warren Dukes
6db819cefe
'add' command now requires one argument
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3236 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-05-03 02:35:19 +00:00
Warren Dukes
a97110661c
fix bug 421: database read failed with newline in ID3-tag
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3231 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-04-30 01:50:29 +00:00
Warren Dukes
ead82e4d5a
change the default max_output_buffer_size from 2048 to 8192
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3226 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-04-27 15:54:26 +00:00
Warren Dukes
b1122062de
fix some parsing of http_prebuffer_size
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3216 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-04-17 18:51:03 +00:00
Warren Dukes
db20894b90
fix OSS audioOutput plugin, so that when dropAudioBuffer is called and the oss device is closed, a subsequent call to playAudio will reopen the device
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3198 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-04-06 22:52:42 +00:00
Warren Dukes
9968e9f80c
syntax error cleanup
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3192 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-04-03 13:52:00 +00:00
Warren Dukes
ba5f60e02d
fix syntax error
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3191 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-04-03 13:51:18 +00:00
Avuton Olrich
f962c1034e
- Fix incompatible type warnings
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3169 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-29 00:41:59 +00:00
Eric Wong
f814dd22ab
simpler parentPath() function from the uclinux branch (well-tested)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3163 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-28 12:21:12 +00:00
Warren Dukes
e221502f59
destroy mutex's and condition's
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3132 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-24 11:46:44 +00:00
Warren Dukes
6107b65c23
revert to r3105
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3131 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-24 11:45:39 +00:00
Warren Dukes
754c29471f
fix compilation error in os x plugin
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3115 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-23 00:52:26 +00:00
Warren Dukes
52cdd0baf6
potentially fix OS X woes
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3113 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-22 23:05:29 +00:00
Warren Dukes
2a0fa93b16
drop the current audio buffer when seeking
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3107 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-21 03:54:14 +00:00
Warren Dukes
cd03365fee
some potential optimizations for OS X
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3105 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-20 21:08:24 +00:00
Warren Dukes
9297ae7fce
print out bits in debug message output for OSS and ALSA
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3104 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-19 14:30:07 +00:00
Warren Dukes
7ecd93e73e
fix a spelling error in a debug msg
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@3103 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-19 12:39:50 +00:00
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