525 Commits

Author SHA1 Message Date
Justin Maggard
584258c1f8 * Add support for limiting a media dir to multiple media types. 2012-10-03 07:26:00 +00:00
Justin Maggard
fdcdd9ded8 * Fix inotify parsing of new video symlinks. (SF bug #3552473) 2012-08-20 21:30:16 +00:00
Justin Maggard
89c70bab24 * Fix ffmpeg API version checks. (SF bug #3549925) 2012-07-30 19:56:30 +00:00
Justin Maggard
b15a5d144d * Move SearchCriteria parsing to its own function. 2012-07-28 01:17:30 +00:00
Justin Maggard
2d0ae24009 * Do some additional SQL escaping. 2012-07-28 01:16:43 +00:00
Justin Maggard
1de4ef8bc1 * Add configuration option to specify the user to run as. 2012-07-18 18:58:26 +00:00
Justin Maggard
ccc32409c5 * Change some --with options to --enable, and move ROOTDEV_* definitions to config.h. 2012-07-17 07:37:55 +00:00
Justin Maggard
f0c7768533 * Add a flag to tell ParseNameValue() to store empty XML elements. 2012-07-10 21:12:10 +00:00
Justin Maggard
074055aa4d * Fix compiling with certain ffmpeg versions. 2012-07-10 07:51:42 +00:00
Justin Maggard
c64a76a535 * Fix compiling issues after moving is_tivo_file(). 2012-07-07 00:20:30 +00:00
Justin Maggard
5f14c68597 * Streamline some TiVo ifdefs. 2012-06-30 00:26:55 +00:00
Justin Maggard
61fbce18ba * Replace sqlite_int64 with int64_t in many places, to better allow for the possibility of other databases. (Thanks Douglas Carmichael) 2012-06-29 23:14:27 +00:00
Justin Maggard
2c7a3bfc06 * Add support for the latest ffmpeg/libav library versions. 2012-06-29 21:06:23 +00:00
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