[DEPRECATED] Get the current time/position in number of frames. Use the `frame_num` property instead. :meta private:
(self)
| 315 | return self.frame_num |
| 316 | |
| 317 | def get_frames(self) -> int: |
| 318 | """[DEPRECATED] Get the current time/position in number of frames. |
| 319 | |
| 320 | Use the `frame_num` property instead. |
| 321 | |
| 322 | :meta private: |
| 323 | """ |
| 324 | warnings.warn( |
| 325 | "get_frames() is deprecated, use the `frame_num` property instead.", |
| 326 | DeprecationWarning, |
| 327 | stacklevel=2, |
| 328 | ) |
| 329 | return self.frame_num |
| 330 | |
| 331 | def get_framerate(self) -> float | None: |
| 332 | """[DEPRECATED] Get Framerate: Returns the framerate used by the FrameTimecode object. |