[mythtv-firehose] mythtv/master commit: 17c45ca54 by Mark Kendall (mark-kendall)

MythTV noreply at mythtv.org
Thu Jul 7 10:09:21 UTC 2011


      Author:  Mark Kendall <mkendall at mythtv.org>
 Change Date:  2011-07-07T03:09:00-07:00
   Push Date:  2011/07/07 03:09:12 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  17c45ca543224efe53f2d1a119dce3d63df70eb5
   Changeset:  https://github.com/MythTV/mythtv/commit/17c45ca54

Log:

Add initial 'beta' UPnP MediaServer support to mythfrontend.

This still has a raft of issues and is disabled by default. To enable,
set the environment variable MYTHTV_UPNPSCANNER and switch to File
Browse Mode in MythVideo.

Known issues:-

- on at least one system here, there is some sort of race/thread lockup
that can delay mythfrontend startup for 30-40 seconds. Seems to be
something to do with the storm of UPnP related messages pinging around
following the SSDP scan - but sometimes startup is normal.

- there are various issues with StreamingRingBuffer that prevent
playback of certain file types (that should otherwise work). While some
file types still need to be filtered out (e.g. iso's), there are still
many files that should play without issue but don't. Sometimes a file
will fail first time around and then play quite happily if reselected
(mostly Play On). Other issues may be server related (e.g. MediaTomb
seems to offer up wmv files and then returns a 404).

- scanning of some servers takes too long. The Play On server, for
example, contains a sizeable file structure that takes 10s of minutes to
scan (at least 90s just for the YouTube directory)- whereas the current
timeout for scanning is 30 seconds to maintain a happy user. While the
scan results are cached, an update can be issued every couple of minutes
- which requires a rescan... All told, I think a different approach is
needed that scans and presents directories as required but I can't see
how that fits into the current MythVideo setup. Perhaps we need a more
traditional file browser for 'external' media.

Modified:

   mythtv/libs/libmythupnp/upnpsubscription.cpp
   mythtv/programs/mythfrontend/mediarenderer.cpp
   mythtv/programs/mythfrontend/upnpscanner.cpp
   mythtv/programs/mythfrontend/upnpscanner.h
   mythtv/programs/mythfrontend/videolist.cpp



More information about the mythtv-firehose mailing list