63 Commits

Author SHA1 Message Date
Ron Pedde
00ded64dab Add a simple config migrator to move config items around at load. I've used it
to move general/process_m3u to scanning/process_playlists, scanning/process_xml
to scanning/process_itunes, and make scanning/process_m3u actually control just
m3u file rather than all playlists.  In addition, scan/correct_order has been
moved to daap/correct_order.  This closes long-standing bug #172.
2007-04-06 05:05:50 +00:00
Ron Pedde
5383d1c1ca Fix double-free problems reported in forums 2007-01-18 06:07:26 +00:00
Ron Pedde
14fe9f9c6c Add memory debugging (--enable-mem-debug), find and fix several small (and not so small) memory leaks 2007-01-17 01:06:16 +00:00
Ron Pedde
cc535d234f consolidate mutex locking to better debug deadlocks 2006-12-31 21:28:47 +00:00
Ron Pedde
eb92a4b99b automatically shorten the rendezvous name if it's too long 2006-12-19 05:06:42 +00:00
Ron Pedde
d5506fc46f Fix db upgrade from 12 -> 13 2006-11-19 18:58:03 +00:00
Ron Pedde
137875c23d add general/never_transcode to specify codectypes that shouldn't be transcoded, even if the client suggests it can't play it (amarok, rhythmbox, others that lie about user-agent) 2006-10-31 03:54:10 +00:00
Ron Pedde
69eb216e59 Implement option to skip initial start-up scan, useful for windows machines. Fixes ticket #208 2006-10-27 20:39:39 +00:00
Ron Pedde
0fa620d4a7 add scanning/follow_symlinks option to close ticket #194 2006-10-24 05:17:36 +00:00
Ron Pedde
325c86073b Add hostname (%h) and version (%v) templates for the servername parameter 2006-10-16 03:52:45 +00:00
Ron Pedde
e1fe5d53a1 Fix problem on mac when updating config file through web interface 2006-08-26 03:14:48 +00:00
Ron Pedde
d64fe731eb add handler for case_insensitive 2006-08-20 04:50:19 +00:00
Ron Pedde
5b18d69d28 Make win32 version file handling use wide character functions (for non-latin filenames) 2006-07-17 04:49:44 +00:00
Ron Pedde
c20b3e52e9 Make config file realpathed, fixing unwritable config file problem on mac 2006-07-07 20:36:24 +00:00
Ron Pedde
fcae68c3a5 Fix crash on unknown config options 2006-06-16 06:57:19 +00:00
Ron Pedde
bff6193572 Support for log truncation. 2006-06-13 05:45:58 +00:00
Ron Pedde
a1e2bc3799 add -a switch for mac .app bundle 2006-06-13 02:27:21 +00:00
Ron Pedde
6fd6a1c9bb Make the no_access page work for blank admin_pw 2006-06-01 06:17:26 +00:00
Ron Pedde
704822faa0 fix debuglevel not being honored in config 2006-06-01 04:21:31 +00:00
Ron Pedde
b567d86d46 escape commas in multivalued string, closing ticket #128 2006-05-31 04:15:06 +00:00
Ron Pedde
f15d1d7d96 Check all parameters before writing them to the config file, send meaningful information to web client on bad update 2006-05-31 02:33:23 +00:00
Ron Pedde
5486e8c76a Logging fixups -- allow multiple log destinations, always syslog fatals (even before config read), honor logging changes via web interface 2006-05-30 23:46:43 +00:00
Ron Pedde
770a583dcf Make conf writer write multivalued properties as comma separated 2006-05-29 11:29:51 +00:00
Ron Pedde
920cb31052 force section and key names to not have spaces. Fixes problems in the configurator 2006-05-29 11:25:09 +00:00
Ron Pedde
41aabeeab9 Make port optional config value, searching for unused port if necessary. Closes #110 2006-05-24 04:19:44 +00:00
Ron Pedde
88999e7d49 Make bad xml-rpc methods return xml error message rather than http error message, fixing #108 2006-05-24 03:56:06 +00:00
Ron Pedde
80f7c87567 Make default server name based on hostname, fixing #111 2006-05-24 03:53:22 +00:00
Ron Pedde
04ed0711a4 Fix problem reported in #7 2006-05-19 05:10:08 +00:00
Ron Pedde
703221c715 fix for ticket #7 -- empty values delete items 2006-05-18 05:11:07 +00:00
Ron Pedde
cb9598608b fix error code on xml_return_error 2006-05-17 06:44:56 +00:00
Ron Pedde
1003812ee9 expose the single-key validation 2006-05-16 06:39:09 +00:00
Ron Pedde
c99e0c23dc start on validating single items 2006-05-16 06:22:32 +00:00
Ron Pedde
fd0d5cbbd9 start plugin infrastructure 2006-04-19 08:32:18 +00:00
Ron Pedde
882111a52a reopen log and re-read config on sighup -- fixes ticket #73 2006-04-15 23:03:31 +00:00
Ron Pedde
267528f070 Make mp3_dir multivalued, closing ticket #16 2006-04-12 05:18:55 +00:00
Ron Pedde
964285cf41 Minor win32 fixes, fix path parsing in conf validation to fix ticket #48 2006-04-10 19:02:39 +00:00
Ron Pedde
f83f66130b add config_path and version items to stats xml-rpc. Fixes ticket #33. Take 2. :) 2006-04-10 17:59:10 +00:00
Ron Pedde
e0597644b7 finish implementing xml-rpc for config values, closing ticket #33 2006-04-10 06:33:57 +00:00
Ron Pedde
78455709c2 add xml-rpc method for getting config 2006-04-04 06:31:19 +00:00
Ron Pedde
970a75f00e win32 fixes 2006-03-29 22:02:42 +00:00
Ron Pedde
9a396eca29 Make compdirs work again, closing ticket #15 2006-03-26 22:07:33 +00:00
Ron Pedde
abee2d9792 autocreate directories from config file 2006-03-26 04:55:59 +00:00
Ron Pedde
e1a1c7f18a oops, forgot headers 2006-03-25 23:27:55 +00:00
Ron Pedde
0eb3160bbc add path verification and creation to config file 2006-03-25 23:21:16 +00:00
Ron Pedde
51a3a6279c -Wall cleanups 2006-03-25 11:15:53 +00:00
Ron Pedde
4d1555ec2b untabify err.c 2006-03-25 10:52:10 +00:00
Ron Pedde
2fbb744e6f string splitting function 2006-03-20 22:27:56 +00:00
Ron Pedde
5020ed6884 start toward multi-entry terms 2006-03-19 22:03:26 +00:00
Ron Pedde
779a139c9d Fix up overflows in comment resizing 2006-03-16 23:56:49 +00:00
Ron Pedde
be7bdfbbfb config file upgrading 2006-03-13 06:33:58 +00:00