File tree Expand file tree Collapse file tree 6 files changed +6
-5
lines changed
Expand file tree Collapse file tree 6 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 11from textual .app import ComposeResult
22from textual .widgets import Label , ListItem , ListView
33from textual .containers import Horizontal , Vertical
4- from ttml import VocalElement , Lyrics
4+ from parser import VocalElement , Lyrics
55from enum import Enum
66from utils import convert_seconds_to_format as fsec
77
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ def __str__(self):
5858class Lyrics (list ):
5959 element_map = []
6060 init_list :list [Line ]
61+
6162 def __init__ (self , init_list :list [Line ], * args ):
6263 self .init_list = init_list
6364 for i ,line in enumerate (init_list ):
Original file line number Diff line number Diff line change 1- from ttml import *
1+ from parser import *
22import vlc
33import time
44from enum import Enum
Original file line number Diff line number Diff line change 11from components .filepicker import FileNamePicker , FileType
22from components .sidebar import Sidebar
3- from ttml import process_lyrics
3+ from parser import process_lyrics
44
55from textual import events
66from textual .app import ComposeResult
Original file line number Diff line number Diff line change 11from components .carousel import Carousel , ScrollDirection , VerticalScroller
22from components .playerbox import PlayerBox
33from components .sidebar import Sidebar
4- from ttml import Lyrics , process_lyrics
4+ from parser import Lyrics , process_lyrics
55from screens .edit import EditScreen
66
77
Original file line number Diff line number Diff line change 55from screens .sync import SyncScreen
66
77from player import MusicPlayer
8- from ttml import Lyrics
8+ from parser import Lyrics
99
1010
1111class TTMLApp (App ):
You can’t perform that action at this time.
0 commit comments