vista_client v0.1.1 VistaClient.Transformations.Filters.Films

Link to this section Summary

Functions

Looks a film up by its id. This can be nil in case the film isn't found. This can happen when a film has been removed from the list of scheduled films but and this list was relaoded, but ther are (old) sessions are still referencing this film.

Link to this section Functions

Link to this function

get_by_id(films, id)

get_by_id(
  [%VistaClient.Film{id: term(), name: term(), rating: term()}],
  binary()
) :: %VistaClient.Film{id: term(), name: term(), rating: term()} | nil

Looks a film up by its id. This can be nil in case the film isn't found. This can happen when a film has been removed from the list of scheduled films but and this list was relaoded, but ther are (old) sessions are still referencing this film.

Link to this function

of_day(films, sessions, day_or_days)