diff --git a/lyrics_transcriber/audioshake_transcriber.py b/lyrics_transcriber/audioshake_transcriber.py index 4da0f79..cd26edf 100644 --- a/lyrics_transcriber/audioshake_transcriber.py +++ b/lyrics_transcriber/audioshake_transcriber.py @@ -89,13 +89,10 @@ def _process_result(self, job_data): output_assets = job_data.get("outputAssets", []) self.logger.debug(f"Output assets: {output_assets}") - output_asset = next((asset for asset in output_assets if asset["name"] == "transcription.json"), None) - if not output_asset: - self.logger.warning("'transcription.json' not found, looking for 'alignment.json'") - output_asset = next((asset for asset in output_assets if asset["name"] == "alignment.json"), None) + output_asset = next((asset for asset in output_assets if asset["name"] == "alignment.json"), None) if not output_asset: - self.logger.error("Neither 'transcription.json' nor 'alignment.json' found in job results") + self.logger.error("'alignment.json' found in job results") self.logger.error(f"Available output assets: {[asset['name'] for asset in output_assets]}") raise Exception("Required output not found in job results") diff --git a/pyproject.toml b/pyproject.toml index 5e7a0fb..48057f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "lyrics-transcriber" -version = "0.19.0" +version = "0.19.2" description = "Automatically create synchronised lyrics files in ASS and MidiCo LRC formats with word-level timestamps, using Whisper and lyrics from Genius and Spotify" authors = ["Andrew Beveridge "] license = "MIT"