Commit Graph

720 Commits

Author SHA1 Message Date
Ron Pedde
e9e305586e reorder startup again 2004-12-22 04:59:34 +00:00
Ron Pedde
abe5ffbd09 change loggin destination 2004-12-21 04:38:15 +00:00
Ron Pedde
34c3ba8b2a Automatically update database on version change 2004-12-21 04:37:35 +00:00
Ron Pedde
026b528136 Make browse case-insensitive, to match query processing 2004-12-17 21:26:36 +00:00
Ron Pedde
4bc637a1a6 More sanity checking on paths, try and create the dbdir directory if it does not exist 2004-12-17 20:28:10 +00:00
Ron Pedde
1e9554e5dd Tune down logging on adding/freeing daap atoms 2004-12-17 20:17:20 +00:00
Ron Pedde
571b67b309 Fix the missing lz on id3tag problem on cygwin 2004-12-16 06:21:34 +00:00
Ron Pedde
0a28e1feda Fixed -lpthread thing 2004-12-14 04:27:02 +00:00
Ron Pedde
c2b27f1836 re-arrange stuff back the way it was, mostly. Fix pidfile generation. 2004-12-09 05:07:09 +00:00
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