Commit Graph

396 Commits

Author SHA1 Message Date
1549254753 * Set database pragma for optimal performance on every DB open. 2009-11-17 19:13:00 +00:00
99bd55c463 * Update version to 1.0.16.3. 2009-11-16 23:37:54 +00:00
64a173bd51 * Fix one more spot where we could close an aleady-closed socket. 2009-11-12 01:54:45 +00:00
24ff2a8a1c * Add strstrc() function which helps avoid a couple reads of unitialized memory. 2009-11-12 01:53:40 +00:00
d25f3a6c14 * Add 3GP AAC files to the SourceProtocolInfo list. 2009-11-12 01:52:24 +00:00
f5b2971a8f * Add 3gpp audio support. 2009-11-10 20:11:50 +00:00
71e399b4a6 * Use chunked encoding on resized images, so we can send out the header before transcoding. 2009-11-10 20:09:04 +00:00
db4b8d0a02 * Real proper handling of chunked requests. 2009-11-10 00:01:06 +00:00
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
4073837a34 * Set the conversion-indicator flag on resized images. 2009-11-09 23:57:09 +00:00
516b025eca * Make JPEG resolution parsing work properly on big-endian systems. 2009-11-06 19:03:56 +00:00
a26802539f * Fall back to rudimentary XMP parsing when getting image dates from EXIF fails. 2009-11-05 23:15:29 +00:00
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
6738b8a722 * Fix bug from the previous checkin. 2009-11-02 19:47:57 +00:00
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
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
ef4271cb83 * Fix bug with filter processing, which was introduced by recent uClibc changes. 2009-10-30 17:57:27 +00:00
e685e0be3c * Use faster (lower quality) JPEG scaling methods on all non-x86 machines. 2009-10-28 20:52:59 +00:00
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
41f204029b * Fix some issues with uClibc. 2009-10-28 07:44:45 +00:00
f36047098c * Add bits for static linking. 2009-10-23 23:06:16 +00:00
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
6df206efc0 * Increment DB version number to signify the added TIMESTAMP column. 2009-10-23 02:43:12 +00:00
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
590f0761f4 * Fix Samba copy errors with inotify enabled. 2009-10-23 01:02:40 +00:00
e18cf08880 * Add initial support for 3gp video files.
* Add LPCM to the main SourceProtocolInfo list.
2009-10-21 21:11:57 +00:00
e450ae2b19 * Bump to 1.0.16-pre6 to reflect subtitle support. 2009-10-15 01:36:14 +00:00
f7e525019a * Add SRT subtitle support using Samsung's method. 2009-10-15 00:40:27 +00:00
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
b632bf1704 * Use band name for virtual audio containers when it's available. 2009-10-14 03:01:15 +00:00
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
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
5465380a6d * Increment version number. 2009-10-13 01:22:18 +00:00
1ef627ac3c * Don't trust EXIF to tell us the accurate resolution; instead, parse the JPEG data ourselves.
* Add on-the-fly downscaling for JPEGs too large to fit the JPEG_LRG DLNA profile.
2009-10-13 01:20:19 +00:00
ecec767f17 * Add PCM support, assuming defaults of 44.1K and 2 channels. 2009-10-12 21:07:14 +00:00
f3d9805d7b * Fix a potential buffer overflow in ProcessSSDPRequest(). 2009-10-09 01:13:07 +00:00
9ac3e78991 * Give Quicktime MOV files the right MIME type. 2009-10-05 23:19:13 +00:00
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
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
99174b50b7 * Check .mov files for video content when scanning. 2009-09-29 19:21:04 +00:00
b6788cccb0 * Automatically adapt our friendly_name to meet Xbox360 requirements if we detect an Xbox360 client. 2009-09-18 07:53:36 +00:00
20f01f4a3d * Make realpath() usage not depend on implementation-specific behavior. 2009-09-16 18:04:10 +00:00
bf298f75fb * Default to video/avi MIME type for generic DLNA 1.5 clients, since that seems to be the norm. 2009-09-14 19:42:51 +00:00
6d288868ca * Only pass resolution details on scaled images if they are requested. 2009-09-14 19:41:15 +00:00
bd0aabf933 * Fix a couple DLNA HTTP header errors with resized images. 2009-09-02 01:59:49 +00:00
7f8d3ff7bb * No need to link to libuuid any more, since we have the requisite functions internally now. 2009-09-01 06:28:45 +00:00
25861ebf92 * Use our own time-based UUID generation functions, to help eliminate potential compiling issues. 2009-09-01 02:54:20 +00:00
a78c7c9077 * Some vendor-specific compilation/configuration tweaks. 2009-08-13 17:52:15 +00:00
f259479ecf * Don't call WAV files LPCM, because they're disqualified due to endianness. 2009-08-10 21:16:53 +00:00
d249992cc4 * Use a defined value for max SOAP response size. Previously we would probably crash if a response got over 1MB due. Now we will realloc in 1MB increments until we reach our prefined max response size. This should be useful for clients like djmount, which don't specify a result limit in their request, but also don't handle huge (>1MB) responses. 2009-08-07 23:41:32 +00:00