Skip to content

Commit

Permalink
Renamed local output file to Original
Browse files Browse the repository at this point in the history
  • Loading branch information
beveradb committed Dec 24, 2024
1 parent ddb70a9 commit 7852619
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions karaoke_prep/karaoke_prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 7852619

Please sign in to comment.