Widget movie release

« Movie Releases » Widget for Gladys Assistant

In a nutshell

A new Gladys dashboard widget that displays upcoming movie releases in theaters, in the form of a poster grid — in the spirit of the weather widget already present in the app.

How it works

The widget is configured in two steps:

  1. Integrations → TMDB API: paste a TMDB API key (free, takes 2 minutes to create).

  2. On the dashboard, Edit → + → Movie Releases, and choose the period to display: 15 days, 1 month, or 2 months.

Each poster is clickable and opens a detail window: synopsis, full release date, a « Watch Trailer » button (YouTube, new tab), and a link to the TMDB page.

The widget follows the account language (French, English, German): titles, synopses, and trailers are displayed in the user’s language, with an automatic fallback to English when TMDB has no translation for a lesser-known film.

Data is cached for 30 minutes on the server side to avoid querying TMDB every time the dashboard is opened.

What the widget doesn’t do (yet)

The original idea also included showtimes at the nearest cinema via AlloCiné. This part is set aside for now: the unofficial AlloCiné API no longer responds (the domain doesn’t even resolve anymore). Without a reliable data source for cinema showtimes, this part remains to be found — one option would be to look at a specific chain (UGC, Pathé, CGR…) rather than an aggregator.

Any ideas?

Is it worth pushing further? A few ideas already on the table, to prioritize or discard:

  • a rating (:star: TMDB) directly on the poster
  • a genre filter (action, comedy…) in the widget config
  • find a reliable source for showtimes at a specific cinema
  • a scene trigger

Any other idea is welcome.

I love the idea! Thanks :+1:

Gladys and external integrations, it’s a party :tada:

So in this case it can’t be external because the widget doesn’t exist :slight_smile:

Wait but can you also develop your own Widgets too? :scream:

It will be a native external integration ahah ^^’

(message deleted by its author)

@pierre-gilles
integration: Dashboard: add a "Sorties Cinéma" widget backed by TMDB by vincentBesseau · Pull Request #3061 · GladysAssistant/Gladys · GitHub
documentation: Add TMDB integration documentation by vincentBesseau · Pull Request #409 · GladysAssistant/v4-website · GitHub

The widget is like the weather one, if a service is added (TVDB for example), it could use this widget.

widget configuration: