414 Commits

Author SHA1 Message Date
Justin Maggard
3673e07cff * Store the root XML element when parsing, and make sure we don't write to memory we shouldn't be writing to. 2010-06-03 21:59:18 +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
6b1ae89af6 * Skip hidden entries when scanning newly found directories. 2010-06-03 21:56:53 +00:00
Justin Maggard
310f928fab * Fix memory leak in cases where XMP parsing fails. 2010-06-03 21:56:00 +00:00
Justin Maggard
cfe45db393 * Forgot to remove a line from last checkin. 2010-03-18 21:37:39 +00:00
Justin Maggard
b26661dae2 * Add LPCM MIME to extension conversion. 2010-03-18 21:34:27 +00:00
Justin Maggard
8d228d6c5b * Add MIME to extension mapping for quicktime and 3gpp video files. 2010-03-18 21:07:38 +00:00
Justin Maggard
9c83541dc6 * Handle whitespace between filter args. 2010-03-17 23:28:37 +00:00
Justin Maggard
538379f99d * Add static linking hint. 2010-03-17 23:26:57 +00:00
Justin Maggard
b0d5feb2a1 * Detect and ignore recursive symbolic links. 2010-02-23 17:47:17 +00:00
Justin Maggard
3934bf4448 * Fix issue with playlists containing a single quote.
* Ignore bad playlists containing binary data.
2010-02-22 22:22:03 +00:00
Justin Maggard
c441187d2a * Fix a couple potential buffer overflows. 2010-01-28 20:26:38 +00:00
Justin Maggard
346ff6e293 * Add M3U/PLS music playlist support. 2010-01-13 21:15:26 +00:00
Justin Maggard
4aafa5e4ed * Handle "res exists" search criteria. 2009-12-17 18:55:44 +00:00
Justin Maggard
15f258bc1a * Make UPnPSearch case insensitive like it's supposed to be. 2009-11-25 00:03:10 +00:00
Justin Maggard
953142080c * Missed one place for the recent db_path change. (Thanks stedy6!) 2009-11-19 18:34:42 +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
808fc6f459 * Make UPnPSearch using the "contains" keyword work properly with substring searches. 2009-11-19 02:34:36 +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
99bd55c463 * Update version to 1.0.16.3. 2009-11-16 23:37:54 +00:00
Justin Maggard
64a173bd51 * Fix one more spot where we could close an aleady-closed socket. 2009-11-12 01:54:45 +00:00
Justin Maggard
24ff2a8a1c * Add strstrc() function which helps avoid a couple reads of unitialized memory. 2009-11-12 01:53:40 +00:00
Justin Maggard
d25f3a6c14 * Add 3GP AAC files to the SourceProtocolInfo list. 2009-11-12 01:52:24 +00:00
Justin Maggard
f5b2971a8f * Add 3gpp audio support. 2009-11-10 20:11:50 +00:00
Justin Maggard
71e399b4a6 * Use chunked encoding on resized images, so we can send out the header before transcoding. 2009-11-10 20:09:04 +00:00
Justin Maggard
db4b8d0a02 * Real proper handling of chunked requests. 2009-11-10 00:01:06 +00:00
Justin Maggard
c4170af521 * Add a no-resize flag, which tells us to to advertise downscaled images. Useful for clients like Samsung TVs, which can use large images well, but will use downscaled small images when given a choice. 2009-11-10 00:00:09 +00:00
Justin Maggard
4073837a34 * Set the conversion-indicator flag on resized images. 2009-11-09 23:57:09 +00:00
Justin Maggard
516b025eca * Make JPEG resolution parsing work properly on big-endian systems. 2009-11-06 19:03:56 +00:00
Justin Maggard
a26802539f * Fall back to rudimentary XMP parsing when getting image dates from EXIF fails. 2009-11-05 23:15:29 +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
6738b8a722 * Fix bug from the previous checkin. 2009-11-02 19:47:57 +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
9712e90bdd * Enlarge the DLNA buffer, since it was a couple bytes too small for a couple profiles. 2009-11-02 18:51:56 +00:00
Justin Maggard
ef4271cb83 * Fix bug with filter processing, which was introduced by recent uClibc changes. 2009-10-30 17:57:27 +00:00
Justin Maggard
e685e0be3c * Use faster (lower quality) JPEG scaling methods on all non-x86 machines. 2009-10-28 20:52:59 +00:00
Justin Maggard
db25ccd095 * Fix one more uClibc issue with reading boot_id in the absense of a system MAC address. 2009-10-28 19:26:38 +00:00
Justin Maggard
41f204029b * Fix some issues with uClibc. 2009-10-28 07:44:45 +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
6df206efc0 * Increment DB version number to signify the added TIMESTAMP column. 2009-10-23 02:43:12 +00:00
Justin Maggard
0f0d22c2f5 * Update database entries if inotify catches a file CLOSE_WRITE and the modify time is newer than the last recorded time in the database. 2009-10-23 02:38:42 +00:00
Justin Maggard
590f0761f4 * Fix Samba copy errors with inotify enabled. 2009-10-23 01:02:40 +00:00
Justin Maggard
e18cf08880 * Add initial support for 3gp video files.
* Add LPCM to the main SourceProtocolInfo list.
2009-10-21 21:11:57 +00:00
Justin Maggard
e450ae2b19 * Bump to 1.0.16-pre6 to reflect subtitle support. 2009-10-15 01:36:14 +00:00
Justin Maggard
f7e525019a * Add SRT subtitle support using Samsung's method. 2009-10-15 00:40:27 +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
b632bf1704 * Use band name for virtual audio containers when it's available. 2009-10-14 03:01:15 +00:00
Justin Maggard
e777a93a5e * Remove ALBUM_ART_PN from the database, since it's forced to be JPEG_TN now.
* Add a DISC entry to the database, so when the client sorts a multi-disc audio album by track, we can sort by disc first.
2009-10-14 01:14:10 +00:00
Justin Maggard
7c62467398 * Better handling for extremely large JPEGs: expose the full image, JPEG_LRG, JPEG_SM, and thumbnail if the image is >4096x4096. 2009-10-13 22:51:45 +00:00