126 Commits

Author SHA1 Message Date
Justin Maggard
e9a653d6e8 clients: restructure client cache 2014-06-09 18:02:03 -07:00
Justin Maggard
34cb08928c portability: add support for Illumos
This still won't work on older Solaris systems, but modern Illumos
at least should build and run now.
2014-05-14 17:53:25 -07:00
Justin Maggard
08c21f39d1 http: fix error handling in the fallback read/write path 2014-04-18 15:46:00 -07:00
Justin Maggard
ffb8b35424 cleanup: avoid dereferencing NULL pointers 2014-04-11 12:43:59 -07:00
Catalin Patulea
3a57744735 Add printf attribute to log_err/DPRINTF and fix a few warnings
Modified to not use %z for portability reasons.
2014-04-10 18:57:30 -07:00
Justin Maggard
45cf9208fb Declare printf-like attributes for strcatf() and xasprintf()
Declare printf-like attributes for strcatf() and xasprintf(), and
clean up errors found by the compile after doing so.
2014-04-10 18:18:28 -07:00
Catalin Patulea
57c6510fe4 upnphttp: improve robustness against malformed (possibly malicious) requests 2014-04-10 18:10:55 -07:00
Catalin Patulea
01532b0490 upnphttp: check realloc return while receiving request body 2014-04-10 17:49:01 -07:00
Catalin Patulea
4a507cc84c upnphttp: limit receive headers size to 1 MB 2014-04-10 17:48:49 -07:00
Catalin Patulea
92b6061929 upnphttp: check realloc return while receiving headers 2014-04-10 17:48:33 -07:00
Justin Maggard
d492b43ef8 Fix various potential illegal access and memory leaks in error conditions. 2014-04-07 11:20:19 -07:00
Justin Maggard
9c8bc5d9c2 status: note when a media scan is in progress 2014-03-17 11:32:56 -07:00
Justin Maggard
e3a53fc8a3 clients: separate Samsung BDP and TV client types again
Advertising the DCM10 vendor-specific feature to Samsung Series
C and D (at least) players causes them to always browse ContainerID
1, no matter which section is chosen from their GUI.

Treat TVs and BDPs as separate client types with unique features.
2014-03-11 14:46:21 -07:00
Justin Maggard
372afa1ae6 cosmetic: whitespace cleanup 2014-03-03 13:28:31 -08:00
Justin Maggard
ea9a530a3a clients: keep generic device records
Now that we display connected clients in the status page,
it makes sense that we show all of them, instead of only
recognized device types.
2014-02-26 12:34:15 -08:00
Justin Maggard
a75bdadce1 Show client status on our basic presentation page. 2014-01-07 10:14:26 -08:00
Justin Maggard
622b0b7411 Merge branch 'for-justin' of git://github.com/BenoitKnecht/minidlna 2013-11-01 17:57:00 -07:00
Justin Maggard
0700cf9774 Fix up a few conformance issues with latest testing tools. 2013-10-22 19:05:22 -07:00
Benoît Knecht
3995cbdac4 Limit the number of simultanious children
Make sure minidlna cannot fork more than 5 children, to avoid becoming a
fork bomb.

