Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update $messageQueue_Plugin for FPP v3.x #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
update $messageQueue_Plugin for FPP v3.x
lines 27 - 30, fix plugin name to match FPP v3.x
odd typo on "if (strpos($pluginName, "FPP-Plugin") !== false)" the "!==" should be "!=" or "=="
felt it was better just to drop the extra name checking and set $messageQueue_Plugin for current naming
neilsunw authored Feb 9, 2020
commit 26e80e251ec3cff8c358e1f5f8bfd86de2b0ad11
8 changes: 4 additions & 4 deletions matrix.php
Original file line number Diff line number Diff line change
@@ -24,10 +24,10 @@
require ("lock.helper.php");
define('LOCK_DIR', '/tmp/');
define('LOCK_SUFFIX', $pluginName.'.lock');
$messageQueue_Plugin = "MessageQueue";
if (strpos($pluginName, "FPP-Plugin") !== false) {
$messageQueue_Plugin = "FPP-Plugin-MessageQueue";
}
$messageQueue_Plugin = "FPP-Plugin-MessageQueue"; // NBP 2/2/2020
//if (strpos($pluginName, "FPP-Plugin") !== false) {
// $messageQueue_Plugin = "FPP-Plugin-MessageQueue";
//}
$MESSAGE_QUEUE_PLUGIN_ENABLED=false;

$fpp_matrixtools_Plugin = "fpp-matrixtools";