182 Commits

Author SHA1 Message Date
Justin Maggard
b1f4c35017 * If a new file is noticed by inotify, check if it is cover art for existing files, and update them if so. 2009-07-08 19:20:32 +00:00
Justin Maggard
038356bf78 * Add chkconfig compatibility to the startup script. 2009-07-02 00:33:15 +00:00
Justin Maggard
d1049476ef * Add new options to (1) force a rescan at startup, (2) display help text, and (3) bind to a specified network interface. 2009-06-30 02:05:32 +00:00
Justin Maggard
efc2ab6b2b * Consider MIME workarounds when doing MIME->extension conversion. 2009-06-30 02:03:07 +00:00
Justin Maggard
885427c569 * If we can't get a video stream bitrate, leave it NULL instead of calling it 0. 2009-06-30 02:01:34 +00:00
Justin Maggard
6e9fdd9a94 * Use the proper config directory. 2009-06-26 22:25:53 +00:00
Justin Maggard
9aa86698f7 * Remove unused file. 2009-06-26 22:25:09 +00:00
Justin Maggard
72645807b1 * Explicitly sort TiVo music by track then title, because TiVo will never ask us to sort by track. 2009-06-26 19:08:09 +00:00
Justin Maggard
1c7c19f796 * Read configuration to determine which inotify header to use. 2009-06-26 19:07:15 +00:00
Justin Maggard
e0b88d2101 * Looks like Samsung TV's want the improper MIME type video/x-mkv instead of video/x-matroska. 2009-06-22 22:43:23 +00:00
Justin Maggard
84a2f22e66 * Fix crash bug if loading exif data from an image fails. 2009-06-22 22:27:15 +00:00
Justin Maggard
8ac7452577 * Add MIPS arch settings in the inotify header in case the system doesn't have it. 2009-06-18 17:10:16 +00:00
Justin Maggard
cf48b38485 * Fix a memory leak when encountering problems at a certain stage of compressing image data. 2009-06-18 02:00:05 +00:00
Justin Maggard
7e24abe127 * Fix a possible segfault with a certain type of corrupted MP4 header (huge reported atom size). 2009-06-18 01:59:22 +00:00
Justin Maggard
c304e3010a * Don't return video cover art to XBox360, or else it won't show the video at all. 2009-06-17 22:35:41 +00:00
Justin Maggard
7071e79f3f * Don't try reading info from a new file if that new file has no size. 2009-06-17 19:25:12 +00:00
Justin Maggard
944729cf12 * Increment version to 1.0.14.
* Fix TiVo beacon issue where it would only broadcast on eth0.
* Fix a couple gcc4.4 warnings.
2009-06-16 01:08:29 +00:00
Justin Maggard
94989f8b15 * Take notifications back out of their own thread, and rely on select timeouts.
* Increment SystemUpdateID as necessary just before processing new HTTP requests.
2009-06-15 22:37:49 +00:00
Justin Maggard
c07d7e7ec4 * Make the HTTP request struct point to realloc'd memory locations where necessary. 2009-06-09 22:35:32 +00:00
Justin Maggard
13d9480956 * Fix uninitialized memory condition during shutdown when TiVo support is disabled. 2009-06-09 22:34:23 +00:00
Justin Maggard
671e212cdc * Add more items to the resource protocolinfo list. 2009-06-06 01:58:43 +00:00
Justin Maggard
593f9c68e1 * Fix DLNA namespace error. 2009-06-06 01:57:54 +00:00
Justin Maggard
38271a4fe9 * Increment minor version number. 2009-06-04 23:31:58 +00:00
Justin Maggard
a295b448ba * To my surprise, XFS doesn't support dt_type in readdir results, so we need to stat each entry of type DT_UNKNOWN. 2009-06-04 22:32:10 +00:00
Justin Maggard
41a6830952 * To my surprise, XFS doesn't support dt_type in readdir results, so we need to stat each entry of type DT_UNKNOWN. 2009-06-04 20:43:36 +00:00
Justin Maggard
a6d01a85e3 * Add MIME workarounds for WAV files on Denon receivers. 2009-06-04 19:13:18 +00:00
Justin Maggard
8dc1a82d7e * Use PS3-style MIME tweaks for Samsung TVs. 2009-06-03 22:01:31 +00:00
Justin Maggard
efefcde150 * Work around Freebox's bad behavior of only using the first <res> element for images. 2009-06-03 20:49:31 +00:00
Justin Maggard
27696edf6f * Move SSDP and TiVo beacon notifications to a separate thread. 2009-06-03 20:47:48 +00:00
Justin Maggard
bce6da53ea * Be more picky about what we call thumbnails for JPEG images. Verify that the resolution is <= 160x160 to comply with the DLNA spec. 2009-06-03 20:41:08 +00:00
Justin Maggard
4d58278a5a * Add WMAPRO as a supported profile. 2009-06-02 21:20:47 +00:00
Justin Maggard
b08a53f3c9 * Eliminate a race condition whereby inotify watches would not be set after the initial scan completed. 2009-06-02 21:19:37 +00:00
Justin Maggard
2155c25109 * Handle @id in SearchCriteria. 2009-06-02 21:18:22 +00:00
Justin Maggard
66ce695272 * Look for file-specific cover art first (especially useful for video files). 2009-06-02 21:17:40 +00:00
Justin Maggard
7e32fcbdb5 * Better support DLNA profiles on a couple media types.
* Handle AAC files without optional extended header data in the esds atom.
2009-05-30 04:31:18 +00:00
Justin Maggard
e65e367b06 * Increment minor version number to indicate charset fixes and additional art support. 2009-05-28 18:53:51 +00:00
Justin Maggard
37704b8b8b * Ensure that ends_with() actually tests against the end of the string. 2009-05-28 16:04:14 +00:00
Justin Maggard
029928569a * WAV/LPCM handling tweaks. 2009-05-28 08:22:39 +00:00
Justin Maggard
abf80e59d7 * Only scan for embedded images if libFLAC is new enough. 2009-05-28 08:22:15 +00:00
Justin Maggard
c011c4a087 * Add initial support for video cover art.
* Try to handle id3 tags that use non-utf8 and iso8859 charsets.
2009-05-27 23:11:18 +00:00
Justin Maggard
feb2fd1e87 * Fix a small potential memory leak. 2009-05-27 23:09:11 +00:00
Justin Maggard
4f489faedc * Add album art extraction code for more file types. 2009-05-27 22:55:46 +00:00
Justin Maggard
72309b1c2e * Missed one spot when changing "type" do "dir_type". 2009-05-27 18:31:09 +00:00
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