691 Commits

Author SHA1 Message Date
Justin Maggard
f09f441607 upnpsoap: Handle StartingIndex on magic containers
We need to subtract StartingIndex when we limit SQL query
results based on the max number of items in a magic container.
2015-04-08 01:21:21 -07:00
Justin Maggard
f18c3cee6f image: Improve resize quality at the edges.
get_pix() returns opaque black pixels for out-of-bounds coordinates, resulting
in spurious averages at the edges. The attached patch appears to fix the
problem, at least for the floating-point resizers.

From SF user R.L. Horn.
2015-02-09 18:01:54 -08:00
Justin Maggard
24fb139678 metadata: Use "Album Artist" tag from AAC files.
Add Album Artist AAC metadata parsing contributed by SF user knono549.
Then, change music metadata gathering code to use either Album Artist
or Band as upnp:artist.
2015-02-03 17:22:32 -08:00
Justin Maggard
3c4c35b49c upnpsoap: Use scaled thumbnails when rotation is needed
Embedded thumbnails may have an undesirable orientation, so
we should do our own scaling with inline rotation if the
thumbnail image needs to be rotated.
2014-12-11 17:03:35 -08:00
Justin Maggard
7fe24ae1bc Wrap up version 1.1.4. 2014-08-26 14:09:22 -07:00
Justin Maggard
75a697a671 upnpttp: factor out basic header generation 2014-07-25 18:26:02 -07:00
Justin Maggard
04c8730dae clients: reduce log level of some debug messages 2014-07-25 18:25:45 -07:00
Justin Maggard
2caa05f69a Update NEWS. 2014-07-18 15:36:36 -07:00
Justin Maggard
b1cd1b5413 upnphttp: fix requests for the last byte of a file
Philips TV's apparently do this with MKV files (SF bug #180).
2014-07-18 12:27:39 -07:00
Justin Maggard
5b3c6a3645 upnphttp: declare a couple functions static 2014-07-18 12:26:30 -07:00
Justin Maggard
24ec6d24fb Merge branch 'master' into ffmpeg 2014-07-11 18:17:33 -07:00
Justin Maggard
44810ab274 Stub out NLS function. 2014-07-11 18:16:33 -07:00
Justin Maggard
255bb2a5c4 tagutils-aac: fix bad null termination
SF bug #244, patch #119
2014-07-11 17:20:41 -07:00
Justin Maggard
8029921884 containers: add magic container infrastructure
Add support for dynamic containers, with enough flexibility to also
replace our existing container ID replacement functionality.
2014-07-01 17:08:18 -07:00
Justin Maggard
95bbedb196 upnpsoap: factor out some duplicated code. 2014-06-27 12:59:50 -07:00
Justin Maggard
c226e615ad upnpsoap: factor out ObjecID translation into a separate function. 2014-06-26 18:54:45 -07:00
Justin Maggard
a01ffa1787 Fixes for client cache restructuring. 2014-06-17 18:38:36 -07:00
Justin Maggard
0e55facacd metadata: support 64-bit time_t
OpenBSD moved all machine architectures to long long time_t in the last
release which triggered a crash in minidlna's scanner on 32-bit systems.

