[mythtv] UPnP Improvements - [a44606fc2]

Tomi Orava tomimo+mythtv-dev at ncircle.nullnet.fi
Mon Sep 15 06:37:09 UTC 2014

Quoting Stuart Morgan <stuart at tase.co.uk>:

> On Saturday 13 Sep 2014 17:56:54 Tomi Orava wrote:
>>> If you use a Sony TV, can you now view and play back recordings without
>>> the
>>> mimetype hack? Again this was not UPnP or DLNA compliant, I'm hoping the
>>> addition of DLNA profile names and flags helps here.
>> I noticed that todays trunk is broken what comes to Samsung TV's.
>> The newer 2013 model sees the mythbackend server, but is unable to list
>> any contents ---> no files can be seen on recordings view.
> Hmm, that sounds like it doesn't think that it supports MPEG_TS even if it's
> able to play them. Do the different sub-folders get shown? Title, genre etc?

Sorry, I'm little bit behind in testing as it took a short while to figure
out how to get reliable test results with the old Samsung TV.

I did try your commit:

commit 46884acc31ef3ca146d2d6c08df81349e2d9a209
Author: Stuart Morgan <smorgan at mythtv.org>
Date:   Sat Sep 13 16:42:08 2014 +0100

      UPnP: Add DLNA profile info to the supported protocols returned  
by the media server. This is a bit of a hack for now but it may  
resolve some DLNA clients not listing the MythTV server.

With the new Samsung and unfortunately it did not work too well
as none of the contents was available. I can select from Videos and Music etc,
but that's about it, there is no content available at all, not a single entry.

> What happens if you make a recording available via another upnp server like
> BubbleUPnP? If that works then knowing the DLNA profile may help.

Both of the Samsung TV's are working just fine with latest version of
the minidlna server. I am testing with the video clips instead of
recordings, in case it matters.

However, I did find the offending commit that seems to break
the old Samsung TV, although I have absolutely no idea how
it could be caused by the following commit:

commit ef72dc4aeef10ae0c9f2c3ecc16074d8fef5b4de
Author: Stuart Morgan <smorgan at mythtv.org>
Date:   Fri Aug 1 23:20:08 2014 +0100

      Remove definition of m_pHttpServer from MediaRenderer and use  
the one in the base class, UPnP

Therefore I tested with and without this particular commit a couple of times
and for some reason, with the above commit in place, the mythbackend
is no more visible on the old Samsung server list. Removing this
commit and everything seems to work with the Aug 1 build.

Tomi Orava

PS. I found a couple of links to Skifta, haven't tested them though.


>> Do you happen to have Skifta available ?
> No I don't, and it appears to be no longer available. However if someone has
> the apk I'll give it a go.
> --
> Stuart Morgan
> MythTV
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

More information about the mythtv-dev mailing list