Ticket #2622: mythtv-GetInstallPrefix_for_mfdb_path.patch
File mythtv-GetInstallPrefix_for_mfdb_path.patch, 1.5 KB (added by , 17 years ago) |
---|
-
programs/mythbackend/housekeeper.cpp
281 281 QString mflog = gContext->GetSetting("MythFillDatabaseLog", 282 282 "/var/log/mythfilldatabase.log"); 283 283 284 if (mfpath == "mythfilldatabase") 285 mfpath = gContext->GetInstallPrefix() + "/bin/mythfilldatabase"; 286 284 287 if (mflog == "") 285 288 command = QString("%1 %2").arg(mfpath).arg(mfarg); 286 289 else -
programs/mythfrontend/globalsettings.cpp
2919 2919 static GlobalLineEdit *MythFillDatabasePath() 2920 2920 { 2921 2921 GlobalLineEdit *be = new GlobalLineEdit("MythFillDatabasePath"); 2922 be->setLabel(QObject::tr("mythfilldatabase Path")); 2923 be->setValue(gContext->GetInstallPrefix() + "/bin/mythfilldatabase"); 2924 be->setHelpText(QObject::tr("Path (including executable) of the " 2925 "mythfilldatabase program.")); 2922 be->setLabel(QObject::tr("mythfilldatabase Program")); 2923 be->setValue("mythfilldatabase"); 2924 be->setHelpText(QObject::tr("Use 'mythfilldatabase' or the name of a " 2925 "custom script that will populate the program guide info " 2926 "for you.")); 2926 2927 return be; 2927 2928 } 2928 2929