704 Commits

Author SHA1 Message Date
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
f35e0831d1 * Rewrite filter parsing code. Might help with Olive Symphony or other Twonky-based clients that send odd filter requests. 2009-05-01 00:45:23 +00:00
Justin Maggard
76ab570ed1 * Add client type caching code, so we can behave in a customized manner if necessary for certain clients. 2009-05-01 00:01:03 +00:00
Justin Maggard
a67c054ef7 * Properly skip sorting on UPnPSearches of very large containers on sparc-based ReadyNAS processors. 2009-04-30 23:58:27 +00:00
Justin Maggard
226cf8bb66 * Some SQL optimizations. Noticeable mostly on very slow systems with very large media libraries.
* Add basic DLNA/UPnP-AV SortCriteria support.
2009-04-30 10:03:45 +00:00
Justin Maggard
11b208a6e6 * Use glob instead of like, to take advantage of indexes. 2009-04-30 09:51:46 +00:00
Justin Maggard
e79fbade4b * Remove unused structure member. 2009-04-30 09:50:22 +00:00
Justin Maggard
27738f3a26 * Fix a couple XML escaping errors. 2009-04-30 09:49:41 +00:00
Justin Maggard
e509e8fe68 * Small change - pre-define a couple variables. 2009-04-30 06:47:06 +00:00
Justin Maggard
7315d001a5 * Deal with unhandled filter arguments more gracefully. 2009-04-30 06:32:28 +00:00
Justin Maggard
6d94a96543 * Fix TiVo video support issue which caused the TiVo to reboot.
* Begin changes to hopefully improve TiVo browsing performance.
2009-04-30 06:14:11 +00:00
Justin Maggard
dc2d6cf3ef * Add another SQL index after scanning, which should help UPnPSearch performance on very large containers. 2009-04-30 02:31:52 +00:00
Justin Maggard
7f01aa7080 * Fix a couple potential memory leaks in album art error handling. 2009-04-28 21:13:25 +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
6fc880a25d * Fix issues with album art linking if the link target is in a different directory than the previous file. 2009-04-18 02:23:06 +00:00
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
0303f15fa4 * Fix segfault when encountering a certain type of corrupted embedded JPEG image on audio files. 2009-04-10 22:25:04 +00:00
Justin Maggard
90069678a7 * Update last change. 2009-04-05 08:00:56 +00:00
Justin Maggard
abd4a24639 * Ignore Vorbis lyrics data. 2009-04-05 07:57:11 +00:00
Justin Maggard
0a8badcae0 * Try to do a better job informing users what libraries they might be missing. 2009-04-04 01:26:31 +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
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
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
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
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
d937f13526 * Improve log messages when we're creating a new database. 2009-04-01 22:37:51 +00:00
Justin Maggard
8d12ee4ae7 * Major optimization for large Search/Browse responses. Using strcat gets very slow when the data size gets too big. Switching to memcpy gives us a huge performance improvement with very large responses. 2009-04-01 20:19:00 +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
1cf7824fce * Preserve SystemUpdateID across restarts.
* Fix compile issue with TiVo support disabled.
2009-03-31 17:29:34 +00:00
Justin Maggard
29aa8608c2 * Return a real value for the SystemUpdateID evented variable. 2009-03-31 02:48:55 +00:00
Justin Maggard
2e3a4f1dde * Implement the QueryItem command.
* Add error handling/reporting for unknown commands.
2009-03-30 07:43:10 +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
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
9a481196fc * Check all contributor types when determining the artist. 2009-03-26 21:06:51 +00:00
Justin Maggard
6d5ef54c06 * Add .m2t as a valid video file extension. 2009-03-25 08:05:23 +00:00
Justin Maggard
8bc1fae910 * Put WMA artist tag info where the metadata parser expects it to be. 2009-03-25 07:41:12 +00:00
Justin Maggard
41170f4e30 * Fix possible uninitialized value. 2009-03-23 23:59:24 +00:00
Justin Maggard
575556ca9d * Fix race condition with file-serving SQL queries and scanner/inotify SQL queries. 2009-03-22 22:21:44 +00:00
Justin Maggard
c4d180f80d * Some image scaling tweaks for different platforms. 2009-03-20 19:33:34 +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
06fb334cad * Handle the case where we have a embedded album art image size, but no data. 2009-03-18 17:34:30 +00:00
Justin Maggard
d484d5870c * Fix a couple bugs in error handling when forking. 2009-03-17 22:08:51 +00:00
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