News:

Server migration complete, Welcome to version 2.1.1

+-+-

+-User

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

+-Site Stats

Members
Total Members: 15698
Latest: kronescharles
New This Month: 16
New This Week: 0
New Today: 0
Stats
Total Posts: 128631
Total Topics: 15828
Most Online Today: 39
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 0
Guests: 23
Total: 23

fppxml.php

Started by twooly, December 05, 2022, 07:56:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

twooly

Does it still work in 6.2?

I use a script on the master to start a playlist on a remote but doesn't seem to work now since upgrading the remote to 6.2 (Remote-StartRepeatingPlaylist.sh). 

Script is a leadon position for a playlist...seems to run but the playlist does not start on the remote, the playlist name does exist on the remote and the remote can connect to the remote ok ip wise.


Script does look like it can run, ran it through ssh on the master no errors report from the run.

fpp@FPP:~/media/scripts $ ./Remote-StartRepeatingPlaylist.sh
fpp@FPP:~/media/scripts $


#!/bin/sh
###########################################################
# Remote-StartRepeatingPlaylist.sh - Start a repeating    #
#                                    playlist on a remote #
#                                    system               #
#                                                         #
# The Playlist will play repeatedly until stopped.        #
###########################################################

# Edit this line to hold the playlist name in quotes
PLAYLISTNAME="TuneTo"

# Fill in the IP of the FPP instance where you want to start the playlist
REMOTEIP="10.0.5.8"

/usr/bin/curl "http://${REMOTEIP}/fppxml.php?command=startPlaylist&playList=${PLAYLISTNAME}&repeat=checked"

Poporacer

Quote from: twooly on December 05, 2022, 07:56:58 AMI use a script on the master to start a playlist on a remote but doesn't seem to work now since upgrading the remote to 6.2
You should probably use FPP Commands and not scripts. The FPP Commands are more efficient and easier to use.
If to err is human, I am more human than most people.

twooly

Quote from: Poporacer on December 05, 2022, 09:42:26 AM
Quote from: twooly on December 05, 2022, 07:56:58 AMI use a script on the master to start a playlist on a remote but doesn't seem to work now since upgrading the remote to 6.2
You should probably use FPP Commands and not scripts. The FPP Commands are more efficient and easier to use.

I don't see a Start Remote Playlist/Repeat, only a local Start Playlist, and the master is using a FPP command (Run Script). 

dkulp

Because any command be a "Remote" version.  Click the multisync button and then type in the appropriate IP address.
Daniel Kulp - https://kulplights.com

twooly


I didn't know that looks pretty cool but doesn't seem to have helped.  Still does not start the Playlist.

You cannot view this attachment.

Support FPP

+- Recent Topics

F/S Arduino UNO R3 with extras by CeP
March 27, 2023, 09:47:21 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

FPP 7 Kubernetes Error by Jlwright325
March 22, 2023, 11:11:59 AM

FPP Install on Raspberry Pi Zero W by k6ccc
March 21, 2023, 05:53:50 PM

FPP install script on Ubuntu, no video by AlexanderMedia
March 21, 2023, 09:37:23 AM

F16v3 External Power Connector by darylc
March 16, 2023, 05:25:46 PM

FPP on PC HDMI Output by AlexanderMedia
March 15, 2023, 01:17:55 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod