lyrics-transcriber 0.57.1__py3-none-any.whl → 0.59.0__py3-none-any.whl
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/cli/cli_main.py +2 -0
- lyrics_transcriber/core/config.py +1 -0
- lyrics_transcriber/core/controller.py +1 -0
- lyrics_transcriber/frontend/package.json +1 -1
- lyrics_transcriber/frontend/web_assets/assets/{index-BEnewYea.js → index-HT4AHF8U.js} +2 -2
- lyrics_transcriber/frontend/web_assets/assets/{index-BEnewYea.js.map → index-HT4AHF8U.js.map} +1 -1
- lyrics_transcriber/frontend/web_assets/index.html +1 -1
- lyrics_transcriber/lyrics/base_lyrics_provider.py +1 -0
- lyrics_transcriber/lyrics/genius.py +255 -4
- lyrics_transcriber/output/video.py +18 -4
- {lyrics_transcriber-0.57.1.dist-info → lyrics_transcriber-0.59.0.dist-info}/METADATA +1 -1
- {lyrics_transcriber-0.57.1.dist-info → lyrics_transcriber-0.59.0.dist-info}/RECORD +15 -15
- {lyrics_transcriber-0.57.1.dist-info → lyrics_transcriber-0.59.0.dist-info}/LICENSE +0 -0
- {lyrics_transcriber-0.57.1.dist-info → lyrics_transcriber-0.59.0.dist-info}/WHEEL +0 -0
- {lyrics_transcriber-0.57.1.dist-info → lyrics_transcriber-0.59.0.dist-info}/entry_points.txt +0 -0
@@ -114,6 +114,7 @@ def get_config_from_env() -> Dict[str, str]:
|
|
114
114
|
return {
|
115
115
|
"audioshake_api_token": os.getenv("AUDIOSHAKE_API_TOKEN"),
|
116
116
|
"genius_api_token": os.getenv("GENIUS_API_TOKEN"),
|
117
|
+
"rapidapi_key": os.getenv("RAPIDAPI_KEY"),
|
117
118
|
"spotify_cookie": os.getenv("SPOTIFY_COOKIE_SP_DC"),
|
118
119
|
"runpod_api_key": os.getenv("RUNPOD_API_KEY"),
|
119
120
|
"whisper_runpod_id": os.getenv("WHISPER_RUNPOD_ID"),
|
@@ -145,6 +146,7 @@ def create_configs(args: argparse.Namespace, env_config: Dict[str, str]) -> tupl
|
|
145
146
|
|
146
147
|
lyrics_config = LyricsConfig(
|
147
148
|
genius_api_token=args.genius_api_token or env_config.get("genius_api_token"),
|
149
|
+
rapidapi_key=env_config.get("rapidapi_key"),
|
148
150
|
spotify_cookie=args.spotify_cookie or env_config.get("spotify_cookie"),
|
149
151
|
lyrics_file=args.lyrics_file,
|
150
152
|
)
|
@@ -191,6 +191,7 @@ class LyricsTranscriber:
|
|
191
191
|
# Create provider config with all necessary parameters
|
192
192
|
provider_config = LyricsProviderConfig(
|
193
193
|
genius_api_token=self.lyrics_config.genius_api_token,
|
194
|
+
rapidapi_key=self.lyrics_config.rapidapi_key,
|
194
195
|
spotify_cookie=self.lyrics_config.spotify_cookie,
|
195
196
|
lyrics_file=self.lyrics_config.lyrics_file,
|
196
197
|
cache_dir=self.output_config.cache_dir,
|
@@ -38915,7 +38915,7 @@ const theme = createTheme({
|
|
38915
38915
|
spacing: (factor) => `${0.6 * factor}rem`
|
38916
38916
|
// Further reduced from 0.8 * factor
|
38917
38917
|
});
|
38918
|
-
const version = "0.
|
38918
|
+
const version = "0.59.0";
|
38919
38919
|
const packageJson = {
|
38920
38920
|
version
|
38921
38921
|
};
|
@@ -38926,4 +38926,4 @@ ReactDOM$1.createRoot(document.getElementById("root")).render(
|
|
38926
38926
|
/* @__PURE__ */ jsxRuntimeExports.jsx(App, {})
|
38927
38927
|
] })
|
38928
38928
|
);
|
38929
|
-
//# sourceMappingURL=index-
|
38929
|
+
//# sourceMappingURL=index-HT4AHF8U.js.map
|