News:

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

+-+-

+-User

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

+-Site Stats

Members
Total Members: 17089
Latest: ornsclub
New This Month: 13
New This Week: 1
New Today: 1
Stats
Total Posts: 136403
Total Topics: 17174
Most Online Today: 339
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 3
Guests: 99
Total: 102

How can I play one random playlist, selected from a playlist of playlists?

Started by jedimasta, December 10, 2024, 04:52:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jedimasta

Hopefully that subject makes sense. I have a half dozen playlists or so that each have multiple sequences in them, no, nested. I run my show every 15 minutes and I'd like FPP to pick ONE playlist, at random, from that larger array to play. Then do it again every quarter hour.

I found this older thread https://falconchristmas.com/forum/index.php?topic=12126.msg113963#msg113963 and grabbed the script from @CaptainMurdoch 's reply, but nothing seems to happen. Maybe it's because FPP has gone through a lot more upgrades since then (for example: there is no 'wait for completion' checkbox). I don't know enough about shell scripts to determine what, if anything, is happening when I run the script, though I checked the logs and didn't see anything tracing back to the script. Is there an established way to do this?

breese

Content Setup / Scheduler
Add
Under Content Type choose Command
Under Playlist /Command choose Start Playlist at Random Item

jedimasta

Thanks, but this only sort of works. Each of the embedded playlists has multiple items (intro, main song, outro, script, etc). This command does a random item from the compiled list of everything - so sometimes it JUST does an intro or just does the script at the end.

jedimasta

I decided to try my hand at scripting and attached is what I came up with.

Support FPP

+- Recent Topics

FPP / BBB KULP OCTOSCROLLER by Keebler
Today at 06:48:41 AM

FPP After Hours Music Plugin has been updated by ornsclub
November 08, 2025, 08:51:06 PM

virtual matrix goes out after 3.20 mins by mrgimmeone
November 08, 2025, 05:43:30 PM

FPP Backup Setup by atdj1997
November 08, 2025, 06:35:04 AM

Remove 1 prop from all show group by starsman20
November 08, 2025, 05:57:45 AM

Portable Pixel Tester by Chicken
November 07, 2025, 10:07:36 PM

F16V3 Controller - IP Address 0.0.0.0 NO NETWORK CONNECTION by RTED
November 07, 2025, 07:53:40 AM

How to setup and configure controllers in xLights I have a few. by Poporacer
November 07, 2025, 06:59:09 AM

Random flickering of lights by Poporacer
November 06, 2025, 09:24:16 PM

WANTED: F16v5 / F16v4 / F16v3 — will pay / will ship to Matthews, NC by JonD
November 06, 2025, 12:21:35 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod