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
Ron Pedde
335b21533b
reliable shutdowns for webserver. Still need to move thread status into webserver.c, though
2004-09-19 03:05:18 +00:00
Ron Pedde
03f53ecc8f
ARM (NSLU2) fixes for MP3 header scanning
2004-09-19 03:04:26 +00:00
Ron Pedde
d317a98cdf
Jim Buzbee's ARM patches for NSLU2
2004-09-19 03:03:47 +00:00
Ron Pedde
71d3892c89
Last OPT_QUERY reference
2004-09-18 17:13:14 +00:00
Ron Pedde
78ba4d7f20
hold lock during db enum -- reduce memory requirements by serializing updates (partcuarly with rescan_interval), and because the enum isn't currently reentrant
2004-09-18 05:24:34 +00:00
Ron Pedde
537233256b
Default browse/query
2004-09-18 04:12:43 +00:00
Ron Pedde
773028d478
Fix problem with mozilla hanging on password-protected admin page... persisting the connection after a 401 makes mozilla and IE unhappy.
2004-09-15 06:10:27 +00:00
Ron Pedde
3d7cfd2695
add declaration for db_scanning
2004-09-15 05:01:26 +00:00
Ron Pedde
b9a7c202c2
add scan_interval to config struct
2004-09-15 05:00:38 +00:00
Ron Pedde
e67901f0a2
add an option to force a rescan. Add db version to status page. support scan_interval in config file
2004-09-15 04:59:56 +00:00
Ron Pedde
9cf3551c0c
redo locking to allow for background rescanning. Add db_rescan to determine if the db is in rescan mode
2004-09-15 04:59:14 +00:00
Ron Pedde
68fa9b7b10
add background rescanning
2004-09-15 04:58:08 +00:00
Ron Pedde
d9d0acd412
Allow empty playlists
2004-09-15 03:14:56 +00:00
Ron Pedde
9727812201
Remove playlist if last file is removed from the playlist on an update
2004-09-15 03:03:45 +00:00
Ron Pedde
23fa058c64
fix typo in add_long, made mper tag not work
2004-09-14 04:03:57 +00:00
Ron Pedde
e43caee157
Add support for smart playlist manipulation by date added to database. Updated mt-daapd.playlist to match
2004-09-12 23:20:29 +00:00
Ron Pedde
5463b63436
Add HTTP/1.0 support, primarily for the Roku SoundBridge
2004-09-12 22:58:55 +00:00
Ron Pedde
86257b0129
Add decoding of Grouping, Composer, Comment and BPM for AAC files
2004-09-08 04:48:07 +00:00
Ron Pedde
a96622cbe7
Add bitrate keyword to smart playlists
2004-09-08 04:07:53 +00:00
Ron Pedde
84d1ee1cca
Add bpm keyword to smart playlists
2004-09-08 03:58:33 +00:00
Ron Pedde
5748b6502d
Add support for TBPM (beats per minute) tag on MP3 files
2004-09-08 03:48:09 +00:00
David W. Berry
a3eb5a6d53
shorten unknown meta code warning
2004-06-26 01:14:24 +00:00
David W. Berry
95989a91f0
Resolve problem parsing m4p files introduced with query changes.
2004-06-25 23:23:15 +00:00
David W. Berry
3294922dcf
use hton instead of ntoh
2004-06-22 01:55:07 +00:00
David W. Berry
0ba13be4be
fix problem with m4p files crashing sorting
2004-06-22 01:52:26 +00:00
David W. Berry
9492a64846
1. Implement browse and query. These are both still somewhat experimental
...
pending further verification against iTunes. --enable-browse and
--enable-query must be specified to configure to enable both options.
browse support requires query support.
2. Database iteration is now sorted and the database is not kept locked
as long during iteration.
2004-06-14 19:01:06 +00:00
Ron Pedde
483d354468
Fix gdbm for debian stable, configure problem with new howl
2004-06-02 05:28:52 +00:00
Ron Pedde
d895dc8b41
bumper patch from dwb
2004-05-21 13:56:04 +00:00
Ron Pedde
7ba8f31273
Get rid of the update stuff, and the web server shutdown that sometimes hangs
2004-05-10 03:31:11 +00:00
Ron Pedde
4370cb960c
Seeking working on iTunes 4.5
2004-04-28 23:51:26 +00:00
Ron Pedde
3978d0932c
More fixes for iTunes 4.5
2004-04-28 18:55:22 +00:00
Ron Pedde
3d2c60572d
Updates for iTunes 4.5. Some problems with seeking on mac, though
2004-04-28 18:45:56 +00:00
Ron Pedde
366a44702e
fix valgrind errors
2004-04-26 23:47:25 +00:00
Ron Pedde
39052e10e1
fix Wall warnings
2004-04-26 23:46:44 +00:00
Ron Pedde
8ef12d52f6
Fix for out of stack space on large music libraries
2004-04-22 04:20:30 +00:00
Ron Pedde
2dee0cebd4
Starting to fix signal stuff
2004-04-19 06:19:46 +00:00
Ron Pedde
c4367412b2
Don't add art to .aac files
2004-04-18 20:24:01 +00:00
Ron Pedde
44d29752c7
fix seek problems using dynamic art on mac platform
2004-04-17 22:20:02 +00:00
Ron Pedde
b3e3f349c7
stupid
2004-04-17 21:46:08 +00:00
Ron Pedde
40169a7e91
fixed error when not finding cover art
2004-04-17 21:40:47 +00:00
Ron Pedde
ffee7a4acf
add logging to find reason for file skipping
2004-04-16 04:03:35 +00:00
Ron Pedde
e84e153910
Add art files
2004-04-15 21:37:21 +00:00
Ron Pedde
2f484c23e3
minor fixes to art-merge
2004-04-14 07:04:05 +00:00
Ron Pedde
3e31ccf1d2
Add experimental dynamic art code by Hiren Joshi
2004-04-14 06:17:22 +00:00
Ron Pedde
6f5b8b6e96
logging fixes
2004-04-13 04:27:04 +00:00
Ron Pedde
6170df9af4
logging enhancements
2004-04-13 04:23:36 +00:00
Ron Pedde
625729613b
refactor for background updates
2004-04-07 03:51:01 +00:00
Ron Pedde
ffff21d118
Fix problems with not noticing removed files
2004-04-06 21:27:31 +00:00
Ron Pedde
5710d771d0
too many -lgdbm
2004-04-06 20:06:41 +00:00
Ron Pedde
543e8c1ee1
make gdbm the default
2004-04-06 15:26:46 +00:00
Ron Pedde
a2d9dfec41
Make gdbm the default
2004-04-06 14:06:16 +00:00
Ron Pedde
451b522dfd
fix db_init after dropping privs
2004-04-06 13:44:26 +00:00
Ron Pedde
dc9c7c96be
off by one
2004-04-06 01:56:00 +00:00