ffprobe-python icon indicating copy to clipboard operation
ffprobe-python copied to clipboard

Implement len() for FFStream

Open DJStompZone opened this issue 9 months ago • 0 comments

Implemented len() for audio and video streams

  • Falls back to 0 for valid streams missing duration data

  • Raises expected TypeError if len() is called on a stream not labelled as audio/video

  • Slight tweak to the duration_seconds docstring to reflect actual behavior

DJStompZone avatar Feb 05 '25 17:02 DJStompZone