Warren Dukes
f74991b9fd
minor little tweak on reporting update status
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@700 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-12 00:41:53 +00:00
Warren Dukes
bbf84374a5
more volatile stuff
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@699 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 23:44:37 +00:00
Warren Dukes
26f72edc46
add volatile qualifiers to some shared mem buffer stuff, to enusre compiler
...
doesn't optimize out order sensitive stuff
git-svn-id: https://svn.musicpd.org/mpd/trunk@698 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 23:37:18 +00:00
Warren Dukes
ae33b348af
clean up signal handling using a polling method, from the genius that is mackstann
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@697 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 23:07:43 +00:00
Warren Dukes
063affb047
we no longer need to block signals in tag.c, since update is now done
...
in a seperate process
git-svn-id: https://svn.musicpd.org/mpd/trunk@696 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 21:43:23 +00:00
Warren Dukes
0a326a4323
mackstann's idea for polling signals
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@695 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 20:14:10 +00:00
Warren Dukes
abc075c431
ok, fix some bug due to a child process dieing before the parent can
...
even assign pid, thus we need to block CHLD signal around fork();
git-svn-id: https://svn.musicpd.org/mpd/trunk@694 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 18:27:12 +00:00
Warren Dukes
c1ab52dcb9
update with new update stuff
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@693 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 17:42:47 +00:00
Warren Dukes
fc7a264e4d
incremental updates and command-list/update kung fu
...
this needs some serious cleaning up and testing
git-svn-id: https://svn.musicpd.org/mpd/trunk@692 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 17:37:47 +00:00
Warren Dukes
87f53c94d7
more software volume tweeks
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@684 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 13:29:55 +00:00
Warren Dukes
3c24bf92b2
update with new update stuff
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@682 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 11:52:29 +00:00
Warren Dukes
44756f5f10
adjust scaling of software volume
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@681 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 11:48:04 +00:00
Warren Dukes
823a7900bd
do while(wait3) for sighandler
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@680 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 04:51:55 +00:00
Warren Dukes
7091235a68
add --disable-audio configure option
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@679 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 04:49:27 +00:00
Warren Dukes
30d9589cb3
fix some snafoos
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@678 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 04:15:14 +00:00
Warren Dukes
4844e05e65
don't stop playlist on finishPlaylist()[D
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@677 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 04:05:12 +00:00
Warren Dukes
c77011bf2a
update job id stuff
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@673 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 03:12:00 +00:00
Warren Dukes
4cfd77be95
updating_db in status and some ideas for the TODO that i've already forgotten
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@669 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 02:34:26 +00:00
Warren Dukes
5798500b85
some idears
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@666 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 01:59:05 +00:00
Warren Dukes
12ee016607
make "update" command background/non-blocking
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@665 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 01:53:25 +00:00
Warren Dukes
171a7752a8
add --only-create-db option from msells
...
have SIGHUP cause rereading db file
git-svn-id: https://svn.musicpd.org/mpd/trunk@663 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 00:52:05 +00:00
Warren Dukes
8c4bc2d2d4
bump version number up to 0.11.0
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@660 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-10 18:00:59 +00:00
Warren Dukes
996e8ce072
work in prep of using msells/sbh's non-blocking update method
...
Here, i've made readDirectoryDB detect when stuff is deleted, added and updated.
So after a update, and we call redDirectoryDB, we update the db instead of
just adding stuff w/o "updating" and "deleting" stuff as neccessary.
git-svn-id: https://svn.musicpd.org/mpd/trunk@659 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-10 17:56:01 +00:00
Warren Dukes
c7d9c8b7dd
some more stuff for the TODO
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@658 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-10 12:54:51 +00:00
Warren Dukes
918dc2ff22
ideas on how to make readDirectoryInfo and readSongInfo deal with already
...
existing db stuff, and implement a new List function that will be very
useful: insertInListBeforeNode()
git-svn-id: https://svn.musicpd.org/mpd/trunk@657 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-10 02:55:27 +00:00
Warren Dukes
9b5f32c9e5
more ideas for the TODO
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@649 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-09 00:46:37 +00:00
Warren Dukes
7d29f1772a
don't report an error about not able to open device in audioError
...
also, update TODO with ideas about non-blocking update
git-svn-id: https://svn.musicpd.org/mpd/trunk@632 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-07 23:46:33 +00:00
Warren Dukes
61cffd0e75
a journaled db?
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@627 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-07 11:54:22 +00:00
Warren Dukes
4537b1e9ec
updates to non-blocking update plan
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@611 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-06 13:13:54 +00:00
Warren Dukes
c5d760e281
plan for non-blocking update
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@608 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-06 04:38:55 +00:00
Warren Dukes
b1d12ba0f6
make default max playlist length be 16384. bumped up from 4096
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@602 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-04 07:08:00 +00:00
Warren Dukes
73bcce335f
when converting from bps -> kbps, divide by 1000, not 1024
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@592 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-03 04:01:31 +00:00
Warren Dukes
785cdb0114
use EXIT_SUCCESS and EXIT_FAILURE
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@591 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-02 23:34:16 +00:00
Warren Dukes
4f912f1b90
oops, forgot to update Changelog
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@584 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-01 22:12:44 +00:00
Warren Dukes
b41f540579
for alsa mixer default to Master element, not the first element
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@583 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-01 22:11:29 +00:00
Warren Dukes
8216f304c4
move sys/types.h include in utils.c, so it works for FreeBSD, from MDR
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@581 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-01 13:43:10 +00:00
Warren Dukes
ae229142c6
update changelog
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@580 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-01 04:18:58 +00:00
Warren Dukes
5dfc61d0bb
need to include utils.h for my_usleep
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@579 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-01 03:55:59 +00:00
Warren Dukes
3ab9841764
use our own portable version of usleep using select()
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@578 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-01 03:48:51 +00:00
Warren Dukes
917af619da
clear TODO
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@577 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-01 00:41:12 +00:00
Warren Dukes
e9efaeaca9
use 16-bit signed ints for storing positions in the ring buffer
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@576 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-01 00:33:35 +00:00
Warren Dukes
795a1e930b
lets cleanup some file type detection and not call stat() so much
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@575 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-31 22:32:44 +00:00
Warren Dukes
995a5deb28
update stuff for 0.10.3 release
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@561 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-31 17:14:26 +00:00
Warren Dukes
a67538178d
fix for loading playlists on platforms where char is unsigned (like PPC)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@560 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-31 17:09:16 +00:00
Warren Dukes
f641d046fa
cleanup reading from interface, when argArrayLength returned by buffer2array
...
is 0, we weren't dealing with this well at all!
git-svn-id: https://svn.musicpd.org/mpd/trunk@559 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-31 16:15:09 +00:00
Warren Dukes
9e382536dc
allow to disable alsa
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@551 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-30 21:18:03 +00:00
Warren Dukes
6266e3dcdf
forgot a ;
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@507 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-27 04:55:25 +00:00
Warren Dukes
53f728a0ae
just to be carfile, make sure to null terminate when using strncpy
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@506 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-27 02:52:59 +00:00
Warren Dukes
12d19cccd2
close audio device on pause, after we say we have paused, makes pause seem
...
more responsive
git-svn-id: https://svn.musicpd.org/mpd/trunk@504 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-26 22:25:01 +00:00
Warren Dukes
7c861b334b
don't generate .bz2 for make dist
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@493 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-26 05:13:21 +00:00