[mythtv] [mythtv-commits] mythtv branch master updated by stuartm. v0.28-pre-2290-g0a0872e
Stuart Morgan
stuart at tase.co.uk
Sun Oct 12 13:49:47 UTC 2014
On Sunday 12 Oct 2014 14:07:27 John Pilkington wrote:
> On the last try Music would play but not Recordings, neither TS nor PS.
> Videos haven't played in this build earlier. Here's a 'general' log
> snippet that shows an auto (IIRC) kill and restart after trying to play
> a Recording.
I think what is happening with your upnp client is this -
In order to determine whether the file is something it is able to play it
starts downloading the whole thing, when it has enough bytes to determine what
the file type and encoding parameters are it closes the connection without
downloading any further. Since the new code doesn't detect a client
disconnection as it's supposed to we keep writing the file data to the socket.
For music these sizes are small, and don't cause the same OOM issue.
Although it's definitely a bug on our end, a better written client would use
the http range header to only download the bit of the file it wants, it
wouldn't request the whole thing. A perfect client would just look at the DLNA
profile to determine the file format.
--
Stuart Morgan
More information about the mythtv-dev
mailing list