Commit Graph

582 Commits

Author SHA1 Message Date
Ron Pedde a2a5c09c59 First pass at xing header parsing
Try more aggressive header scanning for badly-formed mp3
files.  Some pathalogical mp3 files aren't detected right --
I suspect because they have header signatures in id3v2 tags,
which shouldn't happen per the spec, but obviously does.
2004-11-22 07:16:56 +00:00
Ron Pedde ae0538d347 fix inverted error message 2004-11-22 07:14:37 +00:00
Paul Kim 5d813e8b13 db-gdbm.c:
- Added support for db_timestamp field. Field is the modification time
of the db record and is checked against the file modification time
in file system scans.

mp3-scanner.h:
- Added db_timestamp field. This is now distinct from the file's
modification time which may, in some cases, be embedded in the file.

mp3-scanner.c:
- Added mac_to_unix_time to convert mac timestamps to unix ones.
- Mp3 files get their modification time from the files mod time.
- AAC files get their modification time from the embedded mod time.
- AAC files get their added time from the embedded creation time.
2004-11-20 19:22:40 +00:00
Ron Pedde 7cda300daf Checkin README 2004-11-20 18:11:01 +00:00
Ron Pedde a96f13f978 Tag as a pre2 release 2004-11-20 18:00:36 +00:00
Ron Pedde 70024cb3e1 Minor fix - variable declarations first 2004-11-20 17:58:24 +00:00
Ron Pedde cbbddc5750 protect gdbm_* functions from reentrancy 2004-11-18 17:46:11 +00:00
Ron Pedde 8e09f1f042 more logging, smarter L_FATAL handling, tune error logging level 2004-11-18 06:58:31 +00:00
Ron Pedde 5280856f95 Fix fd leak from bad files in mp3 scan 2004-11-18 06:56:04 +00:00
Ron Pedde 2fa6a01019 Fix race in db_find/db_exists 2004-11-16 05:30:44 +00:00
Ron Pedde b6876538f3 expose always_rescan option 2004-11-16 05:28:48 +00:00
Ron Pedde cbfbd9990f readlock on db_find. a db_find during a background rescan apparently kills the db handle. still a small race there, need to rethink locking altogether. 2004-11-15 05:39:11 +00:00
Ron Pedde 90e50f9818 didn't actually *fix* the leak 2004-11-14 11:46:58 +00:00
Ron Pedde 813df56df0 small leak in daap_response_playlist_items 2004-11-14 11:46:41 +00:00
Ron Pedde c09b93d252 typos -- didn't compile 2004-11-14 07:24:37 +00:00
Ron Pedde 6c1f12ab61 fix gigantic memory leak on db enum 2004-11-14 06:45:13 +00:00
Ron Pedde d87940edad doxygen changes 2004-11-14 06:44:39 +00:00
Ron Pedde 06b5ad046f join signal handler on exit. make sure it exits okay 2004-11-14 06:44:20 +00:00
Ron Pedde 8bdd650ed2 oops 2004-11-13 21:00:30 +00:00
Ron Pedde bb14605b5c bug in setting error mask 2004-11-13 20:59:10 +00:00
Ron Pedde e24b0b7a66 Fix memory leak -- not disposing of mp3 struct returned by db_find in main 2004-11-13 20:58:30 +00:00
Ron Pedde 67c6782b3f doxygen fixes 2004-11-13 08:06:56 +00:00
Ron Pedde 19318d3708 add -D arg and err_setdebugmask 2004-11-13 08:05:27 +00:00
Ron Pedde 31aa0d8575 modularize debugging statements 2004-11-13 07:14:26 +00:00
Ron Pedde 45fe1b5c81 rc script for gentoo from discobob@users.sourceforge.net 2004-11-12 08:00:28 +00:00
Ron Pedde 2801956df0 more doxygen stuff 2004-11-12 07:27:05 +00:00
Ron Pedde 71ec35efd3 Add Doxyfile for doxygen doc generation 2004-11-12 06:38:05 +00:00
Ron Pedde afa041790b handle SIGCLD to catch zombies 2004-11-11 19:27:38 +00:00
Ron Pedde e2bf750033 Fix overrun in query.c -- calloc too small 2004-11-11 19:17:02 +00:00
Ron Pedde 672d262c17 fix typedefs for AMD64 2004-11-11 18:47:25 +00:00
Ron Pedde 7f046ed3b1 Fix URL handling for parameters with either an ampersand (&) or and equal (=). Patches from Stephen Lee fixing a bug reported by Peter Gutbrod. 2004-11-06 04:44:20 +00:00
Ron Pedde 35d5710d65 fix .url support for roku, which must have a asfm of pls. Doh. 2004-11-05 04:49:37 +00:00
Ron Pedde 7aec2d1639 add TYPE keyword to parser 2004-11-04 05:11:41 +00:00
Ron Pedde 493f0bffbf Support for streaming audio via .url files -- particularly for the Roku SoundBridge 2004-11-04 05:04:46 +00:00
Ron Pedde baf7ba8bda add compilation flag for id3v2.2 2004-10-31 00:19:45 +00:00
Ron Pedde 31ff9fc39c add --disable-mdns configure option, in prep for win32 build 2004-10-30 16:42:20 +00:00
Ron Pedde 099bcf911b Updates from Paul Kim 2004-10-27 22:09:16 +00:00
Ron Pedde 516fe79380 update TODO 2004-10-27 04:22:33 +00:00
Ron Pedde 9bae797548 get rid of the ugly query dump 2004-10-27 04:11:32 +00:00
Ron Pedde 8fedf2d818 web config would write blank passwords 2004-10-27 04:09:05 +00:00
Ron Pedde e76fe090f8 invert strcasestr test 2004-10-27 04:01:33 +00:00
Ron Pedde 5134ce2154 abort on debug. Oops... 2004-10-27 03:54:07 +00:00
Ron Pedde 80073ac85c wrong parms to dump 2004-10-27 03:53:46 +00:00
Ron Pedde 4703588fe6 override for lazy background scanning 2004-10-25 04:52:52 +00:00
Ron Pedde 93255e0305 tune down some of the logging 2004-10-25 04:51:54 +00:00
Ron Pedde 0beb5c10d3 don't rescan the database if nobody is connected 2004-10-25 04:50:59 +00:00
Ron Pedde 040421a5e3 Add nslu2 flag for slug-specific code 2004-10-25 04:49:47 +00:00
Ron Pedde b77068393d do a reorg of the database following a db scan, to try and compact the db 2004-10-25 04:49:20 +00:00
Ron Pedde 8af2421541 Oops... last batch of stuff that was in -pre1, but not tagged as such 2004-10-25 03:15:35 +00:00
Ron Pedde ecb1d762d2 these aren't the email addresses you are looking for 2004-10-24 00:15:44 +00:00