Skip to content
Browse files

Net Utils: Only select distinct grabbers.

Prevents doubling up on grabbers configured on multiple hosts.

Fixes #10000.
  • Loading branch information...
1 parent c29bf5e commit dd67c159a0e2f528649347e4fc2e5ad56f5b288c Robert McNamara committed Aug 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmyth/netutils.cpp
View
2 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;");

0 comments on commit dd67c15

Please sign in to comment.
Something went wrong with that request. Please try again.