Skip to content

Commit

Permalink
feat!: no more smil
Browse files Browse the repository at this point in the history
  • Loading branch information
dhdaines committed Feb 8, 2023
1 parent 7be9d7e commit eb9d25b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions readalongs/align.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,12 @@
from readalongs.text.make_dict import make_dict
from readalongs.text.make_fsg import make_fsg
from readalongs.text.make_package import create_web_component_html
from readalongs.text.make_smil import make_smil
from readalongs.text.tokenize_xml import tokenize_xml
from readalongs.text.util import (
get_word_text,
load_xml,
parse_time,
save_minimal_index_html,
save_txt,
save_xml,
)

Expand Down Expand Up @@ -941,14 +939,6 @@ def save_readalong(
audiofile=audiofile, output_base=output_base, audiosegment=audiosegment
)

smil_path = output_base + ".smil"
smil = make_smil(
os.path.basename(ras_path),
os.path.basename(audio_path),
align_results["words"],
)
save_txt(smil_path, smil)

if "html" in output_formats:
html_out_path = output_base + ".html"
html_out = create_web_component_html(
Expand Down

0 comments on commit eb9d25b

Please sign in to comment.