56 Commits

Author SHA1 Message Date
Justin Maggard
58862a115f * Handle ampersands properly on TiVo. 2009-03-17 08:48:12 +00:00
Justin Maggard
f04296de38 * Fork request handling for resized images. 2009-03-16 18:43:42 +00:00
Justin Maggard
a62cceda99 * Add full support for SortOrder and Filter parameters from TiVo. 2009-03-16 06:59:27 +00:00
Justin Maggard
c5ba967f47 * Fix some issues with TiVo support. It should be pretty functional at this point if you stick to basic operations. 2009-03-14 23:29:13 +00:00
Justin Maggard
7a2e3ae67a * Many changes for TiVo support. It actually [kinda] works. :) 2009-03-13 08:39:37 +00:00
Justin Maggard
3ae378cdc9 * Treat an empty Filter argument as "*".
* Make sure we allocate enough memory to hold SourceProtocolInfo response data.
2009-03-09 20:53:21 +00:00
Justin Maggard
40a37fbd78 * Fix duplicate ObjectID issue. 2009-03-09 20:52:07 +00:00
Justin Maggard
0f4212117c * Fix a couple bugs with embedded album art error handling. 2009-03-07 23:12:45 +00:00
Justin Maggard
3be66cf1ca * Add ReadyNAS-specific flag file support. 2009-03-07 01:46:04 +00:00
Justin Maggard
28a7d7aedb * Tweak log level. 2009-03-06 20:40:45 +00:00
Justin Maggard
036b21fb00 * Minor log level changes. 2009-03-06 20:36:53 +00:00
Justin Maggard
23c858054c * Different log path for ReadyNAS. 2009-03-06 20:30:12 +00:00
Justin Maggard
a28c0ed53f * Add some more flexible browsing options for music. 2009-03-06 03:21:35 +00:00
Justin Maggard
ab434ba78b * Fix accidental checkin of object ID changes. 2009-03-03 08:46:50 +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
e6aa386f77 * Remove debug code which was accidentally left in. 2009-03-03 00:14:12 +00:00
Justin Maggard
e3340c0839 * Handle inotify move events.
* Enable minimal logging to a file by default.
2009-03-03 00:13:05 +00:00
Justin Maggard
2664fe0d91 * Add device icon support. 2009-03-02 19:59:07 +00:00
Justin Maggard
e24e164d20 * Try harder to deduce a reasonable bitrate from certain AAC files. 2009-02-27 00:12:38 +00:00
Justin Maggard
9efb145aea * Fix typo in Video Folders container. 2009-02-26 07:51:19 +00:00
Justin Maggard
1c0bf5197d * Handle errors in WMV DLNA profiling. 2009-02-26 01:22:15 +00:00
Justin Maggard
f221610816 * Explicitly link to libvorbis. 2009-02-26 00:50:06 +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
2da2f6d4a1 * Add some preliminary code for the eventual possibility of TiVo support. 2009-02-23 23:10:27 +00:00
Justin Maggard
10136482af * If a file deletion empties a container, remove the container as well. 2009-02-23 02:57:00 +00:00
Justin Maggard
45f294b404 * Use our own logging mechanism instead of syslog/printf. 2009-02-20 10:21:23 +00:00
Justin Maggard
69965b876e * Thanks to Steve Hollis for pointing out that GD's default JPEG quality setting is pretty bad for downscaling thumbnails. 2009-02-17 22:22:35 +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
35ce036f3c * Update prerequisites in the INSTALL file. 2009-02-16 19:08:40 +00:00
Justin Maggard
5413646e1c * Downscale album art files to JPEG_TN specs and cache them if we find album art at a larger resolution. 2009-02-15 21:32:48 +00:00
Justin Maggard
8614319bbe * Just moving some files around. 2009-02-11 19:50:40 +00:00
Justin Maggard
8de8a8dc50 * Use our own inotify headers if the system does not have them
* Don't rely on signal.h to include linux/types.h (for __u32 definition)
2009-02-11 08:44:24 +00:00
Justin Maggard
0d3505656d * Fix accidental double-scan from last checkin.
* Add XBox360 compatibility.
2009-02-10 07:41:50 +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
48a742181d * Fix duplicate Object ID issue created by the last change. 2009-02-04 01:02:01 +00:00
Justin Maggard
cc6a00b34d * Fix scanner crash bug if the first entry in a media directory is a file and not a directory. 2009-02-04 00:11:32 +00:00
Justin Maggard
0324818d86 * Fix some possible memory leaks.
* Pay attention to the specified port number.
* Add support for multiple media directories, and allow content filtering on the directories.
2009-02-03 03:36:59 +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
7e30949498 * Code cleanup. 2009-01-31 00:25:03 +00:00
Justin Maggard
68ba24f255 * Get rid of unnecessary calls to stat(). 2009-01-30 22:42:15 +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
8c3ebe1259 * Forgot to add some new files... 2009-01-30 08:52:48 +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
4925fa0587 Remove obsolete up/downstream_bitrate code. 2009-01-22 23:49:11 +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
8a127b4e19 Small fix to handle symlinked directories. 2009-01-22 02:06:21 +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