[mythtv-commits] Ticket #219: Verbose error in autoexpire.cpp
MythTV
mythtv at cvs.mythtv.org
Mon Aug 15 15:02:26 UTC 2005
#219: Verbose error in autoexpire.cpp
-----------------------------------------------+----------------------------
Reporter: pc-mythsvn-report1 at crowcastle.net | Owner: danielk
Type: patch | Status: new
Priority: trivial | Milestone:
Component: mythtv | Version:
Severity: low | Cc: |
-----------------------------------------------+----------------------------
From the -dev list:
I've been looking at the verbose output of the logging, and I see a bunch
of messages like:
2005-08-14 13:37:51.752 Found -1 episodes in recording profile 78 using
max expiration
2005-08-14 13:37:51.756 Found -1 episodes in recording profile 850 using
max expiration
I tracked this message down to programs/mythbackend/autoexpire.cpp in
AutoExpire::ExpireEpisodesOverMax(). The VERBOSE() output at line 422 is
before the query.exec() call. I believe that the correct code would be to
move the VERBOSE() inside the if statement, and probably add an else()
statement with another VERBOSE().
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/219>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list