[mythtv-commits] Ticket #4926: MythTV.pm always prints an error if Net::UPnP::ControlPoint is not installed.
MythTV
mythtv at cvs.mythtv.org
Tue Mar 11 19:43:39 UTC 2008
#4926: MythTV.pm always prints an error if Net::UPnP::ControlPoint is not
installed.
-------------------------------+--------------------------------------------
Reporter: andrew at etc.gen.nz | Owner: xris
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: perl / nuvexport | Version: 0.21-fixes
Severity: medium | Mlocked: 0
-------------------------------+--------------------------------------------
Some of my mythtv-status users have asked about an error message that is
always printed from MythTV.pm which says:
Net::UPnP::ControlPoint is not installed!
Looking at the code this is always printed if Net::UPnP is not installed,
even if UPnP isn't needed to be used. Then if MythTV.pm does try and fall
back to UPnP but the module isn't present *another* warning is printed.
So I think this first warning isn't required. The attached patch removes
it.
If this could go on 0.21-fixes that would be excllent. As it affects
anyone using the Perl bindings included with 0.21 that don't have this
often unrequired module installed.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4926>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list