Skip to content

Commit 44ce9fa

Browse files
committed
[detector] Add backwards compatibility module helper.
1 parent 2f602b5 commit 44ce9fa

2 files changed

Lines changed: 16 additions & 3 deletions

File tree

scenedetect/scene_detector.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#
2+
# PySceneDetect: Python-Based Video Scene Detector
3+
# -------------------------------------------------------------------
4+
# [ Site: https://scenedetect.com ]
5+
# [ Docs: https://scenedetect.com/docs/ ]
6+
# [ Github: https://github.com/Breakthrough/PySceneDetect/ ]
7+
#
8+
# Copyright (C) 2014-2025 Brandon Castellano <http://www.bcastell.com>.
9+
# PySceneDetect is licensed under the BSD 3-Clause License; see the
10+
# included LICENSE file, or visit one of the above pages for details.
11+
#
12+
"""For backwards compatibility only, will be removed in a future release."""
13+
14+
# TODO(v0.7): Include a warning if this module is imported.
15+
16+
from scenedetect.detector import * # noqa: F403

website/pages/changelog.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -658,12 +658,9 @@ Development
658658
### API Changes
659659

660660
#### Breaking
661-
662661
- Refactoring to make code less verbose:
663662
- `scenedetect.scene_detector` is now `scenedetect.detector`
664663
- `scenedetect.frame_timecode` is now `scenedetect.common`
665-
666-
667664
- `FrameTimecode` fields `frame_num` and `framerate` are now read-only properties, construct a new `FrameTimecode` to change them
668665
- Remove `FrameTimecode.previous_frame()` method
669666
- Remove `SceneDetector.is_processing_required()` method, already had no effect in v0.6 as part of deprecation

0 commit comments

Comments
 (0)