Zum Hauptinhalt springen

AlloCiné Smart-Home-Integration, kostenlos und Open Source

AlloCiné-Integration für Gladys Assistant

Movies currently playing at any French cinema (chain or independent).

Info

Die Dokumentation dieser Integration wird von ihrem Autor geschrieben und ist bisher nur auf Englisch verfügbar.

Movies currently playing at any French cinema — chain or independent — as a dashboard widget, with a scene trigger for when a new film joins the program.

Important: unofficial integration​

This integration reads the same public showtimes data that allocine.fr already serves to any visitor of its site — the same content you would see by opening your cinema's page in a browser, nothing more. It is not developed, endorsed, or affiliated with AlloCiné. AlloCiné can change its site at any time and break this integration without notice.

No paid API, no credential extracted from an app, no bypass of anti-bot protection is used: only the public endpoints the site already uses for itself.

Configuration​

  1. Open the integration's Configuration tab.
  2. Run the Find my cinema action: leave the field empty to list the 10 cinemas nearest your Gladys house (limited to the house's own department — see "Known limitations" below), or type a city, postal code, or cinema name to search nationally. The result is shown under the button as Cinema name — City (12.3 km) (ID: P0052) (the distance only appears for a proximity search).
  3. Copy the ID of your cinema into the Cinema ID field, then save.

Add the integration's now_playing widget to a Gladys dashboard to see the films playing today at that cinema: poster, a booking link and today's showtimes (time and version, VF/VOST).

Scene trigger​

The integration also declares a new_film scene trigger: create a scene with this trigger to react when a film not seen before appears in the program (send a message, for example). The trigger exposes the film's title, release date, today's showtimes and booking link as scene variables. The integration checks for new films twice a day.

Known limitations (v1)​

  • One cinema at a time per installation of the integration.
  • Only today's films and showtimes (no view of tomorrow or later days).
  • No trailer (the endpoint used doesn't include one; could be added with an extra call in the future).
  • The proximity search is limited to the Gladys house's own department: a cinema just across the department border may not show up. Type its city directly in that case.

Troubleshooting​

The integration logs everything it does: check the integration logs from the Gladys interface (or docker logs on the host) with LOG_LEVEL=debug for full detail.

Konfigurationseinstellungen​

Diese Einstellungen fragt AlloCiné in seinem Konfigurationsbildschirm in Gladys ab.

EinstellungTypPflichtfeldBeschreibung
CinemasectionNeinThis integration reads the same public showtimes data that allocine.fr's own pages already use. It is not an official AlloCiné product, is not affiliated with AlloCiné, and can break without notice if the site changes. Unlike the UGC/CGR/Pathé integrations, this one works for ANY French cinema, chain or independent. Run the action below to find your cinema's ID, then paste it below.
Cinema IDstringJaThe ID shown by the "Find my cinema" action, e.g. P0905.

So installierst du AlloCiné in Gladys​

  1. Öffne in Gladys Integrationen: AlloCiné erscheint im Katalog neben den nativen Integrationen, mit einem Community-Badge.
  2. Klicke auf Installieren. Gladys lädt das Docker-Image (ghcr.io/vincentbesseau/gladys-allocine:1.0.1) herunter, startet es in einer vom Kern isolierten Sandbox und erzeugt die Oberfläche der Integration (Geräte, Erkennung und Konfiguration).
  3. Öffne den Bildschirm Konfiguration der Integration, fülle die Einstellungen aus und speichere.
  4. Du kannst sie auch direkt über die URL ihres Repositorys installieren: https://github.com/vincentBesseau/gladys-allocine.

AlloCiné benötigt Gladys >=5.1.1. Der Katalog in Gladys wird stündlich aktualisiert, eine neue Version ist also spätestens eine Stunde nach ihrer Veröffentlichung verfügbar.

Du nutzt Gladys noch nicht? Es ist kostenlos und Open Source: folge der Installationsanleitung, um loszulegen.

Über externe Integrationen​

AlloCiné ist eine externe Integration: eine Community-Integration, die als Docker-Container verpackt und auf GitHub veröffentlicht wird. Gladys installiert sie mit einem Klick und führt sie in einer vom Kern isolierten Sandbox aus. Sie wird von vincentBesseau veröffentlicht und gepflegt, nicht vom Gladys-Kernteam.

Abonniere den Newsletter von Gladys Assistant

Ein paar E-Mails im Monat zu neuen Releases und Neuigkeiten aus dem Projekt. Verschickt von Pierre-Gilles Leymarie, dem Gründer des Projekts. Jederzeit abbestellbar 🙂