[mythtv] PATCH: Tidy up backend status DVB formatting
Martin Smith
martin at spamcop.net
Mon Apr 26 15:02:11 EDT 2004
Hi,
This trivial patch adds a check I missed in my original patch a while back. It
stops it printing lines of recording time info when there's no corresponding
data on siqnal quality in the database.
Martin
--- programs/mythbackend/mainserver.cpp 10 Apr 2004 19:31:58 -0000 1.131
+++ programs/mythbackend/mainserver.cpp 26 Apr 2004 18:53:35 -0000
@@ -2672,7 +2672,7 @@
cout << query.lastError().databaseText() << "\r\n"
<< query.lastError().driverText() << "\r\n";
- if (query.isActive())
+ if (query.isActive() && query.numRowsAffected())
{
os << "<br>Recording period from " << t_start.toString() <<
" to " << t_end.toString() <<
More information about the mythtv-dev
mailing list