News:

LATEST RELEASE:  FPP 6.3 - Download from here - https://github.com/FalconChristmas/fpp/releases/tag/6.3

+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Site Stats

Members
Total Members: 15700
Latest: maurjmc
New This Month: 0
New This Week: 2
New Today: 0
Stats
Total Posts: 128652
Total Topics: 15833
Most Online Today: 63
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 1
Guests: 21
Total: 22

FPP 6.2 Playlist/FPP Command/Run Script vs. Playlist/Script

Started by richardln2, December 01, 2022, 06:16:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

richardln2

I upgraded my FPP this year from old 4.x version to 6.2 (fresh install and then restored config backup). 
Everything seemed to work fine with one exception...  the "install/restore config" changed the "script" entries in my playlists to "FPP Command/Run Script" and these scripts (simple StaticOn / StaticOff scripts) don't seem to get executed.
 
Example StaticOn_Wings.sh Script:
MODEL="AngelWings-Wings"
# Turn on the model in overlay mode
fppmm -m ${MODEL} -o on
# Turn on all the channels in the model by setting their values to 255
fppmm -m ${MODEL} -s 255

The model " AngelWings-Wings" is set as single channel, 1 Ch/Node. The script file is located in the ~fpp/media/scripts directory and has permissions:
-rwxr-xr-x  1 fpp fpp 1650 Jan 27  2022 StaticOn_Wings.sh

If I manually edit the Playlist entries to "Script" vs "FPP Command/Run Script" then the scripts seem to work OK.

Could someone please explain the difference between the two? Is one preferred over the other?
If the "FPP Command/Run Script" is the preferred method then is there any log that might be helpful in debugging the problem?

In the meantime, I'm up and running with the "Script" playlist entry so no rush.


Support FPP

+- Recent Topics

USB to DMX by tbone321
Today at 09:20:49 PM

FPP difficulties by Poporacer
March 31, 2023, 07:02:11 PM

F/S Arduino UNO R3 with extras by CeP
March 31, 2023, 06:36:52 PM

Flexible ws2811 panels by Mark_M
March 29, 2023, 09:39:37 PM

Problem with one of my Remotes - syslog always starts with "soliciting.." by Jayl
March 28, 2023, 11:03:41 PM

F48v4-NS unable to connect to WiFi Hotspot by joeyblasko
March 28, 2023, 03:18:46 PM

DMX to pneumatic solenoid by deanathpc
March 27, 2023, 07:54:22 AM

Libre SBC with oled by mel4853
March 24, 2023, 04:04:06 PM

K8-Pi - Random Pixels on by cybercop23
March 24, 2023, 10:44:49 AM

Limitations on Video file size? by Jayl
March 23, 2023, 11:06:14 AM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod