Commit Graph

  • 2b611ba8e2 Update version number to 1.0.18 to reflect nfo parsing and TiVo changes. Justin Maggard 2010-06-03 22:06:36 +00:00
  • 35c727e77d * Add very basic nfo parsing support. * Rework how some of the metadata is stored and freed, to be more consistent. Justin Maggard 2010-06-03 22:03:34 +00:00
  • 100ba2835c * Send the comment field as program description when sharing TiVo items. * Separate out Title from EpisodeTitle. Justin Maggard 2010-06-03 22:00:48 +00:00
  • 3673e07cff * Store the root XML element when parsing, and make sure we don't write to memory we shouldn't be writing to. Justin Maggard 2010-06-03 21:59:18 +00:00
  • 047165a502 * Free configuration memory from the scanner process before it quits. Justin Maggard 2010-06-03 21:58:32 +00:00
  • 6b1ae89af6 * Skip hidden entries when scanning newly found directories. Justin Maggard 2010-06-03 21:56:53 +00:00
  • 310f928fab * Fix memory leak in cases where XMP parsing fails. Justin Maggard 2010-06-03 21:56:00 +00:00
  • cfe45db393 * Forgot to remove a line from last checkin. Justin Maggard 2010-03-18 21:37:39 +00:00
  • b26661dae2 * Add LPCM MIME to extension conversion. Justin Maggard 2010-03-18 21:34:27 +00:00
  • 8d228d6c5b * Add MIME to extension mapping for quicktime and 3gpp video files. Justin Maggard 2010-03-18 21:07:38 +00:00
  • 9c83541dc6 * Handle whitespace between filter args. Justin Maggard 2010-03-17 23:28:37 +00:00
  • 538379f99d * Add static linking hint. Justin Maggard 2010-03-17 23:26:57 +00:00
  • b0d5feb2a1 * Detect and ignore recursive symbolic links. Justin Maggard 2010-02-23 17:47:17 +00:00
  • 3934bf4448 * Fix issue with playlists containing a single quote. * Ignore bad playlists containing binary data. Justin Maggard 2010-02-22 22:22:03 +00:00
  • c441187d2a * Fix a couple potential buffer overflows. Justin Maggard 2010-01-28 20:26:38 +00:00
  • 346ff6e293 * Add M3U/PLS music playlist support. Justin Maggard 2010-01-13 21:15:26 +00:00
  • 4aafa5e4ed * Handle "res exists" search criteria. Justin Maggard 2009-12-17 18:55:44 +00:00
  • 15f258bc1a * Make UPnPSearch case insensitive like it's supposed to be. Justin Maggard 2009-11-25 00:03:10 +00:00
  • 953142080c * Missed one place for the recent db_path change. (Thanks stedy6!) Justin Maggard 2009-11-19 18:34:42 +00:00
  • 902b2105df * Allow the user to specify where to keep the database in the config file. Justin Maggard 2009-11-19 03:22:35 +00:00
  • 808fc6f459 * Make UPnPSearch using the "contains" keyword work properly with substring searches. Justin Maggard 2009-11-19 02:34:36 +00:00
  • 1549254753 * Set database pragma for optimal performance on every DB open. Justin Maggard 2009-11-17 19:13:00 +00:00
  • 99bd55c463 * Update version to 1.0.16.3. Justin Maggard 2009-11-16 23:37:54 +00:00
  • 64a173bd51 * Fix one more spot where we could close an aleady-closed socket. Justin Maggard 2009-11-12 01:54:45 +00:00
  • 24ff2a8a1c * Add strstrc() function which helps avoid a couple reads of unitialized memory. Justin Maggard 2009-11-12 01:53:40 +00:00
  • d25f3a6c14 * Add 3GP AAC files to the SourceProtocolInfo list. Justin Maggard 2009-11-12 01:52:24 +00:00
  • f5b2971a8f * Add 3gpp audio support. Justin Maggard 2009-11-10 20:11:50 +00:00
  • 71e399b4a6 * Use chunked encoding on resized images, so we can send out the header before transcoding. Justin Maggard 2009-11-10 20:09:04 +00:00
  • db4b8d0a02 * Real proper handling of chunked requests. Justin Maggard 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. Justin Maggard 2009-11-10 00:00:09 +00:00
  • 4073837a34 * Set the conversion-indicator flag on resized images. Justin Maggard 2009-11-09 23:57:09 +00:00
  • 516b025eca * Make JPEG resolution parsing work properly on big-endian systems. Justin Maggard 2009-11-06 19:03:56 +00:00
  • a26802539f * Fall back to rudimentary XMP parsing when getting image dates from EXIF fails. Justin Maggard 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. Justin Maggard 2009-11-04 01:38:14 +00:00
  • 6738b8a722 * Fix bug from the previous checkin. Justin Maggard 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. Justin Maggard 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. Justin Maggard 2009-11-02 18:51:56 +00:00
  • ef4271cb83 * Fix bug with filter processing, which was introduced by recent uClibc changes. Justin Maggard 2009-10-30 17:57:27 +00:00
  • e685e0be3c * Use faster (lower quality) JPEG scaling methods on all non-x86 machines. Justin Maggard 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. Justin Maggard 2009-10-28 19:26:38 +00:00
  • 41f204029b * Fix some issues with uClibc. Justin Maggard 2009-10-28 07:44:45 +00:00
  • f36047098c * Add bits for static linking. Justin Maggard 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. Justin Maggard 2009-10-23 22:01:05 +00:00
  • 6df206efc0 * Increment DB version number to signify the added TIMESTAMP column. Justin Maggard 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. Justin Maggard 2009-10-23 02:38:42 +00:00
  • 590f0761f4 * Fix Samba copy errors with inotify enabled. Justin Maggard 2009-10-23 01:02:40 +00:00
  • e18cf08880 * Add initial support for 3gp video files. * Add LPCM to the main SourceProtocolInfo list. Justin Maggard 2009-10-21 21:11:57 +00:00
  • e450ae2b19 * Bump to 1.0.16-pre6 to reflect subtitle support. Justin Maggard 2009-10-15 01:36:14 +00:00
  • f7e525019a * Add SRT subtitle support using Samsung's method. Justin Maggard 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. Justin Maggard 2009-10-14 21:24:23 +00:00
  • b632bf1704 * Use band name for virtual audio containers when it's available. Justin Maggard 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. Justin Maggard 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. Justin Maggard 2009-10-13 22:51:45 +00:00
  • 5465380a6d * Increment version number. Justin Maggard 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. Justin Maggard 2009-10-13 01:20:19 +00:00
  • ecec767f17 * Add PCM support, assuming defaults of 44.1K and 2 channels. Justin Maggard 2009-10-12 21:07:14 +00:00
  • f3d9805d7b * Fix a potential buffer overflow in ProcessSSDPRequest(). Justin Maggard 2009-10-09 01:13:07 +00:00
  • 9ac3e78991 * Give Quicktime MOV files the right MIME type. Justin Maggard 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. Justin Maggard 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. Justin Maggard 2009-09-30 00:46:02 +00:00
  • 99174b50b7 * Check .mov files for video content when scanning. Justin Maggard 2009-09-29 19:21:04 +00:00
  • b6788cccb0 * Automatically adapt our friendly_name to meet Xbox360 requirements if we detect an Xbox360 client. Justin Maggard 2009-09-18 07:53:36 +00:00
  • 20f01f4a3d * Make realpath() usage not depend on implementation-specific behavior. Justin Maggard 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. Justin Maggard 2009-09-14 19:42:51 +00:00
  • 6d288868ca * Only pass resolution details on scaled images if they are requested. Justin Maggard 2009-09-14 19:41:15 +00:00
  • bd0aabf933 * Fix a couple DLNA HTTP header errors with resized images. Justin Maggard 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. Justin Maggard 2009-09-01 06:28:45 +00:00
  • 25861ebf92 * Use our own time-based UUID generation functions, to help eliminate potential compiling issues. Justin Maggard 2009-09-01 02:54:20 +00:00
  • a78c7c9077 * Some vendor-specific compilation/configuration tweaks. Justin Maggard 2009-08-13 17:52:15 +00:00
  • f259479ecf * Don't call WAV files LPCM, because they're disqualified due to endianness. Justin Maggard 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. Justin Maggard 2009-08-07 23:41:32 +00:00
  • 90dcf17785 * Add Ogg scanning support. Justin Maggard 2009-08-07 04:47:35 +00:00
  • aba116a445 * Avoid using '&' in URIs for resized images, to avoid client compatibility issues. Justin Maggard 2009-08-06 07:50:12 +00:00
  • e925174081 * Enable JPEG resizing support so we can advertise JPEG_SM images we downscale from JPEG_MED or JPEG_LRG files. Justin Maggard 2009-08-06 02:43:45 +00:00
  • 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. Justin Maggard 2009-07-31 01:41:10 +00:00
  • 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. Justin Maggard 2009-07-28 23:17:31 +00:00
  • 6fe702f332 * Change sqlte3_mprintf size specifiers to %lld instead of %jd, since sqlite doesn't work with %jd. Justin Maggard 2009-07-24 07:53:00 +00:00
  • 193c5305f9 * Also warn about old sqlite3 libraries during compile time. Justin Maggard 2009-07-23 17:47:02 +00:00
  • c643cab907 * Add checks and change behavior based the type of sqlite library we're linked to. Justin Maggard 2009-07-22 23:00:31 +00:00
  • 0d069effd9 * Fix some minor 64-bit compilation issues. Justin Maggard 2009-07-17 22:54:31 +00:00
  • 1a5e1a6de9 * Add hacks to make .mkv support work on Samsung TVs. Justin Maggard 2009-07-13 18:00:06 +00:00
  • 35b8bf2f09 * Don't bother analyzing a cover art jpg multiple times, once for each file in the directory. If it exists, just use it. Justin Maggard 2009-07-10 01:54:08 +00:00
  • f1ee94f927 * Prevent a segmentation fault if $LOGNAME is not set during startup. Justin Maggard 2009-07-09 22:59:13 +00:00
  • 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. Justin Maggard 2009-07-09 17:54:26 +00:00
  • 2ea232b518 * Print SQLite library version on startup. Justin Maggard 2009-07-09 17:40:40 +00:00
  • b1f4c35017 * If a new file is noticed by inotify, check if it is cover art for existing files, and update them if so. Justin Maggard 2009-07-08 19:20:32 +00:00
  • 038356bf78 * Add chkconfig compatibility to the startup script. Justin Maggard 2009-07-02 00:33:15 +00:00
  • d1049476ef * Add new options to (1) force a rescan at startup, (2) display help text, and (3) bind to a specified network interface. Justin Maggard 2009-06-30 02:05:32 +00:00
  • efc2ab6b2b * Consider MIME workarounds when doing MIME->extension conversion. Justin Maggard 2009-06-30 02:03:07 +00:00
  • 885427c569 * If we can't get a video stream bitrate, leave it NULL instead of calling it 0. Justin Maggard 2009-06-30 02:01:34 +00:00
  • 6e9fdd9a94 * Use the proper config directory. Justin Maggard 2009-06-26 22:25:53 +00:00
  • 9aa86698f7 * Remove unused file. Justin Maggard 2009-06-26 22:25:09 +00:00
  • 72645807b1 * Explicitly sort TiVo music by track then title, because TiVo will never ask us to sort by track. Justin Maggard 2009-06-26 19:08:09 +00:00
  • 1c7c19f796 * Read configuration to determine which inotify header to use. Justin Maggard 2009-06-26 19:07:15 +00:00
  • e0b88d2101 * Looks like Samsung TV's want the improper MIME type video/x-mkv instead of video/x-matroska. Justin Maggard 2009-06-22 22:43:23 +00:00
  • 84a2f22e66 * Fix crash bug if loading exif data from an image fails. Justin Maggard 2009-06-22 22:27:15 +00:00
  • 8ac7452577 * Add MIPS arch settings in the inotify header in case the system doesn't have it. Justin Maggard 2009-06-18 17:10:16 +00:00
  • cf48b38485 * Fix a memory leak when encountering problems at a certain stage of compressing image data. Justin Maggard 2009-06-18 02:00:05 +00:00
  • 7e24abe127 * Fix a possible segfault with a certain type of corrupted MP4 header (huge reported atom size). Justin Maggard 2009-06-18 01:59:22 +00:00
  • c304e3010a * Don't return video cover art to XBox360, or else it won't show the video at all. Justin Maggard 2009-06-17 22:35:41 +00:00