[mythtv-commits] Ticket #6071: Original airdate problem with perl-bindings
MythTV
mythtv at cvs.mythtv.org
Mon Jan 5 16:19:59 UTC 2009
#6071: Original airdate problem with perl-bindings
----------------------------------+-----------------------------------------
Reporter: otto at kolsi dot fi | Owner: xris
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: perl / nuvexport | Version: head
Severity: low | Mlocked: 0
----------------------------------+-----------------------------------------
When running one of the scripts using Perl bindings (e.g. mythrename.pl),
there are following errors:
{{{
Use of uninitialized value $oyear in substr at
/usr/local/lib/perl5/site_perl/5.10.0/MythTV/Program.pm line 380.
substr outside of string at
/usr/local/lib/perl5/site_perl/5.10.0/MythTV/Program.pm line 380.
Use of uninitialized value $omonth in int at
/usr/local/lib/perl5/site_perl/5.10.0/MythTV/Program.pm line 382.
Use of uninitialized value $oday in int at
/usr/local/lib/perl5/site_perl/5.10.0/MythTV/Program.pm line 384.
}}}
This is probably because program table has only empty (or 0000) values in
airdate column.
Attached patch contains one possible fix for this problem.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6071>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list