Reported-by: Rinat Ibragimov <ibragimovrinat@mail.ru>
2013-06-20 19:31:34 +02:00
Justin Maggard
1c748c1d5a * Consolidate client detection code.
* Add forced sorting support for Panasonic devices.
2013-03-18 05:37:46 +00:00
Justin Maggard
2d0ae24009 * Do some additional SQL escaping. 2012-07-28 01:16:43 +00:00
Justin Maggard
5f14c68597 * Streamline some TiVo ifdefs. 2012-06-30 00:26:55 +00:00
Justin Maggard
61fbce18ba * Replace sqlite_int64 with int64_t in many places, to better allow for the possibility of other databases. (Thanks Douglas Carmichael) 2012-06-29 23:14:27 +00:00
Justin Maggard
ba162fc082 * Add flag to force downscaled thumbnails rather than using embedded ones.
* Add DirecTV client detection.
2012-05-31 18:37:22 +00:00
Justin Maggard
2383bd97fe * Improve error checking for UPnP events. 2012-05-10 22:34:05 +00:00
Justin Maggard
755c81fd34 * Forcibly tweak the model number for Xbox360 clients, or they might ignore us. 2012-04-04 18:24:21 +00:00
Justin Maggard
25c74a3962 * Fix a crash bug on some oddly-formed WAV files. 2012-03-08 18:11:01 +00:00
Justin Maggard
6b5e121f13 * Add DLNA.ORG_FLAGS support, and clean up transferMode support. 2012-02-14 18:43:35 +00:00
Justin Maggard
996b373f83 * Improve error checking for DLNA CTT compliance. 2012-02-13 23:03:42 +00:00
Justin Maggard
fe581c5e7f * Fix a couple errors in the rotation code. 2012-01-23 18:51:48 +00:00
Justin Maggard
c5bb5c84b3 * Add image rotation support during resize. (mostly useful for TiVo) 2012-01-22 00:33:55 +00:00
Justin Maggard
6820d05143 * Fix a potential segfault on requests for existing objects with no path. (Thanks Dominic) 2012-01-21 18:09:04 +00:00
Justin Maggard
08172a4ed2 * Enhance error checking in some additional places as required by the latest UPnP CTT. 2012-01-21 01:00:26 +00:00
Justin Maggard
cfe7fa9b88 * Resizing from thumbnails isn't useful now that we are using JPEG pre-scaling. 2012-01-18 01:57:27 +00:00
Justin Maggard
889a531ecd * Add workarounds for LifeTab tablets' bad behavior. 2012-01-09 08:03:15 +00:00
Justin Maggard
9ec2fd2550 * Try to set the network interface number based on the client address, in case there is no Host header from an HTTP 1.0 request. 2011-11-30 23:53:00 +00:00
Justin Maggard
345ecb9d22 * Fix SRT caption support with the latest Samsung Series D firmware. 2011-11-23 22:41:42 +00:00
Justin Maggard
773e1f6566 * Add support for other operating systems (kFreeBSD, FreeBSD, and OSX for now).
* Switch to autoconf from genconfig.sh.
2011-09-16 23:39:58 +00:00
Justin Maggard
1e23a1e8e9 * Send a custom root description to enable the subtitle menu on some Samsung TV's. 2011-08-31 18:21:30 +00:00
Justin Maggard
f7202b9564 * Fix detection of Samsung Series D models. 2011-08-18 18:34:59 +00:00
Justin Maggard
eff8bf22db * Fix FF/REW of AVI files on Samsung Series B TV's. 2011-07-11 20:01:42 +00:00
Justin Maggard
0cf2e5731a * Make a distiction between Samsung A series and later models. We need to trick A series only into playing AVI files. 2011-05-28 00:01:21 +00:00
Justin Maggard
bec766497a * Improve support for the NETGEAR Digital Entertainer Live (EVA2000). 2011-05-26 06:15:27 +00:00
Justin Maggard
9806103335 * Add support for multiple network interfaces. 2011-05-24 17:20:16 +00:00
Justin Maggard
ffd5df4a58 * Code cleanup. 2011-05-18 19:57:33 +00:00
Justin Maggard
87aff70055 * Implement my best guess at how to support subtitles on LG clients. 2011-05-17 01:19:31 +00:00
Justin Maggard
9a9270cecf * Fix some issues reported by cppcheck. 2011-05-02 23:50:52 +00:00
Justin Maggard
e0e0fa254d * Fix a couple minor DLNA correctness issues. 2011-04-28 23:01:28 +00:00
Justin Maggard
7068d2fda4 * Improve TiVo error handling. 2011-04-28 21:04:24 +00:00
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