134 Commits

Author SHA1 Message Date
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
Justin Maggard
4efa9d06ac * Make strict DLNA adherence optional. Many products appear to handle JPEGs >4096x4096 classified as JPEG_LRG, and it's better to not downscale if we don't have to. 2009-10-14 21:24:23 +00:00
Justin Maggard
ba29e35bcc * Clean up after some memory allocations before exit so valgrind is happy.
* Fork off the scanner process instead of doing it in another thread, so if libavformat leaks memory it will be cleaned up once scanning is finished.
2009-10-03 02:08:59 +00:00
Justin Maggard
1f29b0cac1 * Include the port number in the default presentation URL. One user claims XBox360 won't work without this. 2009-09-30 00:46:02 +00:00
Justin Maggard
20f01f4a3d * Make realpath() usage not depend on implementation-specific behavior. 2009-09-16 18:04:10 +00:00
Justin Maggard
25861ebf92 * Use our own time-based UUID generation functions, to help eliminate potential compiling issues. 2009-09-01 02:54:20 +00:00
Justin Maggard
193c5305f9 * Also warn about old sqlite3 libraries during compile time. 2009-07-23 17:47:02 +00:00
Justin Maggard
c643cab907 * Add checks and change behavior based the type of sqlite library we're linked to. 2009-07-22 23:00:31 +00:00
Justin Maggard
f1ee94f927 * Prevent a segmentation fault if $LOGNAME is not set during startup. 2009-07-09 22:59:13 +00:00
Justin Maggard
4378b09557 * If the realpath() function does not work with the non-standard "resolved_path == NULL" feature, then just take the conf file at its word that the specified path is correct. 2009-07-09 17:54:26 +00:00
Justin Maggard
2ea232b518 * Print SQLite library version on startup. 2009-07-09 17:40:40 +00:00
Justin Maggard
d1049476ef * Add new options to (1) force a rescan at startup, (2) display help text, and (3) bind to a specified network interface. 2009-06-30 02:05:32 +00:00
Justin Maggard
944729cf12 * Increment version to 1.0.14.
* Fix TiVo beacon issue where it would only broadcast on eth0.
* Fix a couple gcc4.4 warnings.
2009-06-16 01:08:29 +00:00
Justin Maggard
94989f8b15 * Take notifications back out of their own thread, and rely on select timeouts.
* Increment SystemUpdateID as necessary just before processing new HTTP requests.
2009-06-15 22:37:49 +00:00
Justin Maggard
13d9480956 * Fix uninitialized memory condition during shutdown when TiVo support is disabled. 2009-06-09 22:34:23 +00:00
Justin Maggard
27696edf6f * Move SSDP and TiVo beacon notifications to a separate thread. 2009-06-03 20:47:48 +00:00