489 Commits

Author SHA1 Message Date
Ron Pedde
133e971edc Fixes for the "Doesn't actually delete stuff on rescan" bug. Thanks to Roger Mundt for the logs and documentation to track this down. 2005-01-09 20:02:01 +00:00
Ron Pedde
f7bec2c5f6 fix minor errno problem 2005-01-07 06:57:59 +00:00
Ron Pedde
185b339bf3 Typo 2005-01-07 05:58:04 +00:00
Ron Pedde
c681c03af1 Tune pidfile error 2005-01-07 05:57:52 +00:00
Ron Pedde
dd3bc4c731 Try and fix rendezvous problem 2005-01-07 05:37:46 +00:00
Ron Pedde
b5d490473a Fix compress and scan_type on config_write, SF bug 1093662 2005-01-02 19:05:22 +00:00
Ron Pedde
ae5613a1df fix solaris compile problems... take 2. 2004-12-31 04:57:33 +00:00
Ron Pedde
0b895d31f9 Fix for ssize_t undefined error 2004-12-31 03:44:16 +00:00
Ron Pedde
f044f7331e Check for zlib 1.2.0 or better for gzip content-encoding 2004-12-29 07:07:49 +00:00
Ron Pedde
cfe3c7675a Fix indent style. :) 2004-12-29 06:21:08 +00:00
Ron Pedde
1e17bf8c41 Add gzip content-encoding from patch by Ciamac Moallemi 2004-12-29 05:44:32 +00:00
Ron Pedde
9976d7b2cf Minor ogg fixups 2004-12-25 06:24:32 +00:00
Ron Pedde
4dd995db1c add oggvorbis capture info 2004-12-24 21:21:24 +00:00
Ron Pedde
7176d060a2 Add COMMENT keyword to smart playlists 2004-12-22 05:05:47 +00:00
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
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
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
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
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
70024cb3e1 Minor fix - variable declarations first 2004-11-20 17:58:24 +00:00