127 Commits

Author SHA1 Message Date
Justin Maggard
414b3dffc8 * Rework the Sony video support hacks by using multiple res elements.
* Throw in some extra Toshiba Regza support while we're at it.
2011-04-13 22:25:02 +00:00
Justin Maggard
07c5fd5dd6 * Add the ability to parse the root description of clients after they send an SSDP NOTIFY.
* Using this new capability, detect Roku SoundBridge clients.
2011-04-09 01:37:11 +00:00
Justin Maggard
7d049aea93 * More Sony workarounds for AVC TS files. 2011-04-04 22:22:05 +00:00
Justin Maggard
f7e14ee77c * Add missing newlines for some log messages. 2011-03-30 22:31:39 +00:00
Justin Maggard
8960e023e9 * Fix a potential buffer overflow with Xbox360 clients. 2011-02-17 09:21:14 +00:00
Justin Maggard
761f62ca26 * Fix a couple potential frees of invalid pointers. 2011-01-25 22:40:37 +00:00
Justin Maggard
743a5ffdf9 * Cheat to make Sony Bravia AVC support work. 2011-01-18 02:26:31 +00:00
Justin Maggard
5fbe9d10da * Fall back to regular I/O instead of using sendfile() if we get EINVAL. 2010-11-24 01:01:27 +00:00
Justin Maggard
8e0fcd56f9 * Complete/clarify license information. 2010-11-11 23:48:14 +00:00
Justin Maggard
e529b5dd6b * Try to trick Sony Blu-ray home theater systems into playing MKVs. 2010-11-11 22:32:54 +00:00
Justin Maggard
090a5cf022 * Sony SMP-100 needs the same treatment as their BDP-S370. 2010-10-08 01:34:03 +00:00
Justin Maggard
091b90daa7 * Add Sony BDP-S370 MKV support, by pretending they're DiVX files. 2010-10-05 23:54:07 +00:00
Justin Maggard
4ecfe18bb8 * Missed a newline on an error message. 2010-10-05 20:46:00 +00:00
Justin Maggard
6325789eda * Fall back to regular read/write if sendfile fails. 2010-09-01 00:27:42 +00:00
Justin Maggard
0a1c3a3b17 * Minor code simplification. 2010-08-28 08:01:51 +00:00
Justin Maggard
c97d359fe2 * Make Xbox360 support more generic for use with other PlaysForSure clients. 2010-08-05 23:09:11 +00:00
Justin Maggard
431d354700 * Fix cosmetic spelling error. 2010-07-20 17:06:07 +00:00
Justin Maggard
c5b2f2171f * Make Samsung BD players work with MKV files in addition to their TVs. 2010-07-13 20:17:18 +00:00
Justin Maggard
da46b385cb Add a new Samsung User-Agent for client type detection. 2010-07-08 00:29:37 +00:00
Justin Maggard
d1623ca25d * Use the MSG_MORE flag for send() where appropriate. 2010-06-09 08:05:27 +00:00
Justin Maggard
c779eab4de * Optimize JPEG scaling by downscaling as much as possible during decompression. 2010-06-08 17:34:29 +00:00
Justin Maggard
64a173bd51 * Fix one more spot where we could close an aleady-closed socket. 2009-11-12 01:54:45 +00:00
Justin Maggard
24ff2a8a1c * Add strstrc() function which helps avoid a couple reads of unitialized memory. 2009-11-12 01:53:40 +00:00
Justin Maggard
71e399b4a6 * Use chunked encoding on resized images, so we can send out the header before transcoding. 2009-11-10 20:09:04 +00:00
Justin Maggard
db4b8d0a02 * Real proper handling of chunked requests. 2009-11-10 00:01:06 +00:00
Justin Maggard
c4170af521 * Add a no-resize flag, which tells us to to advertise downscaled images. Useful for clients like Samsung TVs, which can use large images well, but will use downscaled small images when given a choice. 2009-11-10 00:00:09 +00:00
Justin Maggard
e18cf08880 * Add initial support for 3gp video files.
* Add LPCM to the main SourceProtocolInfo list.
2009-10-21 21:11:57 +00:00
Justin Maggard
f7e525019a * Add SRT subtitle support using Samsung's method. 2009-10-15 00:40:27 +00:00
Justin Maggard
4efa9d06ac * Make strict DLNA adherence optional. Many products appear to handle JPEGs >4096x4096 classified as JPEG_LRG, and it's better to not downscale if we don't have to. 2009-10-14 21:24:23 +00:00
Justin Maggard
b6788cccb0 * Automatically adapt our friendly_name to meet Xbox360 requirements if we detect an Xbox360 client. 2009-09-18 07:53:36 +00:00
Justin Maggard
bf298f75fb * Default to video/avi MIME type for generic DLNA 1.5 clients, since that seems to be the norm. 2009-09-14 19:42:51 +00:00
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