36 Commits

Author SHA1 Message Date
Justin Maggard
68f7448c0c * Improve indexing to realize a massive scanner speed improvement with very large music libraries -- especially with compilations. 2009-04-17 10:15:28 +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
e50a0f04ef * Missed case-insensitive collation on title. 2009-04-03 18:23:07 +00:00
Justin Maggard
f57f441360 * SQL query optimizations. Basically don't ask for data we're never going to use. 2009-04-03 16:18:53 +00:00
Justin Maggard
608f3f902c * Add file filters to inotify scanner. Now, for example, an audio-only directory should not have image or video files put in the database by the inotify auto-scanner. 2009-04-02 02:40:35 +00:00
Justin Maggard
9854e35533 * Add Matroska Video (.mkv) support. 2009-03-27 07:39:09 +00:00
Justin Maggard
7372543da9 * Fix issues with duplicate entries in UPnPSearch results.
* Send XBox360 bad bitrate information, since it requires it.
2009-03-27 07:32:41 +00:00
Justin Maggard
6d5ef54c06 * Add .m2t as a valid video file extension. 2009-03-25 08:05:23 +00:00
Justin Maggard
06784a31ca * Initialize some variables. 2009-03-19 21:42:13 +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
935225e1a3 * Reduce the priority of scanner and inotify threads so they don't preempt serving media. 2009-03-18 19:28:21 +00:00
Justin Maggard
40a37fbd78 * Fix duplicate ObjectID issue. 2009-03-09 20:52:07 +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
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
9efb145aea * Fix typo in Video Folders container. 2009-02-26 07:51:19 +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
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
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
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
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
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