acf0e147c2
when doing signal functions (like sigaction) make sure it wasn't interrupted by a signal (errno==EINTR)
Warren Dukes
2004-04-13 16:46:11 +00:00
20be66a944
clean up finished stuff from todo
Warren Dukes
2004-04-13 05:05:06 +00:00
1004890e25
lots of fsCharset, utf8/ascii converting clean-up and robustness stuff Also, if fsCharsetToUtf8 can't convert to valid UTF-8, then don't add it to the db, this way clients don't have to worry about weirdness and it will force ppl to convert it.
Warren Dukes
2004-04-13 04:59:57 +00:00
0927c61533
todo idea updates
Warren Dukes
2004-04-13 02:59:18 +00:00
d88501f4bb
todo ideas: utf8 fallback stuff when iconv doesn't work
Warren Dukes
2004-04-13 02:45:13 +00:00
f765c26275
fix a small booboo and add some debugging stuff
Warren Dukes
2004-04-13 02:38:09 +00:00
375e3ffed4
add my own utf8/ascii converters and utf8 validator validate all mpd tags on import, if they are invalid, assume they are ascii and convert to utf8
Warren Dukes
2004-04-13 02:20:46 +00:00
57742785b4
forgetting to increment playlist version after reading the db
Warren Dukes
2004-04-12 14:19:06 +00:00
b68417a643
cleanup interface between interface.[ch] and command.[ch] primarily move all buffer2array stuff from interface.c to command.c and write a new command function explicitly for dealing with commandLists
Warren Dukes
2004-04-12 01:44:52 +00:00
f74991b9fd
minor little tweak on reporting update status
Warren Dukes
2004-04-12 00:41:53 +00:00
bbf84374a5
more volatile stuff
Warren Dukes
2004-04-11 23:44:37 +00:00
26f72edc46
add volatile qualifiers to some shared mem buffer stuff, to enusre compiler doesn't optimize out order sensitive stuff
Warren Dukes
2004-04-11 23:37:18 +00:00
ae33b348af
clean up signal handling using a polling method, from the genius that is mackstann
Warren Dukes
2004-04-11 23:07:43 +00:00
063affb047
we no longer need to block signals in tag.c, since update is now done in a seperate process
Warren Dukes
2004-04-11 21:43:23 +00:00
0a326a4323
mackstann's idea for polling signals
Warren Dukes
2004-04-11 20:14:10 +00:00
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();
Warren Dukes
2004-04-11 18:27:12 +00:00
c1ab52dcb9
update with new update stuff
Warren Dukes
2004-04-11 17:42:47 +00:00
fc7a264e4d
incremental updates and command-list/update kung fu this needs some serious cleaning up and testing
Warren Dukes
2004-04-11 17:37:47 +00:00
87f53c94d7
more software volume tweeks
Warren Dukes
2004-04-11 13:29:55 +00:00
3c24bf92b2
update with new update stuff
Warren Dukes
2004-04-11 11:52:29 +00:00
c77011bf2a
update job id stuff
Warren Dukes
2004-04-11 03:12:00 +00:00
4cfd77be95
updating_db in status and some ideas for the TODO that i've already forgotten
Warren Dukes
2004-04-11 02:34:26 +00:00
5798500b85
some idears
Warren Dukes
2004-04-11 01:59:05 +00:00
12ee016607
make "update" command background/non-blocking
Warren Dukes
2004-04-11 01:53:25 +00:00
171a7752a8
add --only-create-db option from msells have SIGHUP cause rereading db file
Warren Dukes
2004-04-11 00:52:05 +00:00
8c4bc2d2d4
bump version number up to 0.11.0
Warren Dukes
2004-04-10 18:00:59 +00:00
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.
Warren Dukes
2004-04-10 17:56:01 +00:00
c7d9c8b7dd
some more stuff for the TODO
Warren Dukes
2004-04-10 12:54:51 +00:00
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()
Warren Dukes
2004-04-10 02:55:27 +00:00
9b5f32c9e5
more ideas for the TODO
Warren Dukes
2004-04-09 00:46:37 +00:00
7d29f1772a
don't report an error about not able to open device in audioError also, update TODO with ideas about non-blocking update
Warren Dukes
2004-04-07 23:46:33 +00:00
61cffd0e75
a journaled db?
Warren Dukes
2004-04-07 11:54:22 +00:00
4537b1e9ec
updates to non-blocking update plan
Warren Dukes
2004-04-06 13:13:54 +00:00
c5d760e281
plan for non-blocking update
Warren Dukes
2004-04-06 04:38:55 +00:00
b1d12ba0f6
make default max playlist length be 16384. bumped up from 4096
Warren Dukes
2004-04-04 07:08:00 +00:00
73bcce335f
when converting from bps -> kbps, divide by 1000, not 1024
Warren Dukes
2004-04-03 04:01:31 +00:00
785cdb0114
use EXIT_SUCCESS and EXIT_FAILURE
Warren Dukes
2004-04-02 23:34:16 +00:00
a67538178d
fix for loading playlists on platforms where char is unsigned (like PPC)
Warren Dukes
2004-03-31 17:09:16 +00:00
f641d046fa
cleanup reading from interface, when argArrayLength returned by buffer2array is 0, we weren't dealing with this well at all!
Warren Dukes
2004-03-31 16:15:09 +00:00
9e382536dc
allow to disable alsa
Warren Dukes
2004-03-30 21:18:03 +00:00
6266e3dcdf
forgot a ;
Warren Dukes
2004-03-27 04:55:25 +00:00
53f728a0ae
just to be carfile, make sure to null terminate when using strncpy
Warren Dukes
2004-03-27 02:52:59 +00:00
12d19cccd2
close audio device on pause, after we say we have paused, makes pause seem more responsive
Warren Dukes
2004-03-26 22:25:01 +00:00
7c861b334b
don't generate .bz2 for make dist
Warren Dukes
2004-03-26 05:13:21 +00:00
f809e1eccd
put back
Warren Dukes
2004-03-25 20:03:07 +00:00
fc84fa54fc
fix some gcc-2.95 errors
Warren Dukes
2004-03-23 03:02:49 +00:00
7874a003e9
fix bug where accidently setting default mixer to NULL instead of SOFTWARE
Warren Dukes
2004-03-23 02:46:18 +00:00
0783a2bde1
fix a bug, due to not resetting decodeType in playerSeek when the file to seek isn't the same as the current playing file
Warren Dukes
2004-03-23 01:12:30 +00:00