News:

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

+-+-

+-User

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

+-Site Stats

Members
Total Members: 17237
Latest: Routhhurwitz
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 137082
Total Topics: 17327
Most Online Today: 352
Most Online Ever: 8375
(February 21, 2026, 03:58:04 AM)
Users Online
Members: 1
Guests: 327
Total: 328

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 9.5 on Linux by coyoteray
Today at 01:06:36 PM

Moving Head Color by Poporacer
April 09, 2026, 04:12:40 PM

VSA to FPP conversion program by Scaregroundspdx
April 02, 2026, 01:42:54 PM

Limitations of Matrix Display by conceptpl
March 27, 2026, 03:22:53 AM

F16V4 IP Address by MikeKrebs
March 23, 2026, 08:21:32 PM

Help troubleshooting by aaronhess
March 19, 2026, 09:21:24 AM

Can't seem to get my network connections right. by Poporacer
March 16, 2026, 11:21:39 AM

F16v3 Expansion bad resistors by 2Couyon
March 13, 2026, 04:03:59 PM

HUB75 P4 1/10 Matrix by k6ccc
March 13, 2026, 08:45:44 AM

Retrofit and Simple Message Generation Software Recommendations by StickyWicket
March 11, 2026, 02:06:58 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod