Justin Maggard b94f04d6ef upnpsoap: Work around LG TV ordering bug.
From SF Patch #90:

My LG TV (42LE5500) retrieves items from BrowseDirectChildren in a weird way.
The TV can only display up to 20 items per page, but it sets RequestedCount to
54. StartingIndex is correctly set to 0, 20, 40, ... etc. When minidlna responds
with the 54 entries, the TV sorts folders (containers) first, before items, then
displays the entries, limited to 20 per page.

In my setup, I have ~23 folders whose names are similar to the files, so that
when sorting by name, the folders are mixed with the files, thereby resulting in
duplicate folders appearing on all 3 pages and many missing files. The solution
is to make sure minidlna orders items the same way that the TV expects them, so
that when the StartingIndex is 20 or more, we return the "correct" subset of
items.

Thanks SF user Darell Tan for the fix.
2015-07-29 23:58:21 -07:00
2014-02-03 11:43:40 -08:00
2011-11-02 06:59:48 +00:00
2013-11-01 18:05:31 -07:00
2008-10-23 17:30:45 +00:00
2014-03-06 17:09:39 -08:00
2014-08-26 14:09:22 -07:00
2014-03-12 11:40:49 -07:00
2011-09-21 21:55:56 +00:00
2013-11-01 18:05:31 -07:00
2014-04-21 15:43:13 -07:00
2014-04-21 15:43:13 -07:00
2012-06-30 00:26:55 +00:00
2014-08-26 14:09:22 -07:00
2014-05-14 17:53:25 -07:00
2014-05-14 17:53:25 -07:00
2014-03-07 12:42:40 -08:00

MiniDLNA project
(c) 2009 Justin Maggard
Portions (c) 2006-2007 Thomas Bernard
webpage: http://sourceforge.net/projects/minidlna/

This directory contains the MiniDLNA daemon software.
This software is subject to the conditions detailed in
the LICENCE file provided with this distribution.

Parts of the software including the discovery code are
licensed under the BSD revised license which is detailed
in the LICENSE.miniupnpd file provided with the distribution.
More information on MiniUPnPd can be found at http://miniupnp.free.fr.


The MiniDLNA daemon is an UPnP-A/V and DLNA service which
serves multimedia content to compatible clients on the network.
See http://www.upnp.org/ for more details on UPnP
and http://www.dlna.org/ for mode details on DLNA.

See the INSTALL file for instructions on compiling, installing,
and configuring minidlna.

Prerequisites
==================

- libexif
- libjpeg
- libid3tag
- libFLAC
- libvorbis
- libsqlite3
- libavformat (the ffmpeg libraries)


Justin Maggard
Description
A fork of readymedia/minidlna with opus support added
Readme 1.6 MiB
Languages
C 96.4%
M4 2.2%
Roff 0.8%
Shell 0.3%
Makefile 0.3%