Skip to content

Add standalone HTTP API command to turn Playlist Repeat On/Off #2971

Description

@noelburke82-coder

Is your feature request related to a problem? Please describe.

I have been working with Extron Australia on integration between Falcon Player and Extron control systems.

Extron has already developed an FPP driver for Global Configurator Pro, and there is also interest in supporting Global Scripter/Python.

While testing the integration, I found that the current HTTP API does not provide a simple way to turn the Repeat state on or off by itself.

At the moment, Repeat is tied into playlist start commands such as:

GET /api/playlist//start/true

GET /api/playlist//start/false

These are Start commands, so they are not suitable for simply changing the Repeat state.

What I need is the equivalent of ticking or unticking the Repeat checkbox in the FPP web interface, without having to start playback, restart playback, or select a playlist first.

I tested the Repeat checkbox directly in the FPP web browser and confirmed that it can be changed independently of playback.

Describe the solution you'd like

I would like a standalone HTTP API command that simply turns Repeat on or off.

For example:

GET /api/playlist/repeat/true

GET /api/playlist/repeat/false

or similar.

The important behaviour is:

  • Repeat can be turned On or Off independently
  • no playlist needs to be selected first
  • it does not start playback
  • it does not restart a running playlist
  • it simply changes the current Repeat state

FPP already reports this state through:

GET /api/fppd/status

using:

repeat_mode: 0
repeat_mode: 1

So I would like a simple HTTP method to set that same state.

This would be extremely useful for my Extron integration, where Repeat needs to operate as its own independent control.

Describe alternatives you've considered

I have not found a workable HTTP alternative.

I tested this outside the Extron environment directly against FPP.

The existing start commands can set Repeat as part of starting a playlist, but they cannot simply change the Repeat state by itself.

The FPP web interface can change the Repeat checkbox independently, so exposing that same function through the HTTP API would solve the issue cleanly.

I also need reliable feedback of the current Repeat state so an external control system can keep its UI in sync. In my case, the Extron touch panel needs to know when Repeat has changed so the button state can update correctly.

/api/fppd/status already appears to expose this through repeat_mode, so ideally the new Repeat On/Off API command would update that value immediately and consistently whenever the state changes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions