Browse files

Invoke mythfilldatabase from correct path in "Fetch channels from lis…

…ting src"

Only a problem if MythTV binaries/libs aren't installed, like if using Mac OS X
standalone .app bundles. Closes #9986. Note also that the listings grabber will
also need to be in the users' path (mythtv-setup doesn't check that).
  • Loading branch information...
NigelPearson committed Aug 13, 2011
1 parent 4238dfb commit ce7731aa040bf8c4d87c3059ea0a7a49e5fa1437
Showing with 3 additions and 1 deletion.
  1. +3 −1 mythtv/libs/libmythtv/sourceutil.cpp
@@ -7,6 +7,7 @@
#include "sourceutil.h"
#include "cardutil.h"
#include "mythdb.h"
+#include "mythdirs.h"
#include "mythlogging.h"
#include "util.h"
@@ -347,7 +348,8 @@ bool SourceUtil::IsAnySourceScanable(void)
bool SourceUtil::UpdateChannelsFromListings(uint sourceid, QString cardtype)
- QString cmd = "mythfilldatabase --only-update-channels";
+ QString cmd = GetInstallPrefix() +
+ "/bin/mythfilldatabase --only-update-channels";
if (sourceid)
cmd += QString(" --sourceid %1").arg(sourceid);
if (!cardtype.isEmpty())

0 comments on commit ce7731a

Please sign in to comment.