712 Commits

Author SHA1 Message Date
Justin Maggard
78af8c3d6e * Reduce variable scope a couple places. 2012-06-26 18:32:45 +00:00
Justin Maggard
5632e760f5 * Fix a possible file descriptor leak. 2012-06-26 18:23:04 +00:00
Justin Maggard
cf8ddddcce * Clean up some potential buffer overruns. (SF bug #3536546) 2012-06-26 18:13:48 +00:00
Justin Maggard
ba162fc082 * Add flag to force downscaled thumbnails rather than using embedded ones.
* Add DirecTV client detection.
2012-05-31 18:37:22 +00:00
Justin Maggard
bca5a24a57 * Force a rescan if a new media_dir is detected. 2012-05-22 22:38:29 +00:00
Justin Maggard
110300b44e * Listen for SIGCHLD while scanning, so we can immediately add inotify watches after a scan. 2012-05-17 07:49:24 +00:00
Justin Maggard
a41c137e1f * Add manual configuration of the UUID. (Thanks Fred Dullemond) 2012-05-16 01:28:58 +00:00
Justin Maggard
2661cd8a0c * Move database-specific DB creation bits to a separate file. 2012-05-16 01:22:11 +00:00
Justin Maggard
2383bd97fe * Improve error checking for UPnP events. 2012-05-10 22:34:05 +00:00
Justin Maggard
12257dff81 * Better compliance with DLNA requirement 7.3.67.4. 2012-05-07 17:27:30 +00:00
Justin Maggard
58433d3fad * Fix up error handling when given a bad order in SortCriteria. 2012-04-07 16:47:13 +00:00
Justin Maggard
755c81fd34 * Forcibly tweak the model number for Xbox360 clients, or they might ignore us. 2012-04-04 18:24:21 +00:00
Justin Maggard
40f3664390 * Fix warn_unused_result compiler warnings with FORTIFY_SOURCE defined. 2012-03-28 08:15:15 +00:00
Justin Maggard
29738ed064 * Correctly proccess paths with brackets. 2012-03-28 06:43:28 +00:00
Justin Maggard
252bc00cad * Fix a compiling issue with NLS enabled. 2012-03-20 02:15:20 +00:00
Justin Maggard
0b8a6c6443 * Fix compiling on FreeBSD. (Thanks Douglas Carmichael) 2012-03-19 21:43:29 +00:00
Justin Maggard
cabbd0b1de * Use an asprintf wrapper, to report errors and NULLify the result. 2012-03-14 17:57:21 +00:00
Justin Maggard
c9d979886b * Handle some (apparently) common WAV file malformations. 2012-03-14 08:38:59 +00:00
Justin Maggard
25c74a3962 * Fix a crash bug on some oddly-formed WAV files. 2012-03-08 18:11:01 +00:00
Justin Maggard
0a0be0d96c * Add a MAXDEBUG log level. 2012-03-08 18:09:55 +00:00
Justin Maggard
7f3c4349f4 * Improve handling of the media_dir setting. 2012-02-28 07:36:14 +00:00
Justin Maggard
638c4a45d9 * Tweak log levels for some messages. 2012-02-25 01:10:23 +00:00
Justin Maggard
aea5da4107 * Require absolute filename for pidfile. (Thanks Andrea Biardi) 2012-02-23 06:12:58 +00:00
Justin Maggard
ef7f537bee * Only remove the pidfile if one was written in the first place. (Thanks Andrea Biardi) 2012-02-23 05:55:50 +00:00
Justin Maggard
a156e780a3 * Make the DPRINTF macro more robust. (Thanks Andrea Biardi) 2012-02-23 05:42:12 +00:00
Justin Maggard
3d44a79098 * Force strict error checking a couple other places when strict_dlna mode is enabled. 2012-02-17 01:21:14 +00:00
Justin Maggard
6b5e121f13 * Add DLNA.ORG_FLAGS support, and clean up transferMode support. 2012-02-14 18:43:35 +00:00
Justin Maggard
ba7e33a062 * Add support for user-configurable log level settings. 2012-02-14 18:25:39 +00:00
Justin Maggard
774d8f9f6e * Properly escape double quotes. 2012-02-13 23:07:40 +00:00
Justin Maggard
996b373f83 * Improve error checking for DLNA CTT compliance. 2012-02-13 23:03:42 +00:00
Justin Maggard
a40b085d07 * Support filtering of the upnp:storageUsed property. 2012-02-13 22:54:31 +00:00
Justin Maggard
6fcd16985e * Miscellaneous minor cleanups for string termination and unfreed memory at exit. 2012-02-13 22:48:48 +00:00
Justin Maggard
0687d8f6d8 * Trim the camera model from EXIF tags. 2012-02-13 22:44:36 +00:00
Justin Maggard
8634fec6ff * Fix potential double-free in one error condition. 2012-02-13 22:42:08 +00:00
Justin Maggard
cefe05677d * Use proper SSDP TTL of 4, instead of 1. 2012-02-13 22:39:54 +00:00
Justin Maggard
ab33ab34bc * Fix false positives in playlist caching optimization when we have duplicate file names in different directories. 2012-02-10 23:35:11 +00:00
Justin Maggard
6064099fb0 * Handle an empty DeviceID from Zyxel media player SOAP request. 2012-02-05 20:21:48 +00:00
Justin Maggard
ef70eada7d * Fix inotify detection of caption file removal. 2012-01-31 01:17:00 +00:00
Justin Maggard
6119262fa4 * Fix playlist browsing with no SortOrder specified. (SF bug #3481524) 2012-01-31 00:47:34 +00:00
Justin Maggard
fe581c5e7f * Fix a couple errors in the rotation code. 2012-01-23 18:51:48 +00:00
Justin Maggard
8298a15490 * Fix the daemon() configure test. 2012-01-22 00:36:18 +00:00
Justin Maggard
c5bb5c84b3 * Add image rotation support during resize. (mostly useful for TiVo) 2012-01-22 00:33:55 +00:00
Justin Maggard
6820d05143 * Fix a potential segfault on requests for existing objects with no path. (Thanks Dominic) 2012-01-21 18:09:04 +00:00
Justin Maggard
08172a4ed2 * Enhance error checking in some additional places as required by the latest UPnP CTT. 2012-01-21 01:00:26 +00:00
Justin Maggard
cfe7fa9b88 * Resizing from thumbnails isn't useful now that we are using JPEG pre-scaling. 2012-01-18 01:57:27 +00:00
Justin Maggard
e9be5bc877 * Add status function. 2012-01-13 20:47:30 +00:00
Justin Maggard
f86a8320cb * Give a more thorough error message for a certain failed sqlite operation. 2012-01-10 02:51:28 +00:00
Justin Maggard
1aa540c4b5 * Rework how we do some very early-stage logging, and clean up a few warnings. 2012-01-10 02:50:33 +00:00
Justin Maggard
6eb9cc7054 * Fix a strange SQL error adding watches, and clean up some warnings. 2012-01-10 02:48:24 +00:00
Justin Maggard
889a531ecd * Add workarounds for LifeTab tablets' bad behavior. 2012-01-09 08:03:15 +00:00