mirror of
https://github.com/denizsafak/abogen.git
synced 2026-07-18 13:40:27 +02:00
22 lines
534 B
Python
22 lines
534 B
Python
# represents a queued item - book, chapters, voice, etc.
|
|
from dataclasses import dataclass
|
|
|
|
|
|
@dataclass
|
|
class QueuedItem:
|
|
file_name: str
|
|
lang_code: str
|
|
speed: float
|
|
voice: str
|
|
save_option: str
|
|
output_folder: str
|
|
subtitle_mode: str
|
|
output_format: str
|
|
total_char_count: int
|
|
replace_single_newlines: bool = True
|
|
use_silent_gaps: bool = False
|
|
subtitle_speed_method: str = "tts"
|
|
save_base_path: str = None
|
|
save_chapters_separately: bool = None
|
|
merge_chapters_at_end: bool = None
|