[mythtv-commits] Ticket #9499: Cannot retrieve lineups in mythtv-setup
MythTV
noreply at mythtv.org
Fri Jan 21 18:10:38 UTC 2011
#9499: Cannot retrieve lineups in mythtv-setup
-------------------------------------------------+-------------------------
Reporter: Mike Rice <mikerice1969@…> | Owner: danielk
Type: Bug Report | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Mythtv-setup | Version: Trunk Head
Severity: medium | Keywords:
Ticket locked: 0 |
-------------------------------------------------+-------------------------
Process gets as far as grabbing data from datadirect to /tmp/crap (yes I
love that name) but fails in DataDirectProcessor::GrabData because
inputfile is empty. I "fixed" with the change below. That allows me to
continue but may not be the best way to fix it of course.
{{{
diff --git a/mythtv/libs/libmythtv/datadirect.cpp
b/mythtv/libs/libmythtv/datadirect.cpp
index 7257606..b32f9ac 100644
--- a/mythtv/libs/libmythtv/datadirect.cpp
+++ b/mythtv/libs/libmythtv/datadirect.cpp
@@ -1221,6 +1221,8 @@ bool DataDirectProcessor::GrabData(const QDateTime
pstartDate,
return false;
}
+ if (inputfile.isEmpty())
+ inputfile = "/tmp/crap";
QFile file(inputfile);
file.open(QIODevice::ReadOnly);
QByteArray data = file.readAll();
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9499>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list