Skip to content

v25.12.33#1509

Merged
ROBERT-MCDOWELL merged 2 commits intoDrewThomasson:v25from
ROBERT-MCDOWELL:v25
Jan 10, 2026
Merged

v25.12.33#1509
ROBERT-MCDOWELL merged 2 commits intoDrewThomasson:v25from
ROBERT-MCDOWELL:v25

Conversation

@ROBERT-MCDOWELL
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings January 10, 2026 03:19
@ROBERT-MCDOWELL ROBERT-MCDOWELL merged commit 624821c into DrewThomasson:v25 Jan 10, 2026
2 checks passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the get_audio_duration function by moving it from lib/core.py to lib/classes/tts_engines/common/audio.py for better code organization. It also updates the VTT file generation to use get_audio_duration instead of pydub's AudioSegment for calculating audio duration.

Changes:

  • Moved get_audio_duration function from lib/core.py to lib/classes/tts_engines/common/audio.py
  • Replaced pydub AudioSegment usage with get_audio_duration in VTT file generation
  • Removed pydub dependency from utils.py

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
lib/core.py Removed get_audio_duration function and added import from the new location
lib/classes/tts_engines/common/audio.py Added get_audio_duration function (but creates duplicate definition)
lib/classes/tts_engines/common/utils.py Removed pydub dependency and updated to use get_audio_duration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants