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: 15649
Latest: zj023
New This Month: 53
New This Week: 0
New Today: 0
Stats
Total Posts: 128335
Total Topics: 15780
Most Online Today: 58
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 0
Guests: 35
Total: 35

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

help getting started, next step? by Poporacer
January 28, 2023, 05:10:18 PM

Trying to configure LOR CF50D Floods on FPP Pi Player with PiCap by half.fast
January 28, 2023, 03:19:37 PM

wifi issues on BBB running fpp v6.3 by k6ccc
January 28, 2023, 02:04:23 PM

BBB / FPP sending data to ESP32 WLED by srwmemphis
January 28, 2023, 04:39:02 AM

raspberry PI 3 / PI 4 by mrfix1
January 27, 2023, 07:13:55 AM

Bug in newest release by tbone321
January 26, 2023, 06:14:26 PM

Cannot Connect to F48V4-NS Through Rasberry Pi by Poporacer
January 26, 2023, 03:13:43 PM

new piCaps in the works? by Bwinter
January 26, 2023, 11:25:32 AM

DIY voucher request by CaptainMurdoch
January 26, 2023, 11:14:38 AM

Which volume to grow during setup? by RickR
January 26, 2023, 09:55:17 AM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod