ask Dave Grohl how to write a hit song and he might tell you: 4 chords and a dream.
inspired by music, art, and a bias for simplicity, TRMNL devices are controlled by a single interface: Playlists. connect a plugin, drag it around, and decide how often it "plays."
but a few months have passed and we've heard compelling reasons to offer more granularity.
use cases
only show the weather if it's raining
hide football scores if the season is over (or: my team is losing)
don't show recipes on the kitchen TRMNL unless i'm home
remind me of upcoming movies if it's the weekend
today, all of this is possible with a suite of utilities we refer to as Smart Playlists.
Tool - Plugin "skip render" variable
for private plugins, you may now control if a screen is even rendered at all.
complimenting the skip variable is a new toggle in your Playlists editor:
Set a "TTL" in the Smart Playlist dropdown
with this enabled, plugins will continue to sync data and look for differences. but for information that rarely changes, now you can give yourself some time back.
this is also helpful for webhook-driven plugins whose content updates on unpredictable schedules, versus fetch based plugins that refresh on a regular interval.
Tool - API "hide playlist item" endpoint
last month we added the ability to hide a Playlist Item by simply toggling the eyeball icon.
pause/resume any playlist item in 1 click
this is an efficient way to temporarily pause a plugin without changing its ordering or needing to find it again in the Plugins marketplace.
now, it's also available via the API.
GET /api/playlist_items
PATCH /api/playlist_items/{id}
the tools above can help you build programmatic playlists that don't require babysitting the TRMNL interface.
if you're looking for more no-code options, we hear you. as TRMNL community developers test out these features, we'll extract them into buttons and switches.