aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* when updating, don't cause db reread on adding and then removing empty ↵Warren Dukes2004-04-162-34/+35
| | | | | directories git-svn-id: https://svn.musicpd.org/mpd/trunk@805 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* todo updateWarren Dukes2004-04-161-3/+5
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@796 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* some cleanups of sprintf's => snprintf'sWarren Dukes2004-04-162-12/+26
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@794 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* todo updateWarren Dukes2004-04-161-3/+14
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@793 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* todo updateWarren Dukes2004-04-161-5/+12
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@792 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* todo updatesWarren Dukes2004-04-161-4/+8
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@791 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* update playlistinfo documenationWarren Dukes2004-04-161-2/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@790 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix bug in prependCwdToPathDup()Warren Dukes2004-04-161-2/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@789 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* todo updateWarren Dukes2004-04-161-6/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@784 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* msells versions patch to list supported formatsWarren Dukes2004-04-161-0/+20
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@783 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* *gasp* added a commentWarren Dukes2004-04-161-0/+5
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@782 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* only write db in initMp3Directory() when stuff is updatedWarren Dukes2004-04-161-7/+13
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@781 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* remove directory mtime from db!Warren Dukes2004-04-164-63/+125
| | | | | also, only reReadDB and write DB on update if something was actually updated git-svn-id: https://svn.musicpd.org/mpd/trunk@780 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* don't stat() the db to get the modtime everytime, instead store it when we ↵Warren Dukes2004-04-154-14/+23
| | | | | read the db git-svn-id: https://svn.musicpd.org/mpd/trunk@779 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* todo udpatesWarren Dukes2004-04-151-1/+8
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@778 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* round crossfade for statusWarren Dukes2004-04-151-1/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@775 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* no point in tallying stats on writeDirectoryDB anymoreWarren Dukes2004-04-151-2/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@774 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* todo rearrangingWarren Dukes2004-04-151-16/+15
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@773 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* log cycling and a few cleanupsWarren Dukes2004-04-1510-34/+80
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@772 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* clean up a little bit main() codeWarren Dukes2004-04-156-61/+70
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@771 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* don't updatedb on sighup if db is being updatedWarren Dukes2004-04-141-2/+4
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@768 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* git-svn-id: https://svn.musicpd.org/mpd/trunk@767 ↵Warren Dukes2004-04-141-2/+1
| | | | 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* update todoWarren Dukes2004-04-141-1/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@766 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* add vim shiznit to end of all source filesWarren Dukes2004-04-1470-0/+70
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@750 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* todo updatesWarren Dukes2004-04-141-5/+12
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@749 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* one more thing for todoWarren Dukes2004-04-141-0/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@746 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* ok, finished incremental update!Warren Dukes2004-04-144-28/+135
| | | | | now just need to polish up a few things with update git-svn-id: https://svn.musicpd.org/mpd/trunk@745 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* silly shank, use functions you already have\!Warren Dukes2004-04-141-3/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@744 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* pseduo-code for creating new entries in db for incremental updateWarren Dukes2004-04-141-8/+20
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@743 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* incremental update can now recognize if you pass it a deleted pathWarren Dukes2004-04-141-33/+61
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@742 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* add copyright notices to new filesWarren Dukes2004-04-134-0/+74
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@739 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* make some code look neaterWarren Dukes2004-04-131-3/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@738 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix some misc chld signal handling for update processWarren Dukes2004-04-132-3/+6
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@737 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* add a error msg for playerSeek()Warren Dukes2004-04-131-0/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@736 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* have update process ignore signals when writing dbWarren Dukes2004-04-133-0/+21
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@735 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* ok, rework myfprintf so it uses write() and never use any file streamWarren Dukes2004-04-138-35/+36
| | | | | | | print functions. this way we can always know wtf is going on! also, remove some places where we were using fprintf and printf instead of myfprintf git-svn-id: https://svn.musicpd.org/mpd/trunk@734 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* block signals when writing db to ensure db isn't corruptedWarren Dukes2004-04-134-0/+14
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@730 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* when doing signal functions (like sigaction) make sure it wasn't interrupted ↵Warren Dukes2004-04-136-14/+31
| | | | | by a signal (errno==EINTR) git-svn-id: https://svn.musicpd.org/mpd/trunk@729 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* add --only-update-db command line optionWarren Dukes2004-04-132-6/+17
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@728 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* todo...mhmmmWarren Dukes2004-04-131-1/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@727 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* todo: don't have children write to logs, that's very naughtyWarren Dukes2004-04-131-0/+5
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@726 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* rename all ascii/utf8 stuff to latin1/utf8Warren Dukes2004-04-135-31/+27
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@718 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* plug a potential memory leakWarren Dukes2004-04-131-1/+4
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@713 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* clean up finished stuff from todoWarren Dukes2004-04-131-10/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@712 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* lots of fsCharset, utf8/ascii converting clean-up and robustness stuffWarren Dukes2004-04-137-40/+152
| | | | | | | 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. git-svn-id: https://svn.musicpd.org/mpd/trunk@711 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* todo idea updatesWarren Dukes2004-04-131-3/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@710 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* todo ideas: utf8 fallback stuff when iconv doesn't workWarren Dukes2004-04-131-2/+9
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@709 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix a small booboo and add some debugging stuffWarren Dukes2004-04-132-3/+5
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@708 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* add my own utf8/ascii converters and utf8 validatorWarren Dukes2004-04-134-2/+132
| | | | | | validate all mpd tags on import, if they are invalid, assume they are ascii and convert to utf8 git-svn-id: https://svn.musicpd.org/mpd/trunk@707 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* volatile fun-nessWarren Dukes2004-04-125-33/+33
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@705 09075e82-0dd4-0310-85a5-a0d7c8717e4f