146 Commits

Author SHA1 Message Date
Justin Maggard
bd0aabf933 * Fix a couple DLNA HTTP header errors with resized images. 2009-09-02 01:59:49 +00:00
Justin Maggard
f259479ecf * Don't call WAV files LPCM, because they're disqualified due to endianness. 2009-08-10 21:16:53 +00:00
Justin Maggard
aba116a445 * Avoid using '&' in URIs for resized images, to avoid client compatibility issues. 2009-08-06 07:50:12 +00:00
Justin Maggard
51e61e3973 * Track MAC addresses in the client cache (when we can find them); so if we have an expired cache entry, but the MAC hasn't changed, we can assume the original ID is still valid. 2009-07-31 01:41:10 +00:00
Justin Maggard
780ae7ad8b * Add Popcorn Hour support for using the wrong MIME type for FLAC.
* Fix a couple crash bugs with invalid UPnP-A/V SOAP requests.
* Fix WAV file extension support.
2009-07-28 23:17:31 +00:00
Justin Maggard
0d069effd9 * Fix some minor 64-bit compilation issues. 2009-07-17 22:54:31 +00:00
Justin Maggard
1a5e1a6de9 * Add hacks to make .mkv support work on Samsung TVs. 2009-07-13 18:00:06 +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
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
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
5a08b7e275 * Some minor DLNA conformance fixups. 2009-05-14 22:13:06 +00:00
Justin Maggard
3e7a3cbfb5 * Add WAV file support. 2009-05-12 01:21:53 +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
1a26bfba7a * Add version number. 2009-05-05 02:39:40 +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
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
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
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
c4ca6527f0 * Invalidate the scanner cache when an inotify deletion takes place. 2009-04-21 02:50:45 +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
9a481196fc * Check all contributor types when determining the artist. 2009-03-26 21:06:51 +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
ac5a37b27a * Get rid of all depenence on libgd, and use libjpeg directly. 2009-03-19 08:06:27 +00:00
Justin Maggard
d484d5870c * Fix a couple bugs in error handling when forking. 2009-03-17 22:08:51 +00:00
Justin Maggard
f04296de38 * Fork request handling for resized images. 2009-03-16 18:43:42 +00:00
Justin Maggard
7a2e3ae67a * Many changes for TiVo support. It actually [kinda] works. :) 2009-03-13 08:39:37 +00:00
Justin Maggard
2664fe0d91 * Add device icon support. 2009-03-02 19:59:07 +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
2da2f6d4a1 * Add some preliminary code for the eventual possibility of TiVo support. 2009-02-23 23:10:27 +00:00
Justin Maggard
45f294b404 * Use our own logging mechanism instead of syslog/printf. 2009-02-20 10:21:23 +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
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
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
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
227b295612 License updates. 2008-10-23 17:47:53 +00:00
Justin Maggard
f557f8ea77 Initial checkin 2008-10-23 17:30:45 +00:00