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
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
Ron Pedde
84ea7aa49c
don't crash on 0 bitrate
2004-04-04 08:39:54 +00:00
Ron Pedde
1c590645be
more compatible automake
2004-04-04 08:23:34 +00:00
Ron Pedde
2627002b2c
Add support for MPEG 1, 2, and 2.5 layers I, II, and III
2004-04-04 06:34:44 +00:00
Ron Pedde
8273834a8c
Add feedback info
2004-04-02 06:48:24 +00:00
Ron Pedde
a8a540c7fe
Move mdns stuff out of mdns subdir to help compile on older automakes
2004-03-29 19:44:58 +00:00
Ron Pedde
2d397683da
Get rid of mdns
2004-03-29 19:37:54 +00:00
Ron Pedde
863346cbb9
Flatten mdns stuff
2004-03-29 17:55:17 +00:00
Ron Pedde
46ac5acdf8
Moving mdns stuff
2004-03-29 17:44:44 +00:00
Ron Pedde
a551776cf0
Start adding some stats stuff
2004-03-26 20:59:28 +00:00
Ron Pedde
e4df3def97
include the redblack tree files. Doh\!
2004-03-19 04:37:26 +00:00
Ron Pedde
f0cd6d37a0
Add version keyword
2004-03-18 17:52:28 +00:00
Ron Pedde
c702b4c7a3
Add support for composer, orchestra, conductor, and grouping
2004-03-16 07:54:37 +00:00
Ron Pedde
0a697cc0fa
Solaris fixes
2004-03-16 05:25:25 +00:00
Ron Pedde
e296c15d04
Fixes from James Turner
2004-03-16 05:24:54 +00:00
Ron Pedde
30d7753e1c
Fix obvious typecast bug
2004-03-16 05:11:18 +00:00
Ron Pedde
c82841a551
Fix genre bugs in aac and mp3
2004-03-14 21:37:07 +00:00
Ron Pedde
6795f24fae
Determine song length of aac files
2004-03-14 07:28:52 +00:00
Ron Pedde
1003467e63
Fix missing sync frame on bad id3 headers
2004-03-14 06:29:41 +00:00
Ron Pedde
7c8f83684a
include config.h
2004-03-14 01:06:15 +00:00
Ron Pedde
59059a48f3
add delete to gdbm
2004-03-14 00:47:42 +00:00
Ron Pedde
acfcde0dda
Return correct playlist status
2004-03-14 00:12:25 +00:00
Ron Pedde
9a943fdcd0
More debugging
2004-03-14 00:11:49 +00:00
Ron Pedde
01f976eef6
Add redblack for gdbm
2004-03-14 00:11:34 +00:00
Ron Pedde
922b9e2ae0
fix static playlists
2004-03-14 00:11:07 +00:00
Ron Pedde
b473f745a3
Add Damian Ivereigh's redblack tree implementation to speed lookups
2004-03-13 23:43:02 +00:00
Ron Pedde
c846b649d4
Fix the stupid strcasestr thing
2004-03-11 06:05:40 +00:00
Ron Pedde
b5462f8ca0
Add support for smart playlist icons
2004-03-11 05:47:15 +00:00
Ron Pedde
246655d914
fix typecast problem
2004-03-09 08:15:55 +00:00
Ron Pedde
ca260d4fb9
Fix minor valgrind bugs
2004-03-09 04:37:59 +00:00
Ron Pedde
01023b470d
Fix double-free
2004-03-09 04:37:34 +00:00
Ron Pedde
11eaaf6d4f
Small fixes
2004-03-08 21:27:38 +00:00
Ron Pedde
cdbbab756f
Get smart playlists working on gdbm
2004-03-08 20:36:07 +00:00
Ron Pedde
cff316a742
start of background scanning
2004-03-08 19:21:03 +00:00
Ron Pedde
13a5b089c0
Add path token to playlist parser
2004-03-07 06:22:44 +00:00
Ron Pedde
4d14d11dff
Fix lingering pl_newpredicate error
2004-03-07 06:16:41 +00:00
Ron Pedde
7df7ce5c83
First pass at .m4a support
2004-03-07 05:42:25 +00:00
Ron Pedde
c8628a27da
Fixes for db-gdbm for initial scan
2004-03-03 18:51:12 +00:00
Ron Pedde
449d2104db
First pass on db stuff. Still some unpacking problems
2004-03-03 06:50:09 +00:00
Ron Pedde
a74ab2712e
fix domain
2004-03-02 01:35:31 +00:00
Ron Pedde
c25b197d2e
Update to mdns 58.3
2004-03-02 00:14:26 +00:00
Ron Pedde
8ddc247d7b
Merge new rendezvous code
2004-03-02 00:03:37 +00:00
Ron Pedde
c28a956379
Increase logging
2004-03-01 21:12:20 +00:00
Ron Pedde
d8981d353c
Fix logging
2004-03-01 16:29:42 +00:00
Ron Pedde
ce28b4a9ea
More -Wall cleanups
2004-02-25 16:13:37 +00:00
Ron Pedde
a6572b3f34
Code cleanups provided by David Imhoff
2004-02-24 00:34:04 +00:00
Ron Pedde
642f060ec6
Add specified file types
2004-02-23 03:27:49 +00:00
Ron Pedde
62ea6d2fa8
Initial changes for db
2004-02-18 20:35:14 +00:00
Ron Pedde
6f4df7885b
Add disc number info
2004-02-18 20:34:08 +00:00
Ron Pedde
1c26070a38
Empty shell
2004-02-18 00:18:02 +00:00
Ron Pedde
9289f526db
-Wall fixes
2004-02-15 00:51:11 +00:00
Ron Pedde
76bdffec53
Password fix
2004-02-09 21:32:30 +00:00
Ron Pedde
092b6de067
Pretty up
2004-02-09 18:33:59 +00:00
Ron Pedde
d58c2c6ede
Fix problem with genres greater than 148
2004-02-09 17:42:57 +00:00
Ron Pedde
6ab0019817
Fix init error
2004-01-29 18:56:25 +00:00
Ron Pedde
7179a157e6
Fix null password problem
2004-01-27 05:30:25 +00:00
Ron Pedde
58a3d45cef
Add track tags
2004-01-27 05:30:06 +00:00
Ron Pedde
10f7ca1790
merge new-rend-branch
2004-01-20 04:41:20 +00:00
Ron Pedde
41021a3a94
Fix solaris debug message problem
2004-01-13 15:39:49 +00:00
Ron Pedde
fcde8d4bd8
Better scanner fix for solaris
2004-01-13 15:39:30 +00:00
Ron Pedde
9119ab738a
utf8 comments
2004-01-13 15:29:31 +00:00
Ron Pedde
09e9f8c571
don't translate comments from utf8
2004-01-13 04:30:32 +00:00
Ron Pedde
5dca8dcbf2
format fix
2004-01-13 04:29:43 +00:00
Ron Pedde
b24a3200d0
solaris fixes
2004-01-13 04:29:30 +00:00
Ron Pedde
25b3dd0679
Solaris fixes
2004-01-13 00:13:53 +00:00
Ron Pedde
30ac2eb1c5
Change mDNS default to 1
2004-01-04 21:57:38 +00:00
Ron Pedde
78f63acdfa
Fix version message
2004-01-04 21:32:22 +00:00
Ron Pedde
3cfaf1f44d
Fix error messages on init_scan
2004-01-04 21:32:04 +00:00
Ron Pedde
f666a32d0a
Allow comments
2004-01-04 21:31:32 +00:00
Ron Pedde
c39af59e01
no SIGCLD on OSX
2004-01-04 21:16:20 +00:00
Ron Pedde
c1adc86587
Fix double-free
2004-01-04 05:27:43 +00:00
Ron Pedde
56aec738a8
fix segfault on dropping privs
2004-01-04 05:02:23 +00:00
Ron Pedde
ad6a6b3d5e
add priv dropping
2003-12-29 23:39:18 +00:00
Ron Pedde
54a22bfee4
Add daemonizing code
2003-12-29 22:09:15 +00:00
Ron Pedde
eadacb07b6
Make sure all files have GPL notice
2003-12-29 20:41:08 +00:00
Ron Pedde
f4b1fd9eb2
Fix minor make dist problems
2003-12-29 19:46:58 +00:00
Ron Pedde
eac98e0a61
Fix stat time fields
2003-12-09 15:56:17 +00:00
Ron Pedde
e3b5c496bc
Make 401 persistent. Not convinced this is right
2003-12-09 05:49:00 +00:00
Ron Pedde
0df8292d6f
add password support
2003-12-09 05:48:30 +00:00
Ron Pedde
af983110a2
playing with date stuff -- seems wrong
2003-12-09 05:48:06 +00:00
Ron Pedde
4cf8d865d8
Add password configfile entry
2003-12-09 05:46:53 +00:00
Ron Pedde
727ba5e076
little more debug info -- fix cvar problem in debug
2003-12-08 06:38:21 +00:00
Ron Pedde
e35cf88e50
Add YEAR token, and integer ops -- equal, greater, less, etc.
2003-12-07 06:36:06 +00:00
Ron Pedde
47dd724c35
Add scanning for year tag - TDRC
2003-12-07 00:24:01 +00:00
Ron Pedde
c8e62c0357
add pl_load and pl_eval for smart-playlist loading and evaluating
2003-12-05 06:01:21 +00:00
Ron Pedde
e6673b0f5d
Remove TOK_ from tokens
2003-12-05 06:00:30 +00:00
Ron Pedde
9eb513bfa8
add smart-playlist evaluation to mp3 adder. Arguably deserves to go in db_add
2003-12-05 05:59:51 +00:00
Ron Pedde
2fde2c1250
add playlist parse option, as well as initializing smart playlists
2003-12-05 05:59:19 +00:00
Ron Pedde
9744ab3830
remove TOK_ from tokens to make error messages better. Make lexer case insensitive
2003-12-05 05:58:29 +00:00
Ron Pedde
67e17f22f2
Add playlist directive and config variable
2003-12-05 05:57:16 +00:00
Ron Pedde
377356bd06
Start of smart playlists
2003-12-04 23:20:51 +00:00
Ron Pedde
a98bdfbf66
Oops... memory leak -- forgot to free the daap tree after serializing
2003-12-03 21:31:34 +00:00
Ron Pedde
ebf850a12e
debug msgs for m3u processing. Why are not all playlists showing up?
2003-12-03 20:25:23 +00:00
Ron Pedde
988f0e5b77
Fork first, ask questions later
2003-12-03 20:18:01 +00:00
Ron Pedde
47148ed0f6
Stop serializing to memory
2003-12-03 20:17:38 +00:00
Ron Pedde
7f15282951
Handle m3u files
2003-12-02 06:20:54 +00:00
Ron Pedde
6166b8a6d3
don't count empty playlists
2003-12-02 06:20:41 +00:00
Ron Pedde
1533d3b33c
done playing with playlists
2003-12-02 06:20:19 +00:00
Ron Pedde
c9ea0b4bfc
playing with playlists
2003-12-02 05:28:39 +00:00
Ron Pedde
375521caaa
Initial playlist support
2003-12-02 05:28:01 +00:00
Ron Pedde
ca10ac95ec
Change ID handling to inode
2003-12-02 05:27:32 +00:00
Ron Pedde
1b5e2ca2c4
More linux fixes
2003-12-01 20:06:09 +00:00
Ron Pedde
2c029ddd15
Small linux fixes
2003-12-01 15:27:40 +00:00
Ron Pedde
abed11fc99
Add HTTP_USER var
2003-12-01 07:05:54 +00:00
Ron Pedde
2c1b1d5a05
add user directive
2003-12-01 07:05:42 +00:00
Ron Pedde
5feb9f8528
Add ws_getrequestheader
2003-12-01 06:55:36 +00:00
Ron Pedde
25bc6750e1
Add arbitrary seeking
2003-12-01 06:55:05 +00:00
Ron Pedde
90d3cd8929
Finally _really_ fixed OSX advertisements via rendezvous
2003-12-01 06:18:47 +00:00
Ron Pedde
eead131cc2
Add native OSX rendezvous registration
2003-12-01 05:27:54 +00:00
Ron Pedde
f1dbd03605
first pass
2003-12-01 05:24:41 +00:00
Ron Pedde
8a79262ef5
Fah
2003-12-01 03:24:17 +00:00
Ron Pedde
7f5d8f96b1
Fix ID3v1 tags
2003-12-01 03:23:43 +00:00
Ron Pedde
4a61df3739
oops
2003-12-01 03:01:56 +00:00
Ron Pedde
72d19c0777
Exclude from memory checks
2003-11-26 06:12:53 +00:00
Ron Pedde
5bb7712b5b
Include listener thread in the threads waited for on shutdown
2003-11-26 06:12:25 +00:00
Ron Pedde
74238741d1
notify memory checker about utf-8 strings
2003-11-26 06:11:30 +00:00
Ron Pedde
6367c53800
Allow graceful shutdown
2003-11-26 06:10:58 +00:00
Ron Pedde
0371cae9dc
add some flags to the config structs
2003-11-26 06:10:46 +00:00
Ron Pedde
f7e16d22ab
Add function to let the memory watcher know about memory allocated in libraries
2003-11-26 06:10:21 +00:00
Ron Pedde
3993a75dbf
needed fd for update to test for dead socket
2003-11-26 06:09:36 +00:00
Ron Pedde
98ef1d26fd
Add graceful socket closure handling to daap.c
2003-11-26 06:09:20 +00:00
Ron Pedde
cccc273969
added service-status directive. Added shutdown handlers for daap server and mdns responder
2003-11-26 06:08:40 +00:00
Ron Pedde
95d1283c86
implemented the deinit function
2003-11-23 18:15:05 +00:00
Ron Pedde
3949902b1b
Add close function to free up used memory
2003-11-23 18:14:40 +00:00
Ron Pedde
572a27b9b5
Take out excessive logging
2003-11-23 18:14:03 +00:00
Ron Pedde
c7435c28fc
Take out argv stuff
2003-11-23 18:13:35 +00:00
Ron Pedde
45c2b5e4b2
Exit rather than returning... shouldn't make a difference, but does. ?
2003-11-23 18:13:15 +00:00
Ron Pedde
d334bfdb96
Fix memory stomp in err_malloc
2003-11-23 06:16:57 +00:00
Ron Pedde
41746a0326
Add memory leak checks
2003-11-23 06:10:25 +00:00
Ron Pedde
938d54b055
More diag logging, move WS_PRIVATE into the WS_CONNINFO
2003-11-20 21:58:22 +00:00
Ron Pedde
14a508bc34
Fix memory leak
2003-11-18 00:16:32 +00:00
Ron Pedde
fcf1918438
Fix gigantic memory leak
2003-11-17 23:10:56 +00:00
Ron Pedde
7130df6469
add howl support
2003-11-17 22:28:48 +00:00
Ron Pedde
87c324a1c2
add support for named db
2003-11-17 16:40:09 +00:00
Ron Pedde
718a9a0af3
Add support for named db
2003-11-17 16:38:44 +00:00
Ron Pedde
4b6af9ccdd
Add support for db naming
2003-11-17 16:38:03 +00:00
Ron Pedde
d93504dd5a
add howl support
2003-11-17 16:37:39 +00:00
Ron Pedde
85c4cdc9fe
replace fsetpos junk with fseek
2003-11-14 22:38:02 +00:00
Ron Pedde
8bf0c61357
add unique session id
2003-11-14 22:37:35 +00:00
Ron Pedde
c7b28232c2
add unique session ids
2003-11-14 22:37:01 +00:00
Ron Pedde
9bc76676b3
Fix fpos_t thing
2003-11-14 19:19:29 +00:00
Ron Pedde
a01e46d961
Add debugging
2003-11-14 19:19:18 +00:00
Ron Pedde
abf326c69e
Add user-count directive
2003-11-14 19:18:57 +00:00
Ron Pedde
5e13a6c3ed
Add ispage handler
2003-11-14 16:20:44 +00:00
Ron Pedde
0885bbfb50
Skip mp3 files with no sync frame
2003-11-14 16:19:21 +00:00
Ron Pedde
d780313965
Add status updates
2003-11-14 04:56:20 +00:00
Ron Pedde
10de50ce0b
Add server-side includes and threadstat
2003-11-14 04:56:04 +00:00
Ron Pedde
5a7f17eacb
Use port 53
2003-11-14 04:54:55 +00:00
Ron Pedde
b30c63a44b
fix web page merges
2003-11-12 07:08:18 +00:00
Ron Pedde
cf2c6b02c8
export CONFIG
2003-11-12 06:23:16 +00:00
Ron Pedde
e311b43354
move config web dispatcher to configfile.c, add more flexible config parsing
2003-11-12 06:23:01 +00:00
Ron Pedde
093b24ca29
changed configfile directives
2003-11-12 06:22:25 +00:00
Ron Pedde
abc74c8530
move config web dispatch to configfile.c
2003-11-12 06:22:09 +00:00
Ron Pedde
c38085474e
Now serving...
2003-11-12 02:59:45 +00:00
Ron Pedde
20e564ed18
Fix issue with relative paths in web_root
2003-11-10 16:14:20 +00:00
Ron Pedde
46aecff93a
add status update
2003-11-10 04:00:13 +00:00
Ron Pedde
a9a006754e
add title and comment field
2003-11-10 03:59:58 +00:00
Ron Pedde
3d3c8dd40a
only emit valid fields for song info
2003-11-10 03:59:11 +00:00
Ron Pedde
1f54c8225e
Add extra tags to mp3 struct. Enable recursive dir scanning
2003-11-10 03:58:39 +00:00
Ron Pedde
8a486e768c
Oops
2003-11-10 03:58:09 +00:00
Ron Pedde
2c724fc312
fix off-by-one problem
2003-11-09 17:30:07 +00:00
Ron Pedde
dd0569502c
Mostly fixed scanning bug
2003-11-07 04:54:24 +00:00
Ron Pedde
0276f523ff
Attempt to fix overlapping output problem
2003-11-06 22:58:46 +00:00
Ron Pedde
3805df1ee8
add electricfence to detect some heap trouncing, fix some update handling bugs, make run on linux. Still some linux issues
2003-11-05 18:57:13 +00:00
Ron Pedde
c2dcb67bc7
fix dir scanning
2003-11-04 23:00:36 +00:00
Ron Pedde
621d18135e
More mp3 scanner adds
2003-11-04 21:25:50 +00:00
Ron Pedde
5a7b5c3f8d
stupid stub
2003-11-04 06:11:31 +00:00
Ron Pedde
1647bacae6
first time actually listing a file
2003-11-04 06:11:00 +00:00
Ron Pedde
231e37d3b8
Add initial db and mp3 scanner stuff
2003-11-03 20:34:52 +00:00
Ron Pedde
1c1a9e62f2
Merge linux patches
2003-11-03 20:34:18 +00:00
Ron Pedde
c758c1078e
Fixes for linux
2003-11-03 19:02:00 +00:00
Ron Pedde
c0cb4d6417
Gotta have this
2003-10-30 22:42:53 +00:00
Ron Pedde
506cbcfb03
Up to enumerating the database
2003-10-30 22:42:11 +00:00
Ron Pedde
30183d97b2
Initial checkin
2003-10-30 22:41:56 +00:00
Ron Pedde
612f2fa2fd
fix for MacOS 10.3
2003-10-25 19:38:14 +00:00
Ron Pedde
d971a35a46
Add Apple mDNS reponder
2003-10-23 21:43:01 +00:00
Ron Pedde
1aba1107cd
webserver interface nearly complete... allows custom auth and req dispatchers
2003-10-19 20:03:54 +00:00
Ron Pedde
4e7e48c6f4
Update for darwin
2003-10-13 15:32:43 +00:00
Ron Pedde
36818cbeb5
Initial revision
2003-10-13 15:03:14 +00:00