lyrics-transcriber 0.34.2__py3-none-any.whl → 0.34.3__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.
@@ -32,17 +32,17 @@ vite_process: Optional[subprocess.Popen] = None
32
32
  def start_vite_server():
33
33
  """Get path to the built frontend assets."""
34
34
  global vite_process # We'll keep this for backwards compatibility
35
-
35
+
36
36
  # Get the path to the built frontend assets
37
37
  current_dir = os.path.dirname(os.path.abspath(__file__))
38
38
  frontend_dir = os.path.abspath(os.path.join(current_dir, "../frontend/dist"))
39
-
39
+
40
40
  if not os.path.exists(frontend_dir):
41
41
  raise FileNotFoundError(f"Frontend assets not found at {frontend_dir}. Ensure the package was built correctly.")
42
-
42
+
43
43
  # Mount the static files
44
44
  app.mount("/", StaticFiles(directory=frontend_dir, html=True), name="frontend")
45
-
45
+
46
46
  logger.info(f"Mounted frontend assets from {frontend_dir}")
47
47
  return None # No process to return since we're serving static files
48
48
 
@@ -115,10 +115,10 @@ def start_review_server(correction_result: CorrectionResult) -> CorrectionResult
115
115
  server_thread.start()
116
116
  logger.info("Server thread started")
117
117
 
118
- # Open browser
118
+ # Open browser - Updated to use port 8000 instead of 5173
119
119
  base_api_url = "http://localhost:8000/api"
120
120
  encoded_api_url = urllib.parse.quote(base_api_url, safe="")
121
- webbrowser.open(f"http://localhost:5173?baseApiUrl={encoded_api_url}")
121
+ webbrowser.open(f"http://localhost:8000?baseApiUrl={encoded_api_url}")
122
122
  logger.info("Opened browser for review")
123
123
 
124
124
  # Wait for review to complete
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: lyrics-transcriber
3
- Version: 0.34.2
3
+ Version: 0.34.3
4
4
  Summary: Automatically create synchronised lyrics files in ASS and MidiCo LRC formats with word-level timestamps, using Whisper and lyrics from Genius and Spotify
5
5
  License: MIT
6
6
  Author: Andrew Beveridge
@@ -103,15 +103,15 @@ lyrics_transcriber/output/segment_resizer.py,sha256=b553FCdcjYAl9T1IA5K6ya0pcn1-
103
103
  lyrics_transcriber/output/subtitles.py,sha256=BQy7N_2zdBBWEiHL0NWFz3ZgAerWqQvTLALgxxK3Etk,16920
104
104
  lyrics_transcriber/output/video.py,sha256=kYGeEMYtoJvrGnMuyNpuSmu2DTskGDXBNlrv6ddvC8I,8485
105
105
  lyrics_transcriber/review/__init__.py,sha256=_3Eqw-uXZhOZwo6_sHZLhP9vxAVkLF9EBXduUvPdLjQ,57
106
- lyrics_transcriber/review/server.py,sha256=oGP5NvuvAyZyaYYKST4yLWmGMu_l-ry65DXjgTKAhDg,4588
106
+ lyrics_transcriber/review/server.py,sha256=gx_hVpqOX7aKM6xxlX2tAx67nn0AVq1aKXAtnXxhKYg,4615
107
107
  lyrics_transcriber/storage/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
108
108
  lyrics_transcriber/storage/dropbox.py,sha256=Dyam1ULTkoxD1X5trkZ5dGp5XhBGCn998moC8IS9-68,9804
109
109
  lyrics_transcriber/transcribers/audioshake.py,sha256=QzKGimVa6BovlvYFj35CbGpaGePI_DApAJGEBR_JQLc,8709
110
110
  lyrics_transcriber/transcribers/base_transcriber.py,sha256=yPzUWPTCGmzE97H5Rz6g61e-qEGL77ZzUoiBOmswhts,5973
111
111
  lyrics_transcriber/transcribers/whisper.py,sha256=P0kas2_oX16MO1-Qy7U5gl5KQN-RuUIJZz7LsEFLUiE,12906
112
112
  lyrics_transcriber/types.py,sha256=xGf3hkTRcGZTTAjMVIev2i2DOU6co0QGpW8NxvaBQAA,16759
113
- lyrics_transcriber-0.34.2.dist-info/LICENSE,sha256=BiPihPDxhxIPEx6yAxVfAljD5Bhm_XG2teCbPEj_m0Y,1069
114
- lyrics_transcriber-0.34.2.dist-info/METADATA,sha256=0NSOrwR1JM9-gSURz9VRbcEO5ktuCaMZylGQ8ojWrrw,5856
115
- lyrics_transcriber-0.34.2.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
116
- lyrics_transcriber-0.34.2.dist-info/entry_points.txt,sha256=ChnmR13YoalGnC3sHW0TppX5FbhEXntYIha24tVQJ1M,104
117
- lyrics_transcriber-0.34.2.dist-info/RECORD,,
113
+ lyrics_transcriber-0.34.3.dist-info/LICENSE,sha256=BiPihPDxhxIPEx6yAxVfAljD5Bhm_XG2teCbPEj_m0Y,1069
114
+ lyrics_transcriber-0.34.3.dist-info/METADATA,sha256=LNK7mTSViTx4eWI--2P1TTMdHlLrjJZhuuKapFLZ1Lo,5856
115
+ lyrics_transcriber-0.34.3.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
116
+ lyrics_transcriber-0.34.3.dist-info/entry_points.txt,sha256=ChnmR13YoalGnC3sHW0TppX5FbhEXntYIha24tVQJ1M,104
117
+ lyrics_transcriber-0.34.3.dist-info/RECORD,,