Repository navigation
v0.8.2 — explicit profiles_path kwarg, lazy path resolution
Fixed
Voiceprint profile path was frozen at module-import time. PROFILES_PATH = Path.home() / ... was computed once at import meet.voiceprint time. When an embedder (such as vezir) overrode $HOME after import and called voiceprint functions in-process, reads and writes went to the original home directory instead of the overridden one. This caused the central voiceprint DB to go stale while a shadow copy at the real $HOME accumulated updates silently.
Changed
- All public voiceprint functions accept an optional
profiles_pathkeyword argument:load_profiles(),save_profiles(),identify_speakers(),update_profiles_from_confirmed_labels(),enroll_session(). WhenNone(the default), the path is resolved at call time via_default_profiles_path(). Existing callers are unaffected. - New
MEET_PROFILES_PATHenvironment variable overrides the default profile path. PROFILES_PATHmodule constant is now a lazy attribute via PEP 562__getattr__.from meet.voiceprint import PROFILES_PATHstill works.