lyrics-transcriber 0.34.3__tar.gz → 0.35.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/PKG-INFO +1 -1
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/core/controller.py +10 -1
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/correction/corrector.py +4 -3
- lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/dist/assets/index-CQCER5Fo.js +181 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/dist/index.html +1 -1
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/src/App.tsx +6 -2
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/src/api.ts +9 -0
- lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/src/components/AudioPlayer.tsx +155 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/src/components/CorrectionMetrics.tsx +1 -1
- lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/src/components/DetailsModal.tsx +129 -0
- lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/src/components/EditModal.tsx +407 -0
- lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/src/components/LyricsAnalyzer.tsx +484 -0
- lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/src/components/ModeSelector.tsx +39 -0
- lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/src/components/ReferenceView.tsx +58 -0
- lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/src/components/ReviewChangesModal.tsx +232 -0
- lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/src/components/SegmentDetailsModal.tsx +64 -0
- lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/src/components/TimelineEditor.tsx +315 -0
- lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/src/components/TranscriptionView.tsx +135 -0
- lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/src/components/WordEditControls.tsx +116 -0
- lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/src/components/shared/components/HighlightedText.tsx +243 -0
- lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/src/components/shared/components/SourceSelector.tsx +28 -0
- lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/src/components/shared/components/Word.tsx +52 -0
- {lyrics_transcriber-0.34.3/lyrics_transcriber/frontend/src/components → lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/src/components/shared}/constants.ts +1 -0
- lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/src/components/shared/hooks/useWordClick.ts +137 -0
- {lyrics_transcriber-0.34.3/lyrics_transcriber/frontend/src/components → lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/src/components/shared}/styles.ts +1 -1
- lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/src/components/shared/types.ts +99 -0
- lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/src/components/shared/utils/newlineCalculator.ts +37 -0
- lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/src/components/shared/utils/referenceLineCalculator.ts +76 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/src/types.ts +2 -43
- lyrics_transcriber-0.35.0/lyrics_transcriber/frontend/tsconfig.tsbuildinfo +1 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/lyrics/spotify.py +11 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/generator.py +28 -11
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/review/server.py +32 -6
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/pyproject.toml +1 -1
- lyrics_transcriber-0.34.3/lyrics_transcriber/frontend/dist/assets/index-DqFgiUni.js +0 -245
- lyrics_transcriber-0.34.3/lyrics_transcriber/frontend/src/components/DebugPanel.tsx +0 -311
- lyrics_transcriber-0.34.3/lyrics_transcriber/frontend/src/components/DetailsModal.tsx +0 -297
- lyrics_transcriber-0.34.3/lyrics_transcriber/frontend/src/components/LyricsAnalyzer.tsx +0 -450
- lyrics_transcriber-0.34.3/lyrics_transcriber/frontend/src/components/ReferenceView.tsx +0 -287
- lyrics_transcriber-0.34.3/lyrics_transcriber/frontend/src/components/TranscriptionView.tsx +0 -157
- lyrics_transcriber-0.34.3/lyrics_transcriber/frontend/tsconfig.tsbuildinfo +0 -1
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/LICENSE +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/README.md +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/__init__.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/cli/__init__.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/cli/cli_main.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/core/__init__.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/core/config.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/correction/anchor_sequence.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/correction/handlers/__init__.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/correction/handlers/base.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/correction/handlers/extend_anchor.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/correction/handlers/levenshtein.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/correction/handlers/no_space_punct_match.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/correction/handlers/relaxed_word_count_match.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/correction/handlers/repeat.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/correction/handlers/sound_alike.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/correction/handlers/syllables_match.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/correction/handlers/word_count_match.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/correction/handlers/word_operations.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/correction/phrase_analyzer.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/correction/text_utils.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/.gitignore +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/README.md +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/dist/vite.svg +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/eslint.config.js +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/index.html +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/package-lock.json +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/package.json +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/public/vite.svg +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/src/components/FileUpload.tsx +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/src/main.tsx +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/src/vite-env.d.ts +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/tsconfig.app.json +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/tsconfig.json +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/tsconfig.node.json +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/vite.config.d.ts +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/vite.config.js +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/frontend/vite.config.ts +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/lyrics/base_lyrics_provider.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/lyrics/genius.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/__init__.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/ass/__init__.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/ass/ass.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/ass/ass_specs.txt +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/ass/config.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/ass/constants.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/ass/event.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/ass/formatters.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/ass/lyrics_line.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/ass/lyrics_screen.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/ass/section_detector.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/ass/section_screen.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/ass/style.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdg.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdgmaker/__init__.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdgmaker/cdg.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdgmaker/composer.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdgmaker/config.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdgmaker/images/instrumental.png +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdgmaker/images/intro.png +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdgmaker/pack.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdgmaker/render.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdgmaker/transitions/centertexttoplogobottomtext.png +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdgmaker/transitions/circlein.png +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdgmaker/transitions/circleout.png +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdgmaker/transitions/fizzle.png +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdgmaker/transitions/largecentertexttoplogo.png +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdgmaker/transitions/rectangle.png +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdgmaker/transitions/spiral.png +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdgmaker/transitions/topleftmusicalnotes.png +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdgmaker/transitions/wipein.png +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdgmaker/transitions/wipeleft.png +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdgmaker/transitions/wipeout.png +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdgmaker/transitions/wiperight.png +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/cdgmaker/utils.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/fonts/AvenirNext-Bold.ttf +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/fonts/DMSans-VariableFont_opsz,wght.ttf +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/fonts/DMSerifDisplay-Regular.ttf +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/fonts/Oswald-SemiBold.ttf +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/fonts/Zurich_Cn_BT_Bold.ttf +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/fonts/arial.ttf +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/fonts/georgia.ttf +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/fonts/verdana.ttf +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/lyrics_file.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/plain_text.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/segment_resizer.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/subtitles.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/output/video.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/review/__init__.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/storage/__init__.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/storage/dropbox.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/transcribers/audioshake.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/transcribers/base_transcriber.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/transcribers/whisper.py +0 -0
- {lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/types.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: lyrics-transcriber
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.35.0
|
4
4
|
Summary: Automatically create synchronised lyrics files in ASS and MidiCo LRC formats with word-level timestamps, using Whisper and lyrics from Genius and Spotify
|
5
5
|
License: MIT
|
6
6
|
Author: Andrew Beveridge
|
{lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/core/controller.py
RENAMED
@@ -279,7 +279,11 @@ class LyricsTranscriber:
|
|
279
279
|
anchor_sequences=[],
|
280
280
|
gap_sequences=[],
|
281
281
|
resized_segments=[], # Will be populated later
|
282
|
-
metadata={
|
282
|
+
metadata={
|
283
|
+
"correction_type": "none",
|
284
|
+
"reason": "no_reference_lyrics",
|
285
|
+
"audio_filepath": self.audio_filepath, # Add audio filepath
|
286
|
+
},
|
283
287
|
)
|
284
288
|
return
|
285
289
|
|
@@ -288,6 +292,11 @@ class LyricsTranscriber:
|
|
288
292
|
transcription_results=self.results.transcription_results, lyrics_results=self.results.lyrics_results
|
289
293
|
)
|
290
294
|
|
295
|
+
# Add audio filepath to metadata
|
296
|
+
if not corrected_data.metadata:
|
297
|
+
corrected_data.metadata = {}
|
298
|
+
corrected_data.metadata["audio_filepath"] = self.audio_filepath
|
299
|
+
|
291
300
|
# Store corrected results
|
292
301
|
self.results.transcription_corrected = corrected_data
|
293
302
|
self.logger.info("Lyrics correction completed")
|
{lyrics_transcriber-0.34.3 → lyrics_transcriber-0.35.0}/lyrics_transcriber/correction/corrector.py
RENAMED
@@ -38,9 +38,9 @@ class LyricsCorrector:
|
|
38
38
|
NoSpacePunctuationMatchHandler(),
|
39
39
|
SyllablesMatchHandler(),
|
40
40
|
ExtendAnchorHandler(),
|
41
|
-
RepeatCorrectionHandler(),
|
42
|
-
SoundAlikeHandler(),
|
43
|
-
LevenshteinHandler(),
|
41
|
+
# RepeatCorrectionHandler(),
|
42
|
+
# SoundAlikeHandler(),
|
43
|
+
# LevenshteinHandler(),
|
44
44
|
]
|
45
45
|
|
46
46
|
@property
|
@@ -134,6 +134,7 @@ class LyricsCorrector:
|
|
134
134
|
def _process_gaps(self, gap_sequences: List[GapSequence]) -> List[WordCorrection]:
|
135
135
|
"""Process each gap using available handlers until all words are corrected or no handlers remain."""
|
136
136
|
all_corrections = []
|
137
|
+
# return all_corrections
|
137
138
|
|
138
139
|
for gap in gap_sequences:
|
139
140
|
self.logger.debug(f"Processing gap: {gap.text}")
|