Opened 14 years ago
Closed 14 years ago
#7704 closed defect (fixed)
Network Interface "query liveTV" returns an error instead of expected listing
Reported by: | anonymous | Owned by: | cpinkham |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - General | Version: | 0.22-fixes |
Severity: | medium | Keywords: | liveTV, query, Network Interfaace |
Cc: | Ticket locked: | no |
Description
telnet into the Network Interface as so (your frontend address will vary): telnet 192.168.0.15 6546 At the prompt, type in "query liveTV" Expected result: a list of TV shows being broadcast at the moment. Actual result: "ERROR: Unable to retrieve current schedule list."
strangely, "query liveTV 1051" does work for me.
So the bug is probably in the SQL query in the QString NetworkControl::listSchedule(const QString& chanID) const routine of networkcontrol.cpp
Attachments (1)
Change History (6)
comment:2 Changed 14 years ago by
Replying to grhowes@…:
Sorry, neglected to put in my e-mail.
In addition to this bug, the 'play program CHANID yyyy-mm-ddThh:mm:ss' does not work either. It just brings you to the watch recordings screen.
comment:3 Changed 14 years ago by
There is as missing guard around the binding of :CHANID which depends on chanID not being empty. It should be this:
if (!chanID.isEmpty()) {
query.bindValue(":CHANID", chanID);
}
comment:4 Changed 14 years ago by
Owner: | changed from Isaac Richards to cpinkham |
---|---|
Status: | new → assigned |
comment:5 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [23394]) Fix an issue with the NetworkControl? "query livetv" command when used without a specific chanid.
Fixes #7704 using patch by Randy Rossi.
Sorry, neglected to put in my e-mail.