189 Commits

Author SHA1 Message Date
Justin Maggard
567558f54b * Logging is more helpful when you log which files an error occured on... 2009-05-23 02:26:45 +00:00
Justin Maggard
db30494a40 * Match up SourceProtocolInfo values with what we support. 2009-05-23 01:23:42 +00:00
Justin Maggard
b4557c10c4 * Follow symlinks. Perhaps we'll make this configurable in the future. 2009-05-23 01:20:57 +00:00
Justin Maggard
dc6a341f99 * In the ContentDirectory description, SourceProtocolInfo doesn't need all the MIME types in AllowedValues. It actually makes the UPnP Certification Test Tool fail. 2009-05-21 01:20:31 +00:00
Justin Maggard
31cfba1a21 * More changes to pass the UPnP Device Validator. 2009-05-20 01:31:34 +00:00
Justin Maggard
c10c913b30 * Some fixes for the UPnP Device Validator. 2009-05-19 23:43:51 +00:00
Justin Maggard
82e48067eb * Get a lot more picky about M-SEARCH requests, so we can comply with UPnP. 2009-05-15 02:43:17 +00:00
Justin Maggard
5a08b7e275 * Some minor DLNA conformance fixups. 2009-05-14 22:13:06 +00:00
Justin Maggard
5315c89880 * Clean update resource ProtocolInfo values list. 2009-05-13 08:49:30 +00:00
Justin Maggard
41fdd7f88e * Fix scanner crash due to another type of malformed embedded JPEG data. 2009-05-13 08:49:02 +00:00
Justin Maggard
81f9fa80a5 * Send DLNA version with our User-Agent header. 2009-05-12 01:54:28 +00:00
Justin Maggard
59519aee78 * Increment version number (1.0.10). 2009-05-12 01:30:17 +00:00
Justin Maggard
bb8e2a346a * Add WAV mime-to-extension mapping. 2009-05-12 01:25:46 +00:00
Justin Maggard
35f9e5b264 * Add new WAV parsing files. 2009-05-12 01:23:39 +00:00
Justin Maggard
3e7a3cbfb5 * Add WAV file support. 2009-05-12 01:21:53 +00:00
Justin Maggard
f64e458729 * Don't store empty metadata values. 2009-05-12 01:15:01 +00:00
Justin Maggard
2e27960e10 * Fix another inotify error condition when copying files to the root of the content directory. 2009-05-11 18:31:48 +00:00
Justin Maggard
fed843a982 * Handle new directory creation in the root container. 2009-05-11 18:11:07 +00:00
Justin Maggard
126e923a8e * Increment version number. 2009-05-11 00:59:47 +00:00
Justin Maggard
cb61823ecc * Always store cached JPEG album art with a .jpg extension. 2009-05-11 00:56:04 +00:00
Justin Maggard
161c513e58 * Use a "real" file extension instead of just .dat when sending container contents. 2009-05-11 00:31:15 +00:00
Justin Maggard
1b051af5fb * Don't populate the album field if it's empty. 2009-05-11 00:29:04 +00:00
Justin Maggard
81a5517060 * Don't use lsb_release if it's a ReadyNAS compile. 2009-05-11 00:28:10 +00:00
Justin Maggard
bdf2c86075 * Sort out Server description in HTTP headers. This actually makes Windows Media Player recognize a MiniDLNA server also. 2009-05-10 03:24:29 +00:00
Justin Maggard
4dd29bc7b7 * Fix ContentDirectory XML description. 2009-05-08 02:26:17 +00:00
Justin Maggard
1a26bfba7a * Add version number. 2009-05-05 02:39:40 +00:00
Justin Maggard
392654a234 * Prevent a buffer overflow when an item's description is very long. 2009-05-05 02:15:44 +00:00
Justin Maggard
0229ee64ee * ReadyNAS-specific change to remove any leftover scanning flag files when we start. 2009-05-03 18:32:48 +00:00
Justin Maggard
7c64eb10ac * Put the commas back in when parsing the filter args, so the log contains the actual args sent by the client, instead of just the first one. 2009-05-03 18:31:53 +00:00
Justin Maggard
f7f67359ed * Handle double client detection without getting into an infinite loop. 2009-05-03 07:15:52 +00:00
Justin Maggard
ab75f45804 * Missed one case with the last filter rewrite. An empty filter argument should return all metadata. 2009-05-02 23:55:27 +00:00
Justin Maggard
0fa5f5b598 * Fix a couple bugs in client detection code.
* Fix incremental UPnPBrowse bug that was recently introduced.
2009-05-02 20:53:24 +00:00
Justin Maggard
b947187035 * Only count DLNA 1.5 clients as DLNA-compliant. 2009-05-01 21:53:22 +00:00
Justin Maggard
401da95831 * Add generic DLNA client type detection and caching, and don't use DLNA-specific MIME types if the client doesn't support DLNA. 2009-05-01 19:36:43 +00:00
Justin Maggard
35352221b2 * Don't bother checking embedded art if the last hash matches, and it was invalid. 2009-05-01 08:01:40 +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
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