Implement len() for FFStream by DJStompZone · Pull Request #25 · gbstack/ffprobe-python
Navigation Menu
{{ message }}
gbstack / ffprobe-python Public
- Notifications You must be signed in to change notification settings
- Fork 61
Open
Implement len() for FFStream#25
DJStompZone wants to merge 1 commit intogbstack:masterfrom
Implement len() for FFStream#25
DJStompZone wants to merge 1 commit intogbstack:masterfrom
Conversation
Copy link
DJStompZone
commented
Feb 5, 2025
DJStompZone
commented
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
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment