From 78526194034e582cbe64e366d213796d2c4341b3 Mon Sep 17 00:00:00 2001 From: Andrew Beveridge Date: Tue, 24 Dec 2024 02:17:33 -0500 Subject: [PATCH] Renamed local output file to Original --- karaoke_prep/karaoke_prep.py | 5 +---- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/karaoke_prep/karaoke_prep.py b/karaoke_prep/karaoke_prep.py index 5a0b10c..c0f0092 100644 --- a/karaoke_prep/karaoke_prep.py +++ b/karaoke_prep/karaoke_prep.py @@ -11,10 +11,7 @@ from PIL import Image, ImageDraw, ImageFont from lyrics_transcriber import LyricsTranscriber from karaoke_lyrics_processor import KaraokeLyricsProcessor -import json -import subprocess from pydub import AudioSegment -import numpy as np class KaraokePrep: @@ -1009,7 +1006,7 @@ def prep_single_track(self): self.logger.info(f"Preparing single track: {self.artist} - {self.title}") if self.input_media is not None and os.path.isfile(self.input_media): - self.extractor = "Local" + self.extractor = "Original" else: # Parses metadata in self.extracted_info to set vars: self.url, self.extractor, self.media_id, self.artist, self.title self.parse_single_track_metadata(input_artist=self.artist, input_title=self.title) diff --git a/pyproject.toml b/pyproject.toml index 1119a77..bbc5de0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "karaoke-prep" -version = "0.30.0" +version = "0.30.1" description = "Prepare for karaoke video creation, by downloading audio and lyrics for a specified song or playlist from youtube and separating audio stems. After syncing, finalise the video with a title screen!" authors = ["Andrew Beveridge "] license = "MIT"