lyrics-transcriber 0.60.0__py3-none-any.whl → 0.62.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.
@@ -233,6 +233,35 @@ class LyricsTranscriber:
233
233
 
234
234
  self.logger.info(f"LyricsTranscriber controller beginning processing for {self.artist} - {self.title}")
235
235
 
236
+ # Debug: Log package version and environment variables
237
+ try:
238
+ import lyrics_transcriber
239
+ package_version = getattr(lyrics_transcriber, '__version__', 'unknown')
240
+ self.logger.info(f"LyricsTranscriber package version: {package_version}")
241
+ except Exception as e:
242
+ self.logger.warning(f"Could not get package version: {e}")
243
+
244
+ # Debug: Log environment variables (first 3 characters only for security)
245
+ env_vars = {}
246
+ for key, value in os.environ.items():
247
+ if value:
248
+ env_vars[key] = value[:3] + "..." if len(value) > 3 else value
249
+ else:
250
+ env_vars[key] = "(empty)"
251
+
252
+ self.logger.info(f"Environment variables count: {len(env_vars)}")
253
+
254
+ # Log specific API-related variables
255
+ api_vars = {k: v for k, v in env_vars.items() if any(keyword in k.upper() for keyword in ['API', 'TOKEN', 'KEY', 'SECRET'])}
256
+ if api_vars:
257
+ self.logger.info(f"API-related environment variables: {api_vars}")
258
+ else:
259
+ self.logger.warning("No API-related environment variables found")
260
+
261
+ # Log all env vars if in debug mode
262
+ if self.logger.getEffectiveLevel() <= logging.DEBUG:
263
+ self.logger.debug(f"All environment variables: {env_vars}")
264
+
236
265
  # Check for existing corrections JSON
237
266
  corrections_json_path = os.path.join(self.output_config.output_dir, f"{self.output_prefix} (Lyrics Corrections).json")
238
267
 
@@ -2,7 +2,7 @@
2
2
  "name": "lyrics-transcriber-frontend",
3
3
  "private": true,
4
4
  "homepage": "https://nomadkaraoke.github.io/lyrics-transcriber-frontend",
5
- "version": "0.60.0",
5
+ "version": "0.62.0",
6
6
  "type": "module",
7
7
  "scripts": {
8
8
  "dev": "vite",
@@ -50,8 +50,8 @@ export interface AnchorSequence {
50
50
  [source: string]: string[]
51
51
  }
52
52
  confidence: number
53
- phrase_score: PhraseScore
54
- total_score: number
53
+ phrase_score?: PhraseScore
54
+ total_score?: number
55
55
  }
56
56
 
57
57
  export interface GapSequence {
@@ -69,8 +69,8 @@ const AnchorSequenceSchema = z.object({
69
69
  reference_positions: z.record(z.number()),
70
70
  reference_word_ids: z.record(z.array(z.string())),
71
71
  confidence: z.number(),
72
- phrase_score: PhraseScoreSchema,
73
- total_score: z.number()
72
+ phrase_score: PhraseScoreSchema.optional(),
73
+ total_score: z.number().optional()
74
74
  })
75
75
 
76
76
  const GapSequenceSchema = z.object({
@@ -32774,8 +32774,8 @@ const AnchorSequenceSchema = z.object({
32774
32774
  reference_positions: z.record(z.number()),
32775
32775
  reference_word_ids: z.record(z.array(z.string())),
32776
32776
  confidence: z.number(),
32777
- phrase_score: PhraseScoreSchema,
32778
- total_score: z.number()
32777
+ phrase_score: PhraseScoreSchema.optional(),
32778
+ total_score: z.number().optional()
32779
32779
  });
32780
32780
  const GapSequenceSchema = z.object({
32781
32781
  id: z.string(),
@@ -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.60.0";
38918
+ const version = "0.62.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-Bktwnsnn.js.map
38929
+ //# sourceMappingURL=index-CYF5xuZH.js.map