149 Commits

Author SHA1 Message Date
Justin Maggard
2521b3f238 * Force a rescan if a media_dir has been removed from the configuration. 2012-11-16 08:06:24 +00:00
Justin Maggard
1320eb4ea6 * Update coding style. 2012-11-16 08:01:05 +00:00
Justin Maggard
aee83a3ee6 * Improve how we clean up after ourselves during exit. 2012-11-16 07:40:40 +00:00
Justin Maggard
035fd35ffd * Fix up bad accesses found by valgrind. 2012-11-06 08:24:37 +00:00
Justin Maggard
2e120e83a0 * Add some logging and forking tweaks to work better with systemd. 2012-10-04 21:04:36 +00:00
Justin Maggard
584258c1f8 * Add support for limiting a media dir to multiple media types. 2012-10-03 07:26:00 +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
5f14c68597 * Streamline some TiVo ifdefs. 2012-06-30 00:26:55 +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
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
252bc00cad * Fix a compiling issue with NLS enabled. 2012-03-20 02:15:20 +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
ba7e33a062 * Add support for user-configurable log level settings. 2012-02-14 18:25:39 +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
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
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
773e1f6566 * Add support for other operating systems (kFreeBSD, FreeBSD, and OSX for now).
* Switch to autoconf from genconfig.sh.
2011-09-16 23:39:58 +00:00
Justin Maggard
cb5ab0b1c6 * Add a verbose logging parameter and playlist skipping, based on SF bug #3395238. 2011-09-03 01:54:39 +00:00
Justin Maggard
4857493e4f * Simplify daemonize ifdefs. 2011-09-03 01:32:56 +00:00
Justin Maggard
d5b77cbd46 * Add bookmark support for Samsung TVs. 2011-08-05 20:36:54 +00:00
Justin Maggard
0b3295b701 * Use MiniSSDPd if it is available. (Thanks Thomas Bernard) 2011-07-22 23:03:38 +00:00
Justin Maggard
108fda1e84 * Add the ability to change the root media container. (Thanks to Ivan Mironov) 2011-06-25 00:39:45 +00:00
Justin Maggard
ab2533ea97 * Add PnP-X info for a couple more models. 2011-06-23 17:45:45 +00:00
Justin Maggard
9806103335 * Add support for multiple network interfaces. 2011-05-24 17:20:16 +00:00
Justin Maggard
ec4998ebde * Fix bug where the UpdateID was not being incremented during a full rescan. 2011-04-28 05:47:36 +00:00
Justin Maggard
7f51618f71 * Properly get and use the interface's netmask during LAN address configuration. 2011-04-11 22:52:34 +00:00
Justin Maggard
f7e14ee77c * Add missing newlines for some log messages. 2011-03-30 22:31:39 +00:00
Justin Maggard
b62d77571b * When called with -R, only remove art_cache and files.db in case users use an imporant directory as their db dir.
* Touch up log directory handling.  If there is no log dir, but there is a db dir, store the log in the db dir.
2011-03-12 02:17:27 +00:00
Justin Maggard
e67be3db24 * Allow users to set the location for translation files. 2011-02-18 00:13:38 +00:00
Justin Maggard
f190964ab1 * Finish up the friendly name on ReadyNAS. 2011-02-18 00:00:16 +00:00
Justin Maggard
309499d378 * Add PnP-X support. 2011-02-17 23:17:24 +00:00
Justin Maggard
b6d764ea13 * Fix TiVo beacon support so that we respond to beacons, and drain the socket in the process. 2011-02-17 08:54:02 +00:00
Justin Maggard
14a0d1ac98 * Don't expose album art images in the content directory.
* Support album art name wildcards.
2011-02-14 23:52:10 +00:00
Justin Maggard
8e0fcd56f9 * Complete/clarify license information. 2010-11-11 23:48:14 +00:00
Justin Maggard
bd22632840 * Add a separate option log_dir for the log directory. 2010-10-27 00:51:39 +00:00
Justin Maggard
b66f85936f * Do not delete the DB_PATH when called with -R. 2010-10-27 00:43:37 +00:00
Justin Maggard
291b31f98a * Add basic NLS support, so clients can display localized strings during browsing if it's properly enabled. 2010-07-17 00:47:48 +00:00
Justin Maggard
047165a502 * Free configuration memory from the scanner process before it quits. 2010-06-03 21:58:32 +00:00
Justin Maggard
902b2105df * Allow the user to specify where to keep the database in the config file. 2009-11-19 03:22:35 +00:00
Justin Maggard
1549254753 * Set database pragma for optimal performance on every DB open. 2009-11-17 19:13:00 +00:00
Justin Maggard
c8fe23d838 * Rework the sql_exec function to use format arguments, to simplfy the code.
* Don't set the DB version until after the scan completes.  This way, if only a partial scan has been done, a full scan will be initiated the next time minidlna is started.
2009-11-04 01:38:14 +00:00
Justin Maggard
58ecfd6380 * Implement and use new sql_get_int_field() function to simplify getting integers from the database. 2009-11-02 19:21:38 +00:00
Justin Maggard
f36047098c * Add bits for static linking. 2009-10-23 23:06:16 +00:00
Justin Maggard
745457e814 * Don't use getifaddrs(), since it's not portable; and rework the MAC address reading code. 2009-10-23 22:01:05 +00:00