130 Commits

Author SHA1 Message Date
Justin Maggard
cdc93f680f * Add thumbnail support on folders, since at least XBMC supports it. 2011-08-05 00:31:20 +00:00
Justin Maggard
4d6b956bda * Fix crash due to uninitialized AVFormatContext pointer. (Thanks Wolfram Gloger) 2011-07-18 18:03:45 +00:00
Justin Maggard
e3506a60f1 * Don't use private field from ffmpeg to get raw TS packet size, since it does not work in all ffmpeg versions. (Thanks Wolfram Gloger) 2011-07-18 18:00:29 +00:00
Justin Maggard
88b253968f * Fix compiling issues with some ffmpeg/libav versions. 2011-07-13 18:47:57 +00:00
Justin Maggard
018a0651c0 * Add a couple definitions that are now missing on libav-0.7. 2011-07-01 18:17:27 +00:00
Justin Maggard
ba3af759e1 * Support a couple new DLNA profiles that Windows likes to use. 2011-06-27 23:10:16 +00:00
Justin Maggard
8db283fa92 * Fix use-after-free crash bug while scanning MPEG-TS containers with a TS packet size other than 188 or 192 bytes. (SF bug #3234375) 2011-06-06 18:21:36 +00:00
Justin Maggard
9a9270cecf * Fix some issues reported by cppcheck. 2011-05-02 23:50:52 +00:00
Justin Maggard
e0e0fa254d * Fix a couple minor DLNA correctness issues. 2011-04-28 23:01:28 +00:00
Justin Maggard
bd4bf76f93 * Profile AVC_MP4_BL_CIF15_AAC_540 should be AVC_MP4_BL_CIF15_AAC_520. 2011-04-26 20:38:46 +00:00
Justin Maggard
7365edb075 * Use audio/ogg instead of application/ogg for Ogg audio files. 2011-04-21 18:23:52 +00:00
Justin Maggard
88b992bd51 * Escape video tags. 2011-04-21 08:50:44 +00:00
Justin Maggard
e32a1b1d27 * Make sure a couple pointers are initialized before use. 2011-04-08 21:54:04 +00:00
Justin Maggard
556678ce08 * Allow some DLNA AVC profile fallbacks. 2011-04-07 23:15:56 +00:00
Justin Maggard
0519359927 * Add support for reading tags from MP4 video files with recent lavf versions. 2011-03-23 07:20:14 +00:00
Justin Maggard
92561e56b8 * Fix an incomplete DLNA PN with certain odd files. 2011-03-11 09:37:55 +00:00
Justin Maggard
107b808021 * Fix a bad free with some video files with AAC audio. 2011-03-02 22:15:15 +00:00
Justin Maggard
95becb5c99 * Fix a memory freeing error with some audio file tags. 2011-02-26 00:00:34 +00:00
Justin Maggard
f7394c0c43 * Remove any DLNA profile info for TiVo files. 2011-02-19 00:53:18 +00:00
Justin Maggard
21a36701e6 * Add support for a couple more DLNA profiles, and sync data with ProtocolInfo. 2011-02-19 00:35:19 +00:00
Justin Maggard
fdde0303ca * Skip DLNA parsing for non-ASF VC1 files. 2011-02-15 02:03:41 +00:00
Justin Maggard
be1c1c5644 * Add support for more DLNA video profiles.
* Fix bug where non-DLNA formats would still get parsed into DLNA profiles.
2011-02-15 01:36:09 +00:00
Justin Maggard
8e0fcd56f9 * Complete/clarify license information. 2010-11-11 23:48:14 +00:00
Justin Maggard
1d56e95f94 * Handle the "mpegvideo" format name. 2010-10-25 18:42:06 +00:00
Justin Maggard
786d86c366 * Pull Genre info for .nfo files. 2010-10-05 20:45:42 +00:00
Justin Maggard
a600d8a231 * Handle libavformat format name "matroska,webm". 2010-09-22 00:03:37 +00:00
Justin Maggard
c779eab4de * Optimize JPEG scaling by downscaling as much as possible during decompression. 2010-06-08 17:34:29 +00:00
Justin Maggard
35c727e77d * Add very basic nfo parsing support.
* Rework how some of the metadata is stored and freed, to be more consistent.
2010-06-03 22:03:34 +00:00
Justin Maggard
f5b2971a8f * Add 3gpp audio support. 2009-11-10 20:11:50 +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
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
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
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
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
9ac3e78991 * Give Quicktime MOV files the right MIME type. 2009-10-05 23:19:13 +00:00
Justin Maggard
90dcf17785 * Add Ogg scanning support. 2009-08-07 04:47:35 +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
0d069effd9 * Fix some minor 64-bit compilation issues. 2009-07-17 22:54:31 +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
84a2f22e66 * Fix crash bug if loading exif data from an image fails. 2009-06-22 22:27:15 +00:00
Justin Maggard
bce6da53ea * Be more picky about what we call thumbnails for JPEG images. Verify that the resolution is <= 160x160 to comply with the DLNA spec. 2009-06-03 20:41:08 +00:00
Justin Maggard
4d58278a5a * Add WMAPRO as a supported profile. 2009-06-02 21:20:47 +00:00
Justin Maggard
c011c4a087 * Add initial support for video cover art.
* Try to handle id3 tags that use non-utf8 and iso8859 charsets.
2009-05-27 23:11:18 +00:00
Justin Maggard
5a08b7e275 * Some minor DLNA conformance fixups. 2009-05-14 22:13:06 +00:00