API Reference
ensure_frame_range()
If frames is not iterable (i.e it’s a single number) we create an array with the single frame