7071e79f3f* Don't try reading info from a new file if that new file has no size.
Justin Maggard
2009-06-17 19:25:12 +00:00
944729cf12* Increment version to 1.0.14. * Fix TiVo beacon issue where it would only broadcast on eth0. * Fix a couple gcc4.4 warnings.
Justin Maggard
2009-06-16 01:08:29 +00:00
94989f8b15* Take notifications back out of their own thread, and rely on select timeouts. * Increment SystemUpdateID as necessary just before processing new HTTP requests.
Justin Maggard
2009-06-15 22:37:49 +00:00
c07d7e7ec4* Make the HTTP request struct point to realloc'd memory locations where necessary.
Justin Maggard
2009-06-09 22:35:32 +00:00
13d9480956* Fix uninitialized memory condition during shutdown when TiVo support is disabled.
Justin Maggard
2009-06-09 22:34:23 +00:00
671e212cdc* Add more items to the resource protocolinfo list.
Justin Maggard
2009-06-06 01:58:43 +00:00
38271a4fe9* Increment minor version number.
Justin Maggard
2009-06-04 23:31:58 +00:00
a295b448ba* To my surprise, XFS doesn't support dt_type in readdir results, so we need to stat each entry of type DT_UNKNOWN.
Justin Maggard
2009-06-04 22:32:10 +00:00
41a6830952* To my surprise, XFS doesn't support dt_type in readdir results, so we need to stat each entry of type DT_UNKNOWN.
Justin Maggard
2009-06-04 20:43:36 +00:00
a6d01a85e3* Add MIME workarounds for WAV files on Denon receivers.
Justin Maggard
2009-06-04 19:13:18 +00:00
8dc1a82d7e* Use PS3-style MIME tweaks for Samsung TVs.
Justin Maggard
2009-06-03 22:01:31 +00:00
efefcde150* Work around Freebox's bad behavior of only using the first <res> element for images.
Justin Maggard
2009-06-03 20:49:31 +00:00
27696edf6f* Move SSDP and TiVo beacon notifications to a separate thread.
Justin Maggard
2009-06-03 20:47:48 +00:00
bce6da53ea* Be more picky about what we call thumbnails for JPEG images. Verify that the resolution is <= 160x160 to comply with the DLNA spec.
Justin Maggard
2009-06-03 20:41:08 +00:00
4d58278a5a* Add WMAPRO as a supported profile.
Justin Maggard
2009-06-02 21:20:47 +00:00
b08a53f3c9* Eliminate a race condition whereby inotify watches would not be set after the initial scan completed.
Justin Maggard
2009-06-02 21:19:37 +00:00
2155c25109* Handle @id in SearchCriteria.
Justin Maggard
2009-06-02 21:18:22 +00:00
66ce695272* Look for file-specific cover art first (especially useful for video files).
Justin Maggard
2009-06-02 21:17:40 +00:00
7e32fcbdb5* Better support DLNA profiles on a couple media types. * Handle AAC files without optional extended header data in the esds atom.
Justin Maggard
2009-05-30 04:31:18 +00:00
e65e367b06* Increment minor version number to indicate charset fixes and additional art support.
Justin Maggard
2009-05-28 18:53:51 +00:00
37704b8b8b* Ensure that ends_with() actually tests against the end of the string.
Justin Maggard
2009-05-28 16:04:14 +00:00
abf80e59d7* Only scan for embedded images if libFLAC is new enough.
Justin Maggard
2009-05-28 08:22:15 +00:00
c011c4a087* Add initial support for video cover art. * Try to handle id3 tags that use non-utf8 and iso8859 charsets.
Justin Maggard
2009-05-27 23:11:18 +00:00
feb2fd1e87* Fix a small potential memory leak.
Justin Maggard
2009-05-27 23:09:11 +00:00
4f489faedc* Add album art extraction code for more file types.
Justin Maggard
2009-05-27 22:55:46 +00:00
72309b1c2e* Missed one spot when changing "type" do "dir_type".
Justin Maggard
2009-05-27 18:31:09 +00:00
567558f54b* Logging is more helpful when you log which files an error occured on...
Justin Maggard
2009-05-23 02:26:45 +00:00
db30494a40* Match up SourceProtocolInfo values with what we support.
Justin Maggard
2009-05-23 01:23:42 +00:00
b4557c10c4* Follow symlinks. Perhaps we'll make this configurable in the future.
Justin Maggard
2009-05-23 01:20:57 +00:00
dc6a341f99* In the ContentDirectory description, SourceProtocolInfo doesn't need all the MIME types in AllowedValues. It actually makes the UPnP Certification Test Tool fail.
Justin Maggard
2009-05-21 01:20:31 +00:00
31cfba1a21* More changes to pass the UPnP Device Validator.
Justin Maggard
2009-05-20 01:31:34 +00:00
c10c913b30* Some fixes for the UPnP Device Validator.
Justin Maggard
2009-05-19 23:43:51 +00:00
82e48067eb* Get a lot more picky about M-SEARCH requests, so we can comply with UPnP.
Justin Maggard
2009-05-15 02:43:17 +00:00
5a08b7e275* Some minor DLNA conformance fixups.
Justin Maggard
2009-05-14 22:13:06 +00:00
2e27960e10* Fix another inotify error condition when copying files to the root of the content directory.
Justin Maggard
2009-05-11 18:31:48 +00:00
fed843a982* Handle new directory creation in the root container.
Justin Maggard
2009-05-11 18:11:07 +00:00
126e923a8e* Increment version number.
Justin Maggard
2009-05-11 00:59:47 +00:00
cb61823ecc* Always store cached JPEG album art with a .jpg extension.
Justin Maggard
2009-05-11 00:56:04 +00:00
161c513e58* Use a "real" file extension instead of just .dat when sending container contents.
Justin Maggard
2009-05-11 00:31:15 +00:00
1b051af5fb* Don't populate the album field if it's empty.
Justin Maggard
2009-05-11 00:29:04 +00:00
81a5517060* Don't use lsb_release if it's a ReadyNAS compile.
Justin Maggard
2009-05-11 00:28:10 +00:00
bdf2c86075* Sort out Server description in HTTP headers. This actually makes Windows Media Player recognize a MiniDLNA server also.
Justin Maggard
2009-05-10 03:24:29 +00:00
4dd29bc7b7* Fix ContentDirectory XML description.
Justin Maggard
2009-05-08 02:26:17 +00:00
1a26bfba7a* Add version number.
Justin Maggard
2009-05-05 02:39:40 +00:00
392654a234* Prevent a buffer overflow when an item's description is very long.
Justin Maggard
2009-05-05 02:15:44 +00:00
0229ee64ee* ReadyNAS-specific change to remove any leftover scanning flag files when we start.
Justin Maggard
2009-05-03 18:32:48 +00:00
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.
Justin Maggard
2009-05-03 18:31:53 +00:00
f7f67359ed* Handle double client detection without getting into an infinite loop.
Justin Maggard
2009-05-03 07:15:52 +00:00
ab75f45804* Missed one case with the last filter rewrite. An empty filter argument should return all metadata.
Justin Maggard
2009-05-02 23:55:27 +00:00
0fa5f5b598* Fix a couple bugs in client detection code. * Fix incremental UPnPBrowse bug that was recently introduced.
Justin Maggard
2009-05-02 20:53:24 +00:00
b947187035* Only count DLNA 1.5 clients as DLNA-compliant.
Justin Maggard
2009-05-01 21:53:22 +00:00
401da95831* Add generic DLNA client type detection and caching, and don't use DLNA-specific MIME types if the client doesn't support DLNA.
Justin Maggard
2009-05-01 19:36:43 +00:00
35352221b2* Don't bother checking embedded art if the last hash matches, and it was invalid.
Justin Maggard
2009-05-01 08:01:40 +00:00
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.
Justin Maggard
2009-05-01 01:39:55 +00:00
f35e0831d1* Rewrite filter parsing code. Might help with Olive Symphony or other Twonky-based clients that send odd filter requests.
Justin Maggard
2009-05-01 00:45:23 +00:00
76ab570ed1* Add client type caching code, so we can behave in a customized manner if necessary for certain clients.
Justin Maggard
2009-05-01 00:01:03 +00:00
a67c054ef7* Properly skip sorting on UPnPSearches of very large containers on sparc-based ReadyNAS processors.
Justin Maggard
2009-04-30 23:58:27 +00:00
226cf8bb66* Some SQL optimizations. Noticeable mostly on very slow systems with very large media libraries. * Add basic DLNA/UPnP-AV SortCriteria support.
Justin Maggard
2009-04-30 10:03:45 +00:00
11b208a6e6* Use glob instead of like, to take advantage of indexes.
Justin Maggard
2009-04-30 09:51:46 +00:00
27738f3a26* Fix a couple XML escaping errors.
Justin Maggard
2009-04-30 09:49:41 +00:00
e509e8fe68* Small change - pre-define a couple variables.
Justin Maggard
2009-04-30 06:47:06 +00:00
7315d001a5* Deal with unhandled filter arguments more gracefully.
Justin Maggard
2009-04-30 06:32:28 +00:00
6d94a96543* Fix TiVo video support issue which caused the TiVo to reboot. * Begin changes to hopefully improve TiVo browsing performance.
Justin Maggard
2009-04-30 06:14:11 +00:00
dc2d6cf3ef* Add another SQL index after scanning, which should help UPnPSearch performance on very large containers.
Justin Maggard
2009-04-30 02:31:52 +00:00
7f01aa7080* Fix a couple potential memory leaks in album art error handling.
Justin Maggard
2009-04-28 21:13:25 +00:00
c4ca6527f0* Invalidate the scanner cache when an inotify deletion takes place.
Justin Maggard
2009-04-21 02:50:45 +00:00
6fc880a25d* Fix issues with album art linking if the link target is in a different directory than the previous file.
Justin Maggard
2009-04-18 02:23:06 +00:00
68f7448c0c* Improve indexing to realize a massive scanner speed improvement with very large music libraries -- especially with compilations.
Justin Maggard
2009-04-17 10:15:28 +00:00
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.
Justin Maggard
2009-04-16 19:20:16 +00:00
0303f15fa4* Fix segfault when encountering a certain type of corrupted embedded JPEG image on audio files.
Justin Maggard
2009-04-10 22:25:04 +00:00
90069678a7* Update last change.
Justin Maggard
2009-04-05 08:00:56 +00:00
0a8badcae0* Try to do a better job informing users what libraries they might be missing.
Justin Maggard
2009-04-04 01:26:31 +00:00
3f1afeeb40* Log which file has extra-long vorbis comments. * Gather duration and bitrate information from FLAC files.
Justin Maggard
2009-04-04 01:13:14 +00:00
f57f441360* SQL query optimizations. Basically don't ask for data we're never going to use.
Justin Maggard
2009-04-03 16:18:53 +00:00
104038e204* Add flash video support, and use a more compatible method of libavcodec version checking.
Justin Maggard
2009-04-02 21:35:51 +00:00
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.
Justin Maggard
2009-04-02 02:40:35 +00:00
ea70f079f2* Improve escaping of special characters in returned XML. Should close SF bug ID 2717054.
Justin Maggard
2009-04-01 22:41:27 +00:00
d937f13526* Improve log messages when we're creating a new database.
Justin Maggard
2009-04-01 22:37:51 +00:00
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.
Justin Maggard
2009-04-01 20:19:00 +00:00
047b9511a6* Don't classify an MPEG1 video file with the MPEG1 DLNA profile if the resolution is too high for that profile.
Justin Maggard
2009-04-01 20:16:37 +00:00
1cf7824fce* Preserve SystemUpdateID across restarts. * Fix compile issue with TiVo support disabled.
Justin Maggard
2009-03-31 17:29:34 +00:00
29aa8608c2* Return a real value for the SystemUpdateID evented variable.
Justin Maggard
2009-03-31 02:48:55 +00:00
2e3a4f1dde* Implement the QueryItem command. * Add error handling/reporting for unknown commands.
Justin Maggard
2009-03-30 07:43:10 +00:00
3aea5d6f07* Add a fallback method for gathering the date/time an image was taken.
Justin Maggard
2009-03-30 07:42:24 +00:00
0a415861e7* Fix bug with bad album art.
Justin Maggard
2009-03-27 22:22:23 +00:00
7372543da9* Fix issues with duplicate entries in UPnPSearch results. * Send XBox360 bad bitrate information, since it requires it.
Justin Maggard
2009-03-27 07:32:41 +00:00