News:

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

+-+-

+-User

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

+-Site Stats

Members
Total Members: 16847
Latest: dennis93
New This Month: 25
New This Week: 7
New Today: 1
Stats
Total Posts: 135305
Total Topics: 16948
Most Online Today: 132
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 2
Guests: 90
Total: 92

API commands returning errors

Started by mcsketchy, August 30, 2023, 06:56:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mcsketchy

I'm getting errors when using some api commands in FPP 7.0. These are commands and error below:

192.168.0.22/api/sequence/Halloween.fseq/start/60 or 192.168.0.22/api/sequence/Halloween/start/60

Notice: Undefined variable: settings in /opt/fpp/www/api/controllers/sequence.php on line 132
Notice: Trying to access array offset on value of type null in /opt/fpp/www/api/controllers/sequence.php on line 132
{"status":"OK","SequenceName":"Halloween.fseq","startSecond":"60"}


192.168.0.22/api/sequence/Halloween.fseq or 192.168.0.22/api/sequence/Halloween

Notice: Undefined variable: sequence in /opt/fpp/www/api/controllers/sequence.php on line 23
Notice: Undefined variable: sequence in /opt/fpp/www/api/controllers/sequence.php on line 24
Limonade
Page not found:
Not found: .fseq

192.168.0.22/api/sequence

The sequence appears in the array as expected

I also have a general question; is there a command to start a sequence that isn't recommended for testing only. I can't put this sequence into a separate playlist because I'd like to pause a playlist, play standalone sequence, and then resume the original playlist. If I put the standalone sequence into a playlist, I won't be able to resume the original playlist where it was paused. 

kcammack

Quote from: mcsketchy on August 30, 2023, 06:56:15 PMI also have a general question; is there a command to start a sequence that isn't recommended for testing only. I can't put this sequence into a separate playlist because I'd like to pause a playlist, play standalone sequence, and then resume the original playlist. If I put the standalone sequence into a playlist, I won't be able to resume the original playlist where it was paused. 
Did you ever figure this out?

darylc

Quote from: kcammack on January 03, 2025, 03:28:57 PM
Quote from: mcsketchy on August 30, 2023, 06:56:15 PMI also have a general question; is there a command to start a sequence that isn't recommended for testing only. I can't put this sequence into a separate playlist because I'd like to pause a playlist, play standalone sequence, and then resume the original playlist. If I put the standalone sequence into a playlist, I won't be able to resume the original playlist where it was paused. 
Did you ever figure this out?
Check out the insert playlist immediate API call, eg http://192.168.34.234/api/command/Insert%20Playlist%20Immediate/test

Support FPP

+- Recent Topics

K2-Pi-Servo by breese
Today at 01:47:06 PM

FPP 8.4 released! by lrhorer
Today at 09:09:58 AM

Big button url question by darylc
January 14, 2025, 05:54:32 PM

Display TEXT to LED Panels form REST API by CaptainMurdoch
January 14, 2025, 11:55:25 AM

Differential Board: PSU & Enclosure by jnealand
January 14, 2025, 07:42:55 AM

wine from matrix with octoscroller control by Poporacer
January 12, 2025, 10:40:05 AM

xLights.org forum registration waiting for approval for several months. by darylc
January 11, 2025, 12:42:54 AM

FPP sequence fade by CaptainMurdoch
January 10, 2025, 08:19:33 AM

Combining multiple shows (models, sequences, etc.) into a single xLights show by JonD
January 09, 2025, 07:41:31 PM

F8 Distro Board and 36V power supplyu by JonD
January 09, 2025, 12:04:31 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod