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
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
4c1eb9225d
add aac_decode.[ch] and start working on it
...
also, if locale is C or POSIX, set fs charset to iso-8859-1
git-svn-id: https://svn.musicpd.org/mpd/trunk@347 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-21 21:32:23 +00:00
Warren Dukes
1157b5d332
move time back into MpdTag
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@250 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-11 00:16:49 +00:00
Warren Dukes
68dc3517a6
move adding and removeing from tables from directory.c to song.c
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@239 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-10 09:55:54 +00:00
Warren Dukes
e5e45242e0
update when mtimes are not the same
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@238 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-10 03:14:31 +00:00
Warren Dukes
c69b615f2b
fix it so that mpd will work if mtime is 0 (for those strange folk)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@237 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-10 02:58:27 +00:00
Warren Dukes
ec234e9855
move time from tag info to song info.
...
also, if we can't get the time, then don't add the song to the db!
git-svn-id: https://svn.musicpd.org/mpd/trunk@236 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-10 02:38:31 +00:00
Warren Dukes
1459ee22fe
clean up logging for creating and updating the db
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@235 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-09 23:07:26 +00:00
Warren Dukes
e129640141
remove empty directories
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@233 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-09 22:48:35 +00:00
Warren Dukes
197c046b02
exit on any unknown line in the db
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@231 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-09 20:59:10 +00:00
Warren Dukes
6599e05a25
strip return characters that are in the id3 tags
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@229 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-09 20:55:51 +00:00
Warren Dukes
79effd62e1
display db_playtime in stats
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@98 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-27 15:39:19 +00:00
Warren Dukes
d35747a40c
import from SF CVS
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-23 23:41:20 +00:00