Commit Graph

641 Commits

Author SHA1 Message Date
Ron Pedde
5917ca0cda trivial logging 2006-03-07 07:02:34 +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
d53e2f83e4 revert to 1.11 2006-03-06 08:32:43 +00:00
Ron Pedde
f79756769a more attempts at sqlite3 fixage 2006-03-06 08:29:58 +00:00
Ron Pedde
f037a53452 crazy fixes for sqlite3 2006-03-06 07:48:53 +00:00
Ron Pedde
11650fbf76 fix typo 2006-03-06 06:55:58 +00:00
Ron Pedde
0c05af2610 finalize on error on enum_fetch 2006-03-06 06:55:51 +00:00
Ron Pedde
a6248dfc98 Add sqlite3, fix minor compilation problems 2006-03-06 06:29:03 +00:00
Ron Pedde
dad6b9e9d5 add debugging code to try and find the sqlite3 double-free bug 2006-03-06 01:35:49 +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
4b728b899d Fix some races in sqlite3 2006-03-05 05:40:48 +00:00
Ron Pedde
1e48e88215 Add ability to concat title and artist on compilation tracks 2006-03-05 02:03:11 +00:00
Ron Pedde
9e5f21db7f fix for STDERR problem in rend-unix 2006-03-05 02:02:15 +00:00
Ron Pedde
ea2eeb24b1 Fix byte order problem on wrong-endian machines 2006-03-05 02:01:46 +00:00
Ron Pedde
58236d00c1 close STDERR on fork 2006-03-05 02:01:22 +00:00
Ron Pedde
97fea2ff84 Fix play count updating 2006-03-04 08:29:57 +00:00
Ron Pedde
90d5e1fa4c Fix problem with relative paths in config file 2006-03-03 06:05:34 +00:00
Ron Pedde
e53562943f still need to update atom and type for new metas 2006-03-02 07:03:48 +00:00
Ron Pedde
c92b0ed841 Fix configfile errors 2006-03-02 05:17:47 +00:00
Ron Pedde
6a824aa09a Fix for iTunes 6.0.4 2006-03-02 00:39:52 +00:00
Ron Pedde
64415a5c42 fix bug in opendir/readdir emulation 2006-03-01 23:25:50 +00:00
Ron Pedde
d44bd674c1 fix wait3 problem on linux 2006-02-28 05:23:59 +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
0918494faf unused variables 2006-02-27 22:55:05 +00:00
Ron Pedde
096a2a4dbc make more ansi-ish 2006-02-27 22:54:40 +00:00
Ron Pedde
940cfed25e fix typo 2006-02-27 22:53:57 +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
4402588e2d Finish out the config file stuff. Only missing comment preservation now 2006-02-21 23:19:53 +00:00
Ron Pedde
1d0a3c4149 More fixes for new config system 2006-02-21 03:08:14 +00:00
Ron Pedde
87f84ded09 Work on config fetching functions 2006-02-20 03:56:47 +00:00
Ron Pedde
2915c1e9c9 Annoying fprintf 2006-02-20 03:36:57 +00:00
Ron Pedde
b5abd3faf9 Minor updates 2006-02-14 06:39:06 +00:00
Ron Pedde
3d27be7405 More incremental config changes 2006-02-08 23:02:43 +00:00
Ron Pedde
49e9b3be32 slowly working on the config changes 2006-02-05 00:22:46 +00:00
Ron Pedde
9bfbfa8615 Herman's web interface fixes 2006-01-26 15:08:11 +00:00
Ron Pedde
593bcda38f just saving my changes 2006-01-25 22:31:53 +00:00
Ron Pedde
a6f5be301c More config file changes 2006-01-24 23:41:05 +00:00
Ron Pedde
6efb792704 Implement playcount updating 2006-01-24 04:17:38 +00:00
Ron Pedde
048bef92ed Initial checkin 2006-01-24 00:18:42 +00:00
Ron Pedde
b20dece00b Only use transactions on reload to avoid busy errors 2006-01-20 15:55:51 +00:00
Ron Pedde
2967af19ea stop file collissions with sqlite2 2006-01-20 15:52:42 +00:00
Ron Pedde
bf9e414169 Fix races in enum 2006-01-17 21:35:39 +00:00
Ron Pedde
c7233f0947 bubble parse errors up to the web interface 2006-01-16 22:28:26 +00:00
Ron Pedde
31879fd091 add true/false definitions here 2006-01-16 22:28:08 +00:00
Ron Pedde
4116a68166 fix parse error 2006-01-16 22:27:49 +00:00
Ron Pedde
4b7b5d78fc Add diego's configure patches 2006-01-16 20:23:50 +00:00
Ron Pedde
38ad8000f6 fix typo 2006-01-16 20:13:35 +00:00
Ron Pedde
961f986414 semicolon fix 2006-01-16 10:11:33 +00:00
Ron Pedde
7e65fd67f4 Fix problem with values with % in them 2006-01-13 22:23:42 +00:00
Ron Pedde
8dfea7dee3 Add video support for m4v files 2006-01-12 08:10:48 +00:00
Ron Pedde
7b6560c651 typo 2006-01-12 06:53:25 +00:00
Ron Pedde
40ab6dfb01 Preserve playlists on db upgrades 2006-01-12 06:20:15 +00:00
Ron Pedde
10b5d73ca0 Fix deadlock in updating playlists 2006-01-12 00:39:50 +00:00
Ron Pedde
b02eed1195 fix the hidden directory thing 2006-01-12 00:36:05 +00:00
Ron Pedde
01180d60f1 return id from db_add 2006-01-10 23:57:43 +00:00
Ron Pedde
2e00839a36 Fix thinko breaking static playlists 2006-01-10 06:00:21 +00:00
Ron Pedde
55bc7986de Fix problem with blank db_dirs, now that it isn't necessary anymore :) 2006-01-07 08:22:23 +00:00
Ron Pedde
c0752c13ac fix playlist fd leak 2006-01-07 08:15:51 +00:00
Ron Pedde
4e6219272a Fix problem with key violations on updates from itunes xml 2006-01-07 07:42:44 +00:00
Ron Pedde
f1acc3bc88 Add sqlite3 files 2006-01-06 19:11:01 +00:00
Ron Pedde
3a6ec603a1 add sqlite3 support 2006-01-06 17:43:38 +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
56502cee62 abstract out the db function pointers 2006-01-05 22:43:45 +00:00
Ron Pedde
b0c2a64a63 Fix index bug 2006-01-05 18:57:38 +00:00
Ron Pedde
60555d9f8d Fix playlist count problem 2006-01-05 15:35:36 +00:00
Ron Pedde
1418a64dc9 Fix frees for nulled error pointers, other minor problems 2006-01-04 23:46:15 +00:00
Ron Pedde
86b45a028e abstract database somewhat, improve error handling 2006-01-04 20:30:44 +00:00
Ron Pedde
24f40d7956 Fixes for not, add startswith and endswith operators 2005-12-13 20:42:03 +00:00
Ron Pedde
869aa94de4 Finish stats xml-rpc method 2005-11-23 04:11:04 +00:00
Ron Pedde
d0d246735e oops 2005-11-21 05:26:12 +00:00
Ron Pedde
3fe312ead6 Support infrastructure for simpler xml handler. 2005-11-20 09:50:50 +00:00
Ron Pedde
3ac71ba469 Add Timo's metacharacter escaping code and codectype passed to scripts 2005-11-20 06:42:03 +00:00
Ron Pedde
d4dfc17671 Shell-escape proper metachars before popening 2005-11-19 09:02:13 +00:00
Ron Pedde
6dba7aab41 Bullwinkle: Hey Rocky -- watch me pull a rabbit out of my hat. Rocky: Again? 2005-11-17 07:20:50 +00:00
Ron Pedde
381dc7eade back out the connection persist force 2005-11-17 05:14:52 +00:00
Ron Pedde
0851b29812 *really* fixed the race this time 2005-11-17 05:09:42 +00:00
Ron Pedde
5733445333 fix some more trivial problems 2005-11-16 05:03:17 +00:00
Ron Pedde
51274d7b03 Show idle threads in thread status 2005-11-15 07:41:50 +00:00
Ron Pedde
a9e2d3a1b5 close fixes, obvious bug in webserver.c 2005-11-15 07:27:14 +00:00
Ron Pedde
9f5eabdabf fix obvious error in thread enumeration 2005-11-15 06:43:31 +00:00
Ron Pedde
c52a0c9986 workaround for client that claim http 1.0 2005-11-14 05:40:54 +00:00
Ron Pedde
a57b002243 Fix for races in thread status 2005-11-14 04:30:12 +00:00
Ron Pedde
dee22896a8 codectype transcoding 2005-11-11 23:52:42 +00:00
Ron Pedde
230eaa0aba fix xml-rpc for thread status 2005-11-07 06:13:10 +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
a35a59af31 Add date parsing and unary negate operator 2005-11-06 21:06:07 +00:00
Ron Pedde
f127d8cb58 allow editing of smart playlists 2005-11-03 05:02:17 +00:00
Ron Pedde
88ab086900 musepack fixes by slomo 2005-11-03 03:46:26 +00:00
Ron Pedde
0821b9ce9d musepack support from slomo 2005-11-02 04:45:25 +00:00
Ron Pedde
679f253de8 Build indexes on playlists, comment out the playlist order stuff, until further investigation 2005-10-31 23:44:16 +00:00
Ron Pedde
eefb9939b9 Start of date-based playlists 2005-10-29 21:23:43 +00:00
Ron Pedde
cb42785a36 xing header alignment problems fix, hat tip to Paul Forgey 2005-10-29 15:49:11 +00:00
Ron Pedde
fc2c656317 nslu fix for tag lenth in xml serialization 2005-10-26 07:13:53 +00:00
Ron Pedde
97652ba6fa simpler queries for nslu2... speed up playlist enumeration 2005-10-26 06:23:27 +00:00
Ron Pedde
64e1af83a4 Fixes for mlit to xml translation with string length of 0, suggested by Stefan Bruns 2005-10-26 06:00:54 +00:00
Ron Pedde
4c89c687a6 pidfile patches from Diego Petteno 2005-10-26 05:10:19 +00:00
Ron Pedde
283261585d Fix dist files 2005-10-24 06:14:36 +00:00