Skip to content

Commit

Permalink
Invoke mythfilldatabase from correct path in "Fetch channels from lis…
Browse files Browse the repository at this point in the history
…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 ce7731a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mythtv/libs/libmythtv/sourceutil.cpp
Expand Up @@ -7,6 +7,7 @@
#include "sourceutil.h"
#include "cardutil.h"
#include "mythdb.h"
#include "mythdirs.h"
#include "mythlogging.h"
#include "util.h"

Expand Down Expand Up @@ -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())
Expand Down

0 comments on commit ce7731a

Please sign in to comment.