Reported-by: Stuart Henderson
2014-06-11 10:23:23 -07:00
Justin Maggard
a46a8e5e89 process: associate open connections with clients 2014-06-09 18:48:49 -07:00
Justin Maggard
e9a653d6e8 clients: restructure client cache 2014-06-09 18:02:03 -07:00
Justin Maggard
173f6a76d7 Wrap up version 1.1.3. 2014-06-05 15:14:30 -07:00
Justin Maggard
7cc2ddedff clients: add NetFront Living Connect support
Add subtitle support for NetFront™ Living Connect middleware-based
clients.  These appear to include devices from Panasonic, Philips,
Vizio, Sony, and probably more.
2014-06-05 13:47:26 -07:00
Justin Maggard
25f6c01f85 clients: remove FLAG_SAMSUNG_DCM10 capability
I'm not entirely sure what this flag enables.  But there are reports
that is breaks browsing on Samsung Series F TV's.  So we'll have to
disable for now, until that gets sorted out by people who actually
have Samsung TV's.
2014-06-05 13:10:51 -07:00
Justin Maggard
bb9d584a86 metadata: get rid of some unnecessary mallocs 2014-05-16 11:07:43 -07:00
Justin Maggard
2ab6d21dbf metadata: get embedded cover art from video files using libavformat
Newer version of libavformat can grab cover art, so we'll go ahead
and use it.  We also need to make sure we don't confuse cover art
with a normal video stream.
2014-05-16 09:58:54 -07:00
Justin Maggard
05cde8a79f metadata: more libav10 compatibility changes
Add a couple more compatibility wrappers.
2014-05-14 18:33:26 -07:00
Justin Maggard
ca6645e980 Merge branch 'master' into ffmpeg 2014-05-14 17:55:19 -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
28c751023a Merge branch 'master' into ffmpeg 2014-05-14 15:56:33 -07:00
Justin Maggard
361bc34f93 metadata: add libavcodec > 54 compatibility
libavcodec55 brings some API changes, including CodecID => AVCodecID.
Add a compatibility wrapper so we can build with libavcodec >= 55.
2014-05-14 15:44:15 -07:00
Justin Maggard
ad4c7fbebe Merge branch 'master' into ffmpeg 2014-04-30 10:19:09 -07:00
Justin Maggard
8e05f9b6f7 Allow the user to specify an arbitrary root container. 2014-04-29 16:12:42 -07:00
Justin Maggard
820b5857a5 Fix a few memory leaks in some error conditions during image manipulation. 2014-04-29 10:44:34 -07:00
Justin Maggard
9b1d541dc8 Merge branch 'master' into ffmpeg 2014-04-28 16:02:19 -07:00
Justin Maggard
61bb91ecc9 scanner: check defined media types before parsing files 2014-04-28 16:01:30 -07:00
Justin Maggard
7cc550ac14 Merge branch 'master' into ffmpeg 2014-04-28 12:32:50 -07:00
Justin Maggard
f9c37fb205 clients: add BubbleUPnP detection and enable subtitle support 2014-04-28 12:04:19 -07:00
Justin Maggard
13e3613dd6 Minor code simplification. 2014-04-28 12:00:59 -07:00
Justin Maggard
4eeb0858e4 Merge commit '750917f7ea9876d7a97f48aa4b22097fcf7958d9' 2014-04-28 10:47:01 -07:00
Justin Maggard
67e673fe51 Merge commit 'e4fcb71' into ffmpeg 2014-04-25 17:31:48 -07:00
Justin Maggard
e4fcb717e7 log: replace a few fprintf's with DPRINTF's. 2014-04-25 17:31:12 -07:00
Justin Maggard
750917f7ea minissdp: fix minor uninitialized access 2014-04-25 17:13:07 -07:00
Justin Maggard
be5f4a50eb Type data pointer variables as uint8_t. 2014-04-25 14:30:38 -07:00
Justin Maggard
381c4805e6 subtitles: accept smi in addition to srt 2014-04-21 15:44:39 -07:00
Justin Maggard
0721528bcd sql: introduce sql_get_int64_field()
Returns int64_t instead of int.
2014-04-21 15:43:13 -07:00
Justin Maggard
27a29f9e92 tivo: clean up some error checking 2014-04-18 16:18:00 -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
e2cebb68e1 albumart: use a separate variable for temporary pointer storage
Re-using the same one confuses some static code analyzers, and
is a bit less readable.
2014-04-18 15:36:38 -07:00
Justin Maggard
331d484555 utils: add noalloc flag to modifyString()
This should make it more straightforward for code analyzers to
tell if the function is going to allocate memory.
2014-04-18 15:18:44 -07:00
Justin Maggard
b0550495e8 sql: use va_end() where appropriate 2014-04-11 14:34:23 -07:00