You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I updated to v2.0.2 and went to listen to a song and noticed the lyrics were not the local ones, normally thats fine but I know these songs have lyrics embed into them. So I checked the request and get back "Internal Server Error" which lead me to check the logs where I find:
92240114 ERROR: Exception on /lyrics [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 919, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/flask_cors/extension.py", line 176, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/flask_openapi3/scaffold.py", line 117, in view_func
response = func(**func_kwargs)
^^^^^^^^^^^^^^^^^^^
File "/app/swingmusic/app/api/lyrics.py", line 36, in send_lyrics
lyrics, is_synced, copyright = get_lyrics_from_tags(trackhash) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/swingmusic/app/lib/lyrics.py", line 190, in get_lyrics_from_tags
lyrics = lyrics.replace("engdesc", "")
^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'replace'
The text was updated successfully, but these errors were encountered:
So I updated to v2.0.2 and went to listen to a song and noticed the lyrics were not the local ones, normally thats fine but I know these songs have lyrics embed into them. So I checked the request and get back "Internal Server Error" which lead me to check the logs where I find:
The text was updated successfully, but these errors were encountered: