Commit Graph

115 Commits

Author SHA1 Message Date
0e55facacd metadata: support 64-bit time_t
OpenBSD moved all machine architectures to long long time_t in the last
release which triggered a crash in minidlna's scanner on 32-bit systems.

Reported-by: Stuart Henderson
2014-06-11 10:23:23 -07:00
bb9d584a86 metadata: get rid of some unnecessary mallocs 2014-05-16 11:07:43 -07:00
2ab6d21dbf metadata: get embedded cover art from video files using libavformat
Newer version of libavformat can grab cover art, so we'll go ahead
and use it.  We also need to make sure we don't confuse cover art
with a normal video stream.
2014-05-16 09:58:54 -07:00
05cde8a79f metadata: more libav10 compatibility changes
Add a couple more compatibility wrappers.
2014-05-14 18:33:26 -07:00
361bc34f93 metadata: add libavcodec > 54 compatibility
libavcodec55 brings some API changes, including CodecID => AVCodecID.
Add a compatibility wrapper so we can build with libavcodec >= 55.
2014-05-14 15:44:15 -07:00
4eeb0858e4 Merge commit '750917f7ea9876d7a97f48aa4b22097fcf7958d9' 2014-04-28 10:47:01 -07:00
e4fcb717e7 log: replace a few fprintf's with DPRINTF's. 2014-04-25 17:31:12 -07:00
be5f4a50eb Type data pointer variables as uint8_t. 2014-04-25 14:30:38 -07:00
381c4805e6 subtitles: accept smi in addition to srt 2014-04-21 15:44:39 -07:00
f26a9217e4 metadata: handle escaped .nfo files
Some nfo files may contain xml escape chars, as generated by MediaElch.
This will remove any escape chars found so that they can be correctly
handled by minidlna.

Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
2014-01-31 15:33:51 -08:00
8d6ce5e8b5 Handle new H.264 profile in recent ffmpeg versions. 2013-10-22 19:02:02 -07:00
42bd49276f * Fix compile issue with old ffmpeg versions. 2013-03-09 00:03:03 +00:00
fa37df8b1f * Add support for TiVo MPEG-TS files. 2012-11-03 09:45:45 +00:00
d5ebaa13f0 * Fix a potential divide-by-zero error. 2012-10-09 20:07:15 +00:00
2e120e83a0 * Add some logging and forking tweaks to work better with systemd. 2012-10-04 21:04:36 +00:00
fdcdd9ded8 * Fix inotify parsing of new video symlinks. (SF bug #3552473) 2012-08-20 21:30:16 +00:00
89c70bab24 * Fix ffmpeg API version checks. (SF bug #3549925) 2012-07-30 19:56:30 +00:00
f0c7768533 * Add a flag to tell ParseNameValue() to store empty XML elements. 2012-07-10 21:12:10 +00:00
074055aa4d * Fix compiling with certain ffmpeg versions. 2012-07-10 07:51:42 +00:00
c64a76a535 * Fix compiling issues after moving is_tivo_file(). 2012-07-07 00:20:30 +00:00
5f14c68597 * Streamline some TiVo ifdefs. 2012-06-30 00:26:55 +00:00
61fbce18ba * Replace sqlite_int64 with int64_t in many places, to better allow for the possibility of other databases. (Thanks Douglas Carmichael) 2012-06-29 23:14:27 +00:00
2c7a3bfc06 * Add support for the latest ffmpeg/libav library versions. 2012-06-29 21:06:23 +00:00
40f3664390 * Fix warn_unused_result compiler warnings with FORTIFY_SOURCE defined. 2012-03-28 08:15:15 +00:00
29738ed064 * Correctly proccess paths with brackets. 2012-03-28 06:43:28 +00:00
cabbd0b1de * Use an asprintf wrapper, to report errors and NULLify the result. 2012-03-14 17:57:21 +00:00
6b5e121f13 * Add DLNA.ORG_FLAGS support, and clean up transferMode support. 2012-02-14 18:43:35 +00:00
0687d8f6d8 * Trim the camera model from EXIF tags. 2012-02-13 22:44:36 +00:00
fe581c5e7f * Fix a couple errors in the rotation code. 2012-01-23 18:51:48 +00:00
c5bb5c84b3 * Add image rotation support during resize. (mostly useful for TiVo) 2012-01-22 00:33:55 +00:00
edcdb027d0 * Escape image creator/camera model text. (SF Bug #3460941) 2011-12-16 21:40:43 +00:00
c415fbdbf3 * Make some necessary changes to function on old OSes (like CentOS 5.7). 2011-12-07 03:55:20 +00:00
875f0e2351 * Fix some unused result warnings.
* Handle folder art a little differently than file album art.
2011-11-19 08:26:10 +00:00
773e1f6566 * Add support for other operating systems (kFreeBSD, FreeBSD, and OSX for now).
* Switch to autoconf from genconfig.sh.
2011-09-16 23:39:58 +00:00
1fc5f599f1 * Fix a crash when scanning images without read access. (SF bug #3395670) 2011-08-22 18:24:19 +00:00
cdc93f680f * Add thumbnail support on folders, since at least XBMC supports it. 2011-08-05 00:31:20 +00:00
4d6b956bda * Fix crash due to uninitialized AVFormatContext pointer. (Thanks Wolfram Gloger) 2011-07-18 18:03:45 +00:00
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
88b253968f * Fix compiling issues with some ffmpeg/libav versions. 2011-07-13 18:47:57 +00:00
018a0651c0 * Add a couple definitions that are now missing on libav-0.7. 2011-07-01 18:17:27 +00:00
ba3af759e1 * Support a couple new DLNA profiles that Windows likes to use. 2011-06-27 23:10:16 +00:00
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
9a9270cecf * Fix some issues reported by cppcheck. 2011-05-02 23:50:52 +00:00
e0e0fa254d * Fix a couple minor DLNA correctness issues. 2011-04-28 23:01:28 +00:00
bd4bf76f93 * Profile AVC_MP4_BL_CIF15_AAC_540 should be AVC_MP4_BL_CIF15_AAC_520. 2011-04-26 20:38:46 +00:00
7365edb075 * Use audio/ogg instead of application/ogg for Ogg audio files. 2011-04-21 18:23:52 +00:00
88b992bd51 * Escape video tags. 2011-04-21 08:50:44 +00:00
e32a1b1d27 * Make sure a couple pointers are initialized before use. 2011-04-08 21:54:04 +00:00
556678ce08 * Allow some DLNA AVC profile fallbacks. 2011-04-07 23:15:56 +00:00
0519359927 * Add support for reading tags from MP4 video files with recent lavf versions. 2011-03-23 07:20:14 +00:00