Commit Graph

247 Commits

Author SHA1 Message Date
Ron Pedde
5f3a12c351 Import streaming stations form iTunes XML file, closing ticket #130, add scan/correct_order to make static playlists return in correct order closing ticket #159 2006-06-19 04:25:08 +00:00
Ron Pedde
1dc1257f2c add rescan/full rescan methods to xml-rpc for ticket #121 2006-06-15 07:10:05 +00:00
Ron Pedde
97328767d8 Don't do startup scan (unless requested) when scan_interval is set to 0 2006-06-14 04:33:27 +00:00
Ron Pedde
a1e2bc3799 add -a switch for mac .app bundle 2006-06-13 02:27:21 +00:00
Ron Pedde
bdc4fdc425 compile first, then commit. even on one-liners. stupid stupid stupid. 2006-06-01 06:27:16 +00:00
Ron Pedde
95dd1048be Don't send scan stopped events if the scan was aborted by service shutdown 2006-06-01 06:20:55 +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
0a14704fd9 Maybe fix for frontrow problems? 2006-05-29 07:57:45 +00:00
Ron Pedde
89b6af89b3 Fixes to build, install, and run ffmpeg ssc on win32 2006-05-28 06:11:37 +00:00
Ron Pedde
0f64686356 add ffmpeg-based transcoding 2006-05-28 04:06:14 +00:00
Ron Pedde
9705113b40 add a ffid txt record so rsp and iTunes entries can be correlated 2006-05-24 05:14:58 +00:00
Ron Pedde
a9cb506963 Make windows slashed playlists work on unix (and vice versa) 2006-05-24 04:53:44 +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
80f7c87567 Make default server name based on hostname, fixing #111 2006-05-24 03:53:22 +00:00
Ron Pedde
cfaceb8d94 Add fullscan events, make configurator display fullscan items. 2006-05-06 07:22:51 +00:00
Ron Pedde
5de59a26aa fix deadlock on event plugin 2006-05-05 07:38:13 +00:00
Ron Pedde
e60d1f75ec invert the sense of the -s switch, default skipping intial scan 2006-05-01 08:06:19 +00:00
Ron Pedde
1ca265d4c5 Let plugins register rendezvous names 2006-04-25 23:13:04 +00:00
Ron Pedde
b4bc212f65 Make auth requests for plugins work 2006-04-22 19:45:49 +00:00
Ron Pedde
eed9619063 Make auth handers receive connection info 2006-04-22 18:22:41 +00:00
Ron Pedde
1af9e8c08e more plugin work 2006-04-20 06:52:21 +00:00
Ron Pedde
fd0d5cbbd9 start plugin infrastructure 2006-04-19 08:32:18 +00:00
Ron Pedde
267528f070 Make mp3_dir multivalued, closing ticket #16 2006-04-12 05:18:55 +00:00
Ron Pedde
8ca978322a fix error messages on bad schema 2006-04-10 04:27:52 +00:00
Ron Pedde
92e967e78c set default config file location based on prefix 2006-04-09 01:35:10 +00:00
Ron Pedde
0b11dc0e39 Make failures in mp3 scanning non-fatal (in case of bad mp3_dir) 2006-03-25 23:21:43 +00:00
Ron Pedde
4d1555ec2b untabify err.c 2006-03-25 10:52:10 +00:00
Ron Pedde
be7bdfbbfb config file upgrading 2006-03-13 06:33:58 +00:00
Ron Pedde
ec087d86ec make auth handler take effect on /content-codes, just like iTunes does. 2006-03-07 07:02:03 +00:00
Ron Pedde
942125f271 type fixes 2006-03-07 06:07:34 +00:00
Ron Pedde
8e9d759e05 make sqlite3 thread-safer(?) by using a thread pool 2006-03-07 06:01:59 +00:00
Ron Pedde
f037a53452 crazy fixes for sqlite3 2006-03-06 07:48:53 +00:00
Ron Pedde
cf59f7dc33 fix up txt records to show password info, mtd-version, and itunes version 2006-03-05 08:09:27 +00:00
Ron Pedde
9e5f21db7f fix for STDERR problem in rend-unix 2006-03-05 02:02:15 +00:00
Ron Pedde
e5dd11b090 fix errors when using a null default in conf_get_string 2006-02-27 23:39:11 +00:00
Ron Pedde
73636a5a4c add ini style config handling 2006-02-27 22:48:42 +00:00
Ron Pedde
9a133dcbdc Merged win32-branch 2006-02-26 08:46:24 +00:00
Ron Pedde
e0ce8f273f add db_type and db_parameters for specifying different backend databases 2006-01-06 00:05:02 +00:00
Ron Pedde
86b45a028e abstract database somewhat, improve error handling 2006-01-04 20:30:44 +00:00
Ron Pedde
a82c564426 move the thread status stuff into the webserver, add status info to xml-rpc 2005-11-07 05:58:05 +00:00
Ron Pedde
f127d8cb58 allow editing of smart playlists 2005-11-03 05:02:17 +00:00
Ron Pedde
4c89c687a6 pidfile patches from Diego Petteno 2005-10-26 05:10:19 +00:00
Ron Pedde
ab17d88879 Add interface directive to config file -- fix stderr logging on rendezvous child 2005-08-16 02:26:32 +00:00
Ron Pedde
9ec19009ec that's the problem with vararg functions... no warning if you mess them up 2005-05-23 01:14:30 +00:00
Ron Pedde
9ae132a127 Add iTunes playlist support 2005-05-21 05:53:11 +00:00
Ron Pedde
f8f442bc3c Move db_open after priv drop 2005-03-20 04:13:34 +00:00
Ron Pedde
0df3ad01e1 Fix stop attempts during initial scan 2005-03-13 21:22:05 +00:00
Ron Pedde
847d10b361 First pass of sqlite backend 2005-03-11 06:39:40 +00:00
Ron Pedde
c1f455b16f Fix content-type for xml serialized response 2005-03-03 06:56:58 +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
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
bdd5ba39da integrate server-side conversion patches, -Wall cleanups, AMD64 fixes, and xml-rpc cleanups 2005-02-21 08:10:37 +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
9b6d39d447 Fix typo in usage, dont write pidfile unless running as root 2005-01-24 07:42:42 +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
ae5613a1df fix solaris compile problems... take 2. 2004-12-31 04:57:33 +00:00
Ron Pedde
1e17bf8c41 Add gzip content-encoding from patch by Ciamac Moallemi 2004-12-29 05:44:32 +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
c2b27f1836 re-arrange stuff back the way it was, mostly. Fix pidfile generation. 2004-12-09 05:07:09 +00:00
Ron Pedde
f36c8d20d0 fix rend_init before detach bug in main. Oops 2004-12-08 03:20:48 +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
ae0538d347 fix inverted error message 2004-11-22 07:14:37 +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
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
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
31ff9fc39c add --disable-mdns configure option, in prep for win32 build 2004-10-30 16:42:20 +00:00
Ron Pedde
0beb5c10d3 don't rescan the database if nobody is connected 2004-10-25 04:50:59 +00:00
Ron Pedde
7cc249142e Dynamic art for AAC files from Paul Kim 2004-10-15 20:10:39 +00:00
Ron Pedde
87f1e02c86 debug info on background rescans 2004-09-19 06:01:38 +00:00
Ron Pedde
2861761d36 Stop hang while getting db_Version when rescanning 2004-09-19 05:18:17 +00:00
Ron Pedde
32e4d018cb Make logs to stdout when running in foreground 2004-09-19 04:07:03 +00:00
Ron Pedde
537233256b Default browse/query 2004-09-18 04:12:43 +00:00
Ron Pedde
68fa9b7b10 add background rescanning 2004-09-15 04:58:08 +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
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
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
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
40169a7e91 fixed error when not finding cover art 2004-04-17 21:40:47 +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
543e8c1ee1 make gdbm the default 2004-04-06 15:26:46 +00:00
Ron Pedde
451b522dfd fix db_init after dropping privs 2004-04-06 13:44:26 +00:00
Ron Pedde
a551776cf0 Start adding some stats stuff 2004-03-26 20:59:28 +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
c28a956379 Increase logging 2004-03-01 21:12:20 +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
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
7179a157e6 Fix null password problem 2004-01-27 05:30:25 +00:00
Ron Pedde
10f7ca1790 merge new-rend-branch 2004-01-20 04:41:20 +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
c39af59e01 no SIGCLD on OSX 2004-01-04 21:16:20 +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
0df8292d6f add password support 2003-12-09 05:48:30 +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
a98bdfbf66 Oops... memory leak -- forgot to free the daap tree after serializing 2003-12-03 21:31:34 +00:00
Ron Pedde
988f0e5b77 Fork first, ask questions later 2003-12-03 20:18:01 +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
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
25bc6750e1 Add arbitrary seeking 2003-12-01 06:55:05 +00:00
Ron Pedde
6367c53800 Allow graceful shutdown 2003-11-26 06:10:58 +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
718a9a0af3 Add support for named db 2003-11-17 16:38:44 +00:00
Ron Pedde
a01e46d961 Add debugging 2003-11-14 19:19:18 +00:00
Ron Pedde
d780313965 Add status updates 2003-11-14 04:56:20 +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
46aecff93a add status update 2003-11-10 04:00:13 +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
1647bacae6 first time actually listing a file 2003-11-04 06:11:00 +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
506cbcfb03 Up to enumerating the database 2003-10-30 22:42:11 +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
36818cbeb5 Initial revision 2003-10-13 15:03:14 +00:00