Ron Pedde
0df3ad01e1
Fix stop attempts during initial scan
2005-03-13 21:22:05 +00:00
Ron Pedde
5eb03dae42
Remove old files
2005-03-11 06:43:26 +00:00
Ron Pedde
7713e226f8
remove
2005-03-11 06:40:50 +00:00
Ron Pedde
847d10b361
First pass of sqlite backend
2005-03-11 06:39:40 +00:00
Ron Pedde
488e63b39f
Roll back patch - breaks fbsd
2005-03-05 06:37:37 +00:00
Ron Pedde
54ff9e862e
Fix the junk-in-strings thing. again.
2005-03-05 05:06:26 +00:00
Ron Pedde
ea71a2b410
Fix garbage characters on entity-encoding dmap strings, also fix browse results
2005-03-04 05:16:34 +00:00
Ron Pedde
72d2d7c5c8
missing stdarg for va_start and friends
2005-03-04 03:50:24 +00:00
Anders Betnér
a9785ade36
Made all html xhtml 1.0 strict compliant
...
lowercase tag names, make sure attributes as quoted and don't leave
any unclosed tags. also moved the 'http-equiv refresh' to the head tag
(it isn't allowed in the body)
2005-03-03 13:50:57 +00:00
Ron Pedde
c1f455b16f
Fix content-type for xml serialized response
2005-03-03 06:56:58 +00:00
Ron Pedde
fb646037b0
add better content-type handling
2005-03-03 06:22:37 +00:00
Ron Pedde
3b26120a3b
Add xml output for daap requests (using output=xml in request)
2005-03-03 06:07:11 +00:00
Ron Pedde
c86be33245
initial support for sqlite
2005-03-01 04:19:27 +00:00
Ron Pedde
f3b6ef46f9
use short options when getopt.h isn't present
2005-02-28 21:49:51 +00:00
Ron Pedde
cde5f4c917
Add Timo's match patch
2005-02-28 20:28:44 +00:00
Ron Pedde
4069118651
Timo's fix for short title buffer
2005-02-27 04:26:15 +00:00
Ron Pedde
f43da69cf7
Add Timo's wavstreamer
2005-02-27 03:34:07 +00:00
Ron Pedde
52074343b4
Timo's flac metainfo scanner
2005-02-27 00:42:27 +00:00
Ron Pedde
9afb28a4ab
Add Tim's ogg and flac patches, plus convert the existing ogg metainfo reading
...
stuff to use vorbisfile.
2005-02-27 00:41:55 +00:00
Ron Pedde
ecaae83ce5
Add config option latin1_tags to fix utf-8 tags in text fields purporting to be latin1. Sadly, this is an all-or-nothing option. Perhaps one could autodetect?
2005-02-24 05:04:05 +00:00
Ron Pedde
de5ed17847
Fix problems with scanning fileinfo of files with uppercase extensions
2005-02-22 07:23:09 +00:00
Ron Pedde
bdd5ba39da
integrate server-side conversion patches, -Wall cleanups, AMD64 fixes, and xml-rpc cleanups
2005-02-21 08:10:37 +00:00
Ron Pedde
c33eade8ba
Add getPlaylistItems rpc function
2005-02-19 00:50:29 +00:00
Ron Pedde
f2ff609742
start framework for xml-rpc calls.
2005-02-17 04:24:16 +00:00
Ron Pedde
70ea2d7561
fix divide-by-zero bug. Doh
2005-02-05 21:22:47 +00:00
Ron Pedde
d0e71cbec8
removed as part of the atoll fix
2005-02-05 20:55:20 +00:00
Ron Pedde
1ea0bce3b3
re-fix the atoll thing
2005-02-05 20:54:55 +00:00
Ron Pedde
86b87b43dd
Fix segfault on foreground on older redhats
2005-02-04 07:37:48 +00:00
Ron Pedde
ed0a9c9fb1
fix pidfile for heavyweight threads
2005-01-30 06:58:36 +00:00
Ron Pedde
bef2d8714c
Fix problems with spaces in config files
2005-01-30 04:32:35 +00:00
Ron Pedde
9b6d39d447
Fix typo in usage, dont write pidfile unless running as root
2005-01-24 07:42:42 +00:00
Ron Pedde
5555707a6d
Patches for slow connect speed from dirkthedaring2
2005-01-24 01:05:00 +00:00
Ron Pedde
be980f515d
Fix miscounted items on rescans
2005-01-17 05:20:13 +00:00
Ron Pedde
1b38b66340
Tune down the seek errors on frame scanning
2005-01-12 04:04:00 +00:00
Ron Pedde
defcc6a614
Bump syslog messages up to LOG_NOTICE
2005-01-11 03:52:24 +00:00
Ron Pedde
7e5444c100
Better error messages on missing config
2005-01-11 03:48:56 +00:00
Ron Pedde
9dbd40bde8
Fix config_create_directory bug
2005-01-11 03:37:28 +00:00
Ron Pedde
c8a4fdd19d
Order playlist items in the order they are in the playlist, rather than inverted
2005-01-11 01:12:02 +00:00
Ron Pedde
9eddb7e4ca
Fix compile error on solaris
2005-01-10 18:11:29 +00:00
Ron Pedde
81ded39a63
Synchronize mDNS to Apples 58.8 drop
2005-01-10 01:07:01 +00:00
Ron Pedde
cd91e5362d
fix problem with id3v2 comments
2005-01-09 21:50:48 +00:00
Ron Pedde
b8e421d8df
Fix for "my libc doesn't have atoll" bug.
2005-01-09 20:34:12 +00:00
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
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
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
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
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
d3217bc8ff
rough estimate of bitrate for aac files
2004-10-15 23:00:19 +00:00
Ron Pedde
9bf4087971
Fix aac song length in files with a duration expressed in time intervals other than 10th of a second
2004-10-15 22:05:15 +00:00
Ron Pedde
7cc249142e
Dynamic art for AAC files from Paul Kim
2004-10-15 20:10:39 +00:00
Ron Pedde
feda9d5a02
Error on removing head element from connection list
2004-10-10 12:25:36 +00:00
Ron Pedde
491e7f8b57
dereferencing freed memory
2004-10-10 11:24:02 +00:00
Ron Pedde
e600a30528
remove insertion sort for performance reasons
2004-10-10 06:58:28 +00:00
Ron Pedde
ceb2f8cfc9
Track threads in the webserver to better terminate. Next need to move the config_status stuff out of configfile and into webserver.c
2004-09-30 03:03:18 +00:00
Ron Pedde
fc5fc7dfa6
Comments
2004-09-25 21:43:56 +00:00
Ron Pedde
ebf43ff4fb
Case insensitive extension check for those with all uppercased file names
2004-09-19 21:14:27 +00:00
Ron Pedde
679faff120
fix logging bug
2004-09-19 06:02:19 +00:00
Ron Pedde
87f1e02c86
debug info on background rescans
2004-09-19 06:01:38 +00:00
Ron Pedde
628943123d
free compiled regexes in page handlers
2004-09-19 06:00:43 +00:00
Ron Pedde
8577bec027
fix some really ugly memory leaks
2004-09-19 06:00:07 +00:00
Ron Pedde
9559452124
Fix date_added, modified problems. Also, fix db_exists
2004-09-19 05:18:49 +00:00
Ron Pedde
2861761d36
Stop hang while getting db_Version when rescanning
2004-09-19 05:18:17 +00:00
Ron Pedde
078c1e98e1
Since newest autotools automatically add the .c files to the DIST_COMMON, might as well add the parser.h too
2004-09-19 05:13:58 +00:00
Ron Pedde
32e4d018cb
Make logs to stdout when running in foreground
2004-09-19 04:07:03 +00:00
Ron Pedde
9ac1213126
pedantic typecasting
2004-09-19 03:06:08 +00:00