589 Commits

Author SHA1 Message Date
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
Justin Maggard
5465380a6d * Increment version number. 2009-10-13 01:22:18 +00:00
Justin Maggard
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
Justin Maggard
ecec767f17 * Add PCM support, assuming defaults of 44.1K and 2 channels. 2009-10-12 21:07:14 +00:00
Justin Maggard
f3d9805d7b * Fix a potential buffer overflow in ProcessSSDPRequest(). 2009-10-09 01:13:07 +00:00
Justin Maggard
9ac3e78991 * Give Quicktime MOV files the right MIME type. 2009-10-05 23:19:13 +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
99174b50b7 * Check .mov files for video content when scanning. 2009-09-29 19:21:04 +00:00
Justin Maggard
b6788cccb0 * Automatically adapt our friendly_name to meet Xbox360 requirements if we detect an Xbox360 client. 2009-09-18 07:53:36 +00:00
Justin Maggard
20f01f4a3d * Make realpath() usage not depend on implementation-specific behavior. 2009-09-16 18:04:10 +00:00
Justin Maggard
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
Justin Maggard
6d288868ca * Only pass resolution details on scaled images if they are requested. 2009-09-14 19:41:15 +00:00
Justin Maggard
bd0aabf933 * Fix a couple DLNA HTTP header errors with resized images. 2009-09-02 01:59:49 +00:00
Justin Maggard
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
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
a78c7c9077 * Some vendor-specific compilation/configuration tweaks. 2009-08-13 17:52:15 +00:00
Justin Maggard
f259479ecf * Don't call WAV files LPCM, because they're disqualified due to endianness. 2009-08-10 21:16:53 +00:00
Justin Maggard
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
Justin Maggard
90dcf17785 * Add Ogg scanning support. 2009-08-07 04:47:35 +00:00
Justin Maggard
aba116a445 * Avoid using '&' in URIs for resized images, to avoid client compatibility issues. 2009-08-06 07:50:12 +00:00
Justin Maggard
e925174081 * Enable JPEG resizing support so we can advertise JPEG_SM images we downscale from JPEG_MED or JPEG_LRG files. 2009-08-06 02:43:45 +00:00
Justin Maggard
51e61e3973 * Track MAC addresses in the client cache (when we can find them); so if we have an expired cache entry, but the MAC hasn't changed, we can assume the original ID is still valid. 2009-07-31 01:41:10 +00:00
Justin Maggard
780ae7ad8b * Add Popcorn Hour support for using the wrong MIME type for FLAC.
* Fix a couple crash bugs with invalid UPnP-A/V SOAP requests.
* Fix WAV file extension support.
2009-07-28 23:17:31 +00:00
Justin Maggard
6fe702f332 * Change sqlte3_mprintf size specifiers to %lld instead of %jd, since sqlite doesn't work with %jd. 2009-07-24 07:53:00 +00:00
Justin Maggard
193c5305f9 * Also warn about old sqlite3 libraries during compile time. 2009-07-23 17:47:02 +00:00