Commit Graph

561 Commits

Author SHA1 Message Date
Ron Pedde
16c954fdf4 Logging fixes 2004-12-09 05:05:54 +00:00
Ron Pedde
474d1c996c Fix --enable-oggvorbis 2004-12-08 03:53:36 +00:00
Ron Pedde
c8be40c412 Strip email addresses 2004-12-08 03:53:03 +00:00
Ron Pedde
398988f566 64-bit inode support 2004-12-08 03:21:12 +00:00
Ron Pedde
f36c8d20d0 fix rend_init before detach bug in main. Oops 2004-12-08 03:20:48 +00:00
Ron Pedde
e7b4e3879b Sanity check the admin-root path 2004-12-07 00:26:14 +00:00
Ron Pedde
c75a402576 more verbose error to try and highlight permissions problems 2004-12-07 00:25:17 +00:00
Ron Pedde
007fb3725c Try to wait as long as possible before detaching -- catch more startup errors that way 2004-12-07 00:24:39 +00:00
Ron Pedde
ce0cde027f Always log fatal errors to the console 2004-12-07 00:24:08 +00:00
Paul Kim
7aa6aa0062 configure.in:
- Added support for optional Ogg/Vorbis support via the --enable-oggvorbis
flag.

Makefile.am:
- Added conditional compilation of ogg.c dependant on whether Ogg/Vorbis
support is enabled.

mp3-scanner.c:
- Added hook for Ogg/Vorbis support.
- Commented out code which set the "item_kind" of ogg files differently.
It now sets it the same as other audio files. They show up in iTunes
now but they will not stream.

ogg.c:
- Initial check-in.
- Code adapted from 'ogginfo' program. Does parsing of Ogg/Vorbis tags.
2004-12-06 03:06:12 +00:00
Ron Pedde
5d4f43eb23 more verbose 2004-12-04 05:47:12 +00:00
Ron Pedde
7823fae9d5 Stop unchanged static playlists from incrementing version number. Fix memory leak with background rescans and static playlists 2004-12-03 06:43:20 +00:00
Ron Pedde
8d9587e4fc use pascal packed string to avoid invalid rdata error 2004-11-30 04:17:32 +00:00
Ron Pedde
57bb0851cb database id txt record to store settings 2004-11-30 04:04:17 +00:00
Ron Pedde
2a9533fb9f Fix disappearing playlist bug 2004-11-30 02:14:22 +00:00
Ron Pedde
b033952af2 Handle short file errors better 2004-11-29 06:37:52 +00:00
Ron Pedde
b50617d356 bad type - off_t vs fpos_t 2004-11-29 06:01:27 +00:00
Ron Pedde
a5362e2fa9 Fix for OpenBSD 2004-11-29 05:55:45 +00:00
Ron Pedde
27d8a51309 add scan_type directive for doing brute-force scans 2004-11-29 05:55:25 +00:00
Ron Pedde
7f1ca1f552 fix for bug 1074486 - Web interface doesn't save some options 2004-11-28 08:45:26 +00:00
Ron Pedde
1261535d75 fix bug 1074489 - spaces in web forms are written as plusses in config file 2004-11-28 08:31:10 +00:00
Ron Pedde
cd59a2f1dd fix bug #107442 - time stamp in log off. Use localtime vs gmtime 2004-11-28 06:54:01 +00:00
Ron Pedde
fd70a618d6 Still more attempts to better find the right mp3 frame header 2004-11-27 22:58:33 +00:00
Ron Pedde
3def3f6e9e Fixes for process_m3u 2004-11-27 07:09:51 +00:00
Ron Pedde
a1d62cf6c6 Get rid of old howl crap - run with 0.9.6ish or better 2004-11-27 03:14:14 +00:00
Ron Pedde
08bef94c48 Update rend-howl to run with howl 0.9.6 2004-11-27 03:13:35 +00:00
Ron Pedde
f53a5ce363 Fix log bug spotted by keen-eyed debugger whodoneit. :) 2004-11-24 05:55:09 +00:00
Ron Pedde
4e07eba759 Fix the no-session problem with iTunes 4.7 by counting unique ip addresses rather than sessions in the online user count 2004-11-22 07:31:44 +00:00
Ron Pedde
a95f75c667 Bump the version count 2004-11-22 07:23:04 +00:00
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