summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert McNamara <rmcnamara@mythtv.org>2011-08-20 13:49:27 (GMT)
committer Robert McNamara <rmcnamara@mythtv.org>2011-08-20 13:49:27 (GMT)
commitdd67c159a0e2f528649347e4fc2e5ad56f5b288c (patch)
treea5961f63fb632f27c926f4f1e56025ef2d920415
parentc29bf5e484ed6f81fac7dfe3159303005bbb8907 (diff)
Net Utils: Only select distinct grabbers.
Prevents doubling up on grabbers configured on multiple hosts. Fixes #10000.
-rw-r--r--mythtv/libs/libmyth/netutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mythtv/libs/libmyth/netutils.cpp b/mythtv/libs/libmyth/netutils.cpp
index 95294cd..8465f02 100644
--- a/mythtv/libs/libmyth/netutils.cpp
+++ b/mythtv/libs/libmyth/netutils.cpp
@@ -124,7 +124,7 @@ GrabberScript* findSearchGrabberByCommand(const QString& commandline,
GrabberScript::scriptList findAllDBTreeGrabbers()
{
MSqlQuery query(MSqlQuery::InitCon());
- query.prepare("SELECT name,thumbnail,type,"
+ query.prepare("SELECT DISTINCT name,thumbnail,type,"
"author,description,commandline,"
"version,search,tree FROM internetcontent "
"where tree = 1 ORDER BY name;");