diff --git a/mythtv/configure b/mythtv/configure
index 1a27048a9f..a2737cf5d1 100755
|
a
|
b
|
cat > $TMPH <<EOF
|
| 7656 | 7656 | #define JDK_HOME "$JDK_HOME" |
| 7657 | 7657 | #define JAVA_ARCH "$java_arch" |
| 7658 | 7658 | #define IMAGE_ALIGN $image_align |
| | 7659 | #define PYTHON_EXE "${python}" |
| 7659 | 7660 | EOF |
| 7660 | 7661 | |
| 7661 | 7662 | # Code only checks whether HAVE_BDJ_J2ME is defined, not what value |
diff --git a/mythtv/programs/mythbackend/mainserver.cpp b/mythtv/programs/mythbackend/mainserver.cpp
index 411a2674fe..26cba5e1d9 100644
|
a
|
b
|
void MainServer::HandleMusicGetLyricGrabbers(const QStringList &/*slist*/, Playb
|
| 6948 | 6948 | for (int x = 0; x < scripts.count(); x++) |
| 6949 | 6949 | { |
| 6950 | 6950 | QProcess p; |
| 6951 | | p.start(QString("python %1 -v").arg(scripts.at(x))); |
| | 6951 | p.start(QString("%1 %2 -v").arg(PYTHON_EXE).arg(scripts.at(x))); |
| 6952 | 6952 | p.waitForFinished(-1); |
| 6953 | 6953 | QString result = p.readAllStandardOutput(); |
| 6954 | 6954 | |
diff --git a/mythtv/programs/mythutil/musicmetautils.cpp b/mythtv/programs/mythutil/musicmetautils.cpp
index 937fb701f4..969b3908eb 100644
|
a
|
b
|
|
| 4 | 4 | #include <QDomDocument> |
| 5 | 5 | |
| 6 | 6 | // libmyth* headers |
| | 7 | #include "mythconfig.h" |
| 7 | 8 | #include "exitcodes.h" |
| 8 | 9 | #include "mythlogging.h" |
| 9 | 10 | #include "storagegroup.h" |
| … |
… |
static int FindLyrics(const MythUtilCommandLineParser &cmdline)
|
| 491 | 492 | for (int x = 0; x < scripts.count(); x++) |
| 492 | 493 | { |
| 493 | 494 | QProcess p; |
| 494 | | p.start(QString("python %1 -v").arg(scripts.at(x))); |
| | 495 | p.start(QString("%1 %2 -v").arg(PYTHON_EXE).arg(scripts.at(x))); |
| 495 | 496 | p.waitForFinished(-1); |
| 496 | 497 | QString result = p.readAllStandardOutput(); |
| 497 | 498 | |
| … |
… |
static int FindLyrics(const MythUtilCommandLineParser &cmdline)
|
| 535 | 536 | gCoreContext->SendMessage(QString("MUSIC_LYRICS_STATUS %1 %2").arg(songID).arg(statusMessage)); |
| 536 | 537 | |
| 537 | 538 | QProcess p; |
| 538 | | p.start(QString("python %1 --artist=\"%2\" --album=\"%3\" --title=\"%4\" --filename=\"%5\"") |
| 539 | | .arg(grabber.m_filename).arg(artist).arg(album).arg(title).arg(filename)); |
| | 539 | p.start(QString("%1 %2 --artist=\"%3\" --album=\"%4\" --title=\"%5\" --filename=\"%6\"") |
| | 540 | .arg(PYTHON_EXE).arg(grabber.m_filename).arg(artist).arg(album).arg(title).arg(filename)); |
| 540 | 541 | p.waitForFinished(-1); |
| 541 | 542 | QString result = p.readAllStandardOutput(); |
| 542 | 543 | |