223 Commits

Author SHA1 Message Date
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
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
0d069effd9 * Fix some minor 64-bit compilation issues. 2009-07-17 22:54:31 +00:00
Justin Maggard
1a5e1a6de9 * Add hacks to make .mkv support work on Samsung TVs. 2009-07-13 18:00:06 +00:00
Justin Maggard
35b8bf2f09 * Don't bother analyzing a cover art jpg multiple times, once for each file in the directory. If it exists, just use it. 2009-07-10 01:54:08 +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
b1f4c35017 * If a new file is noticed by inotify, check if it is cover art for existing files, and update them if so. 2009-07-08 19:20:32 +00:00
Justin Maggard
038356bf78 * Add chkconfig compatibility to the startup script. 2009-07-02 00:33:15 +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
efc2ab6b2b * Consider MIME workarounds when doing MIME->extension conversion. 2009-06-30 02:03:07 +00:00
Justin Maggard
885427c569 * If we can't get a video stream bitrate, leave it NULL instead of calling it 0. 2009-06-30 02:01:34 +00:00
Justin Maggard
6e9fdd9a94 * Use the proper config directory. 2009-06-26 22:25:53 +00:00
Justin Maggard
9aa86698f7 * Remove unused file. 2009-06-26 22:25:09 +00:00
Justin Maggard
72645807b1 * Explicitly sort TiVo music by track then title, because TiVo will never ask us to sort by track. 2009-06-26 19:08:09 +00:00
Justin Maggard
1c7c19f796 * Read configuration to determine which inotify header to use. 2009-06-26 19:07:15 +00:00