130 Commits

Author SHA1 Message Date
Justin Maggard
3e7a3cbfb5 * Add WAV file support. 2009-05-12 01:21:53 +00:00
Justin Maggard
ff046503bd * Update client cache if the client type changes on a given IP.
* Default .avi files to MIME type video/x-msvideo for better backward compatibility.
2009-05-01 01:39:55 +00:00
Justin Maggard
27738f3a26 * Fix a couple XML escaping errors. 2009-04-30 09:49:41 +00:00
Justin Maggard
c4ca6527f0 * Invalidate the scanner cache when an inotify deletion takes place. 2009-04-21 02:50:45 +00:00
Justin Maggard
223df2111b * Fix some issues with ampersand escaping.
* Improve image date/camera metadata handling by not storing a date if none exists.
* Add preliminary TiVo video serving support.
2009-04-16 19:20:16 +00:00
Justin Maggard
3f1afeeb40 * Log which file has extra-long vorbis comments.
* Gather duration and bitrate information from FLAC files.
2009-04-04 01:13:14 +00:00
Justin Maggard
104038e204 * Add flash video support, and use a more compatible method of libavcodec version checking. 2009-04-02 21:35:51 +00:00
Justin Maggard
ea70f079f2 * Improve escaping of special characters in returned XML. Should close SF bug ID 2717054. 2009-04-01 22:41:27 +00:00
Justin Maggard
047b9511a6 * Don't classify an MPEG1 video file with the MPEG1 DLNA profile if the resolution is too high for that profile. 2009-04-01 20:16:37 +00:00
Justin Maggard
3aea5d6f07 * Add a fallback method for gathering the date/time an image was taken. 2009-03-30 07:42:24 +00:00
Justin Maggard
0a415861e7 * Fix bug with bad album art. 2009-03-27 22:22:23 +00:00
Justin Maggard
9854e35533 * Add Matroska Video (.mkv) support. 2009-03-27 07:39:09 +00:00
Justin Maggard
9a481196fc * Check all contributor types when determining the artist. 2009-03-26 21:06:51 +00:00
Justin Maggard
ac5a37b27a * Get rid of all depenence on libgd, and use libjpeg directly. 2009-03-19 08:06:27 +00:00
Justin Maggard
9eb6f81a64 * Fallback code for duplicate audio/video extensions (.mp4).
* Fix a couple potential very small memory leaks in the scanner.
2009-03-03 08:14:01 +00:00
Justin Maggard
1c0bf5197d * Handle errors in WMV DLNA profiling. 2009-02-26 01:22:15 +00:00
Justin Maggard
b74e2d33f3 * Use internal music metadata functions intead of taglib.
1) Taglib does not support MP4 or WMA/ASF without hacking it in there.
  2) Taglib is C++, so it's nice to remove that dependency.
* Use embedded album art where available.
2009-02-25 21:16:51 +00:00
Justin Maggard
45f294b404 * Use our own logging mechanism instead of syslog/printf. 2009-02-20 10:21:23 +00:00
Justin Maggard
14547e2266 * Fix inotify detection in the root media directory.
* Hold off creating inotify watches until the initial file scan is complete.
* Use a thread instead of fork when scanning.
2009-02-17 08:25:15 +00:00
Justin Maggard
42be3989bf * Allow users to specify the file names and order that the Album Art scanner will search for.
* Lots of changes for inotify support.
2009-02-10 03:10:09 +00:00
Justin Maggard
a1d385241d * Be more flexible when it comes to album art resolutions. This is really just a recommendation and not an absolute requirement for DLNA compliance. 2009-02-04 02:25:24 +00:00
Justin Maggard
3f454a5762 * Don't depend on libavutil carrying the ff_get_fourcc() function.
* Try determining our IP address with hostname lookup before trying eth0 and eth1.
2009-02-02 22:10:39 +00:00
Justin Maggard
53f764d020 * Free any music metadata memory we allocate. 2009-01-30 18:42:59 +00:00
Justin Maggard
7403cce50c * Simplify PCM detection. 2009-01-30 18:16:24 +00:00
Justin Maggard
8cab1a2800 * Add some conditional statements to work with more ffmpeg library versions.
* Fix a crash bug when generating a friendly name if the hostname does not contain a dot.
* Implement folder browsing by media type.
* Add initial DLNA-compliant music album art support. (Using a <=160x160 cover.jpg, or folder.jpg, etc)
2009-01-30 08:50:09 +00:00
Justin Maggard
577deb028b If EXIF parsing fails, fall through to reading the JPEG data with libjpeg to get the resolution. 2009-01-22 23:48:49 +00:00
Justin Maggard
74d73037d0 Lots of changes, but notably:
* MiniDLNA can now pass the DLNA Conformance Test!
 * Dependence on libdlna has been removed, and the ffmpeg libs are used directly.
 * Lots of unused code has been cleaned up.
 * File transfers will now be forked off into a new process, so as not to tie up the server when sending data.
2009-01-22 00:25:20 +00:00
Justin Maggard
9867def383 * Fix bug with HTTP Range header, when there is no range end.
* Start adding video metadata support using libdlna.  We might need to carry libdlna because it needs some changes, but that project appears to be heading in another direction.
2008-11-07 06:52:03 +00:00
Justin Maggard
ccd9b957f6 Add some video metadata support through libdlna (>0.2.3).
Some more changes for DLNA compliance.
Reformat some other code.
2008-10-30 06:53:17 +00:00
Justin Maggard
f557f8ea77 Initial checkin 2008-10-23 17:30:45 +00:00