Issue with external integration „allociné“

I had done the dev but PG refused it because (and I agree a bit) Gladys focuses only on what is home automation. So only the integration can offer this kind of widget :slight_smile:

In the base widget, it was indeed possible to do a lot of what you wanted (trailer, link, larger image, etc)

I’ll check maybe since then we can do more things. I’ll keep you posted @Prof_Techno

Hello @Prof_Techno,

Thank you so much for these very thoughtful feedbacks :folded_hands: I’ve looked at each idea in detail, here’s what’s possible — and what’s less so.

1. Easily change cinema :white_check_mark: Feasible, and it’s the best lead.
I’ll be able to make cinema a setting specific to each widget: you’ll then be able to add a widget per cinema, each with its own identifier, without ever touching the configuration of the integration. It’s at the top of my list.

2. Group multiple cinemas :warning: Partially.
Mixing in a single widget cinemas from different integrations (UGC + Pathé + CGR + AlloCiné) is not possible: Gladys isolates each integration from the others. But good news: the AlloCiné integration already covers all cinemas (chains and independents). By using it for all your cinemas, combined with point 1, you’ll have a widget per cinema very simply.

3. Full titles under posters :right_arrow: Gladys core side.
The grid cuts titles to two lines, and that’s the core component that decides, not the integration. The full title remains visible on click. I’ll bring the point up in the dedicated evolution request.

4. Trailers + link :warning: Mixed.
The trailer is feasible (AlloCiné exposes them), I’ll look into adding it. The IMDb link, however, is not accessible from AlloCiné data; on the other hand, the link to the AlloCiné sheet is already there, and a TMDb link could be considered.

5. Enlarge posters + detailed sheet :white_check_mark: Partially already available!
Click on a poster: it already opens a sheet with the synopsis, the date and the booking link :slightly_smiling_face: The enlargement of the thumbnails themselves, however, depends on the Gladys core.

In summary: the cinema selector per widget and the trailers are the next improvements I can directly bring to the integration; the size of the posters, full titles and the display of more than 12 movies are part of the Gladys core (this is the subject of this request: Widgets de dashboard — accéder aux éléments au-delà du plafond de 12 (card-list), your feedback is welcome there).

Thanks again, this kind of feedback really helps to prioritize :+1:

Gladys Cinema Integrations — Update 1.2.0 (AlloCiné, UGC, CGR, Pathé)

Thank you all for your feedback, here’s what has been done :backhand_index_pointing_down:

:new_button: Multiple cinemas, selectable per widget
You can now configure up to 5 cinemas in the integration (section « Additional Cinemas », each with its name and ID). Each Now Showing widget has a Cinema setting to choose which one to display — you can therefore display multiple cinemas on the same dashboard, without reconfiguring anything. The cinema name serves as the widget title.

:clapper_board: Trailers (AlloCiné)
When a movie has one, a Trailer link appears (by clicking on the movie). UGC already offered this; CGR and Pathé do not currently have an exploitable source.

:wrench: Fixes (AlloCiné)

  • An invalid cinema ID (e.g. copied to the wrong place, starting with a number) is now rejected during configuration with a clear message, instead of showing « connected » then a 404 error in the widget.
  • When a cinema has no showtimes on a given day, the widget displays a clean empty state instead of a technical error message.

:clipboard: Movies beyond 12
The grid is limited to 12 posters (limit of Gladys’ core). Movies beyond this are now listed below the grid (« +N movies not displayed: … ») to avoid losing track of them. A real pagination is requested from Gladys’ core (dedicated topic).

:gear: Technical
Integration SDK updated (0.16).

:backhand_index_pointing_right: To enjoy this: « Force Update » on the page of each integration.

Thanks to claude who works on my pro project in parallel ^^’

Thanks @spenceur, I’m going to test this new version :+1:

Thanks @spenceur for this update.

Small detail: in the integration settings, you can add cinemas by naming them. But then in the widget settings, the list of cinemas displays ‘cinema 1’, ‘cinema 2’, etc. It would be better if it showed the names we chose in the settings.

Thanks for the feedback, you’re absolutely right, it would be better :+1:

This is a limitation of Gladys itself, not the integration: today, the small dropdown list of a widget can only display fixed choices (here « Cinema 1 to 5 »). Gladys does not yet allow an integration to put user-defined names in its configuration.

In the meantime, the name you chose is still displayed: it appears as the widget title once added. The order follows your configuration (Cinema 1 = the first, etc.).

@StephaneB I’ll let you make a request to have this feature :slight_smile:

Thanks

test and validate

@moderators is there a way to mark this topic as resolved? :thinking: