180 Commits

Author SHA1 Message Date
Justin Maggard
3e7a3cbfb5 * Add WAV file support. 2009-05-12 01:21:53 +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
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
392654a234 * Prevent a buffer overflow when an item's description is very long. 2009-05-05 02:15:44 +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
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
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
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
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
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
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
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
ac5a37b27a * Get rid of all depenence on libgd, and use libjpeg directly. 2009-03-19 08:06:27 +00:00
Justin Maggard
7a2e3ae67a * Many changes for TiVo support. It actually [kinda] works. :) 2009-03-13 08:39:37 +00:00
Justin Maggard
3ae378cdc9 * Treat an empty Filter argument as "*".
* Make sure we allocate enough memory to hold SourceProtocolInfo response data.
2009-03-09 20:53:21 +00:00
Justin Maggard
a28c0ed53f * Add some more flexible browsing options for music. 2009-03-06 03:21:35 +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
42be3989bf * Allow users to specify the file names and order that the Album Art scanner will search for.
* Lots of changes for inotify support.
2009-02-10 03:10:09 +00:00
Justin Maggard
a1d385241d * Be more flexible when it comes to album art resolutions. This is really just a recommendation and not an absolute requirement for DLNA compliance. 2009-02-04 02:25:24 +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
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